PHP Class Phalcon\Mvc\View\Engine\Twig\TokenParsers\Assets

Example of usage: {% assets addCss('//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css', false) %} {% assets addCss('css/style.css', true) %} {% assets addJs('js/jquery.js') %} {% assets addJs('js/bootstrap.min.js') %}
Inheritance: extends Twig_TokenParser
Exibir arquivo Open project: phalcon/incubator

Public Methods

Method Description
getTag ( ) : string
parse ( Twig_Token $token ) : Twig_NodeInterface

Method Details

getTag() public method

public getTag ( ) : string
return string

parse() public method

public parse ( Twig_Token $token ) : Twig_NodeInterface
$token Twig_Token
return Twig_NodeInterface