/** * __construct * * @access public * @param array * @return void */ public function __construct($value = '') { parent::__construct(null, array()); $this->template_path(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR); $this->template_file('text.tmpl.php'); $this->value($value); }
/** * __construct * * @access public * @param array * @return void */ public function __construct($name = '', array $data = array()) { parent::__construct(null, $data); $this->template_path(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR); $this->template_file('element.tmpl.php'); $this->_attributes = $this->defaultAttributes(); $this->name($name); }
public function __construct($filename) { parent::__construct(); $this->template_path(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'templates'); $this->template_file($filename); }
/** * __construct * * Creates an instance of the Template view. * * @access pubic * @param void * @return void */ public function __construct(array $data = array()) { parent::__construct(ROOT_PATH . 'templates' . DIRECTORY_SEPARATOR . 'template.tmpl.php', $data); $this->initNavigation(); }
/** * __construct * * Creates an instance of the Template view. * * @access pubic * @param void * @return void */ public function __construct(array $data = array()) { parent::__construct(ROOT_PATH . 'templates' . DIRECTORY_SEPARATOR . 'pages/getting-started.tmpl.php', $data); }