Tag::tagHtmlClose

public static tagHtmlClose (mixed $tagName, [mixed $useEol]) Builds a HTML tag closing tag echo Phalcon\Tag::tagHtmlClose("script", true)

Tag::tagHtml

public static tagHtml (mixed $tagName, [mixed $parameters], [mixed $selfClose], [mixed $onlyStart], [mixed $useEol]) Builds a HTML tag echo Phalcon\Tag::tagHtml(name, parameters, selfClose, onlyStart, eol);

Tag::submitButton

public static string submitButton (array $parameters) Builds a HTML input[type=”submit”] tag echo Phalcon\Tag::submitButton("Save") Volt syntax: {{ submit_button("Save") }}

Tag::stylesheetLink

public static string stylesheetLink ([array $parameters], [boolean $local]) Builds a LINK[rel=”stylesheet”] tag echo Phalcon\Tag::stylesheetLink("http://fonts.googleapis.com/css?family=Rosario", false); echo Phalcon\Tag::stylesheetLink("css/style.css"); Volt Syntax: {{ stylesheet_link("http://fonts.googleapis.com/css?family=Rosario", false) }} {{ stylesheet_link("css/style.css") }}

Tag::setTitleSeparator

public static setTitleSeparator (mixed $titleSeparator) Set the title separator of view content Phalcon\Tag::setTitleSeparator("-");

Tag::setTitle

public static setTitle (mixed $title) Set the title of view content Phalcon\Tag::setTitle("Welcome to my Page");

Tag::setDocType

public static setDocType (mixed $doctype) Set the document type of content

Tag::setDI

public static setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injector container.

Tag::setDefaults

public static setDefaults (array $values, [mixed $merge]) Assigns default values to generated tags by helpers // Assigning "peter" to "name" component Phalcon\Tag::setDefaults(array("name" => "peter")); // Later in the view echo Phalcon\Tag::textField("name"); //Will have the value "peter" by default

Tag::setDefault

public static setDefault (string $id, string $value) Assigns default values to generated tags by helpers // Assigning "peter" to "name" component Phalcon\Tag::setDefault("name", "peter"); // Later in the view echo Phalcon\Tag::textField("name"); //Will have the value "peter" by default