NAMESPACE: Bootstrap/Components
Components/ComponentHelpers.php
$model | namespace | The model instance. Models are responsible for querying and storing data. They also provide variable, session and validation functionality as well as other useful utility methods. |
$actionid | var | Users own action (playaction) |
$action_id | Action id for the config object (action itself) |
$obj |
$name |
$params |
$default |
Returns the image file name. This method is used in places in which we cannot write the image name. Example usecase is setting the background image of a component
$params | param array $params isvar, width, height, crop, defaultimage, debug |
$image |
$params |
$content |
$styles |
$tag |
$element |
$input |
$args |
$node |
$node |
extractTags() Extract specific HTML tags and their attributes from a string.You can either specify one tag, an array of tag names, or a regular expression that matches the tag name(s). If multiple tags are specified you must also set the $selfclosing parameter and it must be the same for all specified tags (so you can’t extract both normal and self-closing tags in one go).The function returns a numerically indexed array of extracted tags. Each entry is an associative array with these keys : tag_name – the name of the extracted tag, e.g. “a” or “img”. offset – the numberic offset of the first character of the tag within the HTML source. contents – the inner HTML of the tag. This is always empty for self-closing tags. attributes – a name -> value array of the tag’s attributes, or an empty array if the tag has none. full_tag – the entire matched tag, e.g. ‘example.com‘. This key will only be present if you set $return_the_entire_tag to true.
$html |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 param string $html The HTML code to search for tags. |
$tag | param string|array $tag The tag(s) to extract. |
$selfclosing | param bool $selfclosing Whether the tag is self-closing or not. Setting it to null will force the script to try and make an educated guess. |
$return_the_entire_tag | param bool $return_the_entire_tag Return the entire matched tag in 'full_tag' key of the results array. |
$charset |
Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 301 Deprecated: Function create_function() is deprecated in /var/www/docs.appzio.com/public/wp-content/plugins/wp-gfm/markdown.php on line 302 param string $charset The character set of the HTML code. Defaults to ISO-8859-1. |
$html |
$tag |
$selfclosing |
$return_the_entire_tag |
$charset |
$content |
$entry |