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') %}
Show file
Open project: phalcon/incubator
Public Methods
Method |
Description |
|
getTag ( ) : string |
|
|
parse ( Twig_Token $token ) : Twig_NodeInterface |
|
|
Method Details
public parse ( Twig_Token $token ) : Twig_NodeInterface |
$token |
Twig_Token |
|
return |
Twig_NodeInterface |
|