$__staticViewBlock
$__staticViewBlock : \View
The same ViewBlock instance this helper is attached to
SingletonViewBlockHtmlHelper
meta(string $type, string|array $url = null, array $options = array()) : string
View object changed to static View instance for used same BlockView instance
string | $type | The title of the external resource |
string|array | $url | The address of the external resource or string for content attribute |
array | $options | Other attributes for the generated tag. If the type attribute is html, rss, atom, or icon, the mime-type is returned. |
A completed <link />
element.
css(string|array $path, array $options = array()) : string
View object changed to static View instance for used same BlockView instance
string|array | $path | The name of a CSS style sheet or an array containing names of
CSS stylesheets. If |
array | $options | Array of options and HTML arguments. |
CSS or tag, depending on the type of link.
script(string|array $url, array|boolean $options = array()) : mixed
View object changed to static View instance for used same BlockView instance
string|array | $url | String or array of javascript files to include |
array|boolean | $options | Array of options, and html attributes see above. If boolean sets $options['inline'] = value |
String of <script />
tags or null if $inline is false or if $once is true and the file has been
included before.
scriptBlock(string $script, array $options = array()) : mixed
View object changed to static View instance for used same BlockView instance
string | $script | The script to wrap |
array | $options | The options to use. Options not listed above will be treated as HTML attributes. |
string or null depending on the value of $options['block']