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
Please login to continue.