Class yii\twig\html\HtmlHelperExtension
Inheritance | yii\twig\html\HtmlHelperExtension » Twig_Extension |
---|---|
Implements | Twig_Extension_GlobalsInterface |
Source Code | https://github.com/yiisoft/yii2-twig/blob/master/src/html/HtmlHelperExtension.php |
Public Methods
Method | Description | Defined By |
---|---|---|
getGlobals() | yii\twig\html\HtmlHelperExtension | |
getTokenParsers() | yii\twig\html\HtmlHelperExtension |
Method Details
public void getGlobals ( ) |
public function getGlobals()
{
return [
'html' => new ViewRendererStaticClassProxy('\yii\helpers\Html'),
];
}
public void getTokenParsers ( ) |
public function getTokenParsers()
{
return [
new CssClass_TokenParser(),
new CssStyle_TokenParser()
];
}