Tag::javascriptInclude

public static string javascriptInclude ([array $parameters], [boolean $local])

Builds a SCRIPT[type=”javascript”] tag

echo Phalcon\Tag::javascriptInclude("http://ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js", false);
 echo Phalcon\Tag::javascriptInclude("javascript/jquery.js");

Volt syntax:

{{ javascript_include("http://ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js", false) }}
 {{ javascript_include("javascript/jquery.js") }}
doc_Phalcon
2016-10-16 09:56:53
Comments
Leave a Comment

Please login to continue.