<?php

//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
Beispiel #2
0
 public function indexAction()
 {
     Phalcon\Tag::setDefault("color", "Blue");
 }