public function __construct(array $values) { parent::__construct($values, 'POINTS', 0); }
/** */ public function __construct() { parent::__construct('tbody'); }
/** * */ public function __construct($domain, $section, $variable) { parent::__construct($domain, $section); $this->variable = $variable; }
function __construct($view = false, $vars = false, $data = false) { parent::__construct($view, $vars); $this->data['options'] = $this->getOptions($data); $this->render(); }
function __construct($action, $text) { parent::__construct($action); $this->text = $text; }
/** */ public function __construct() { parent::__construct('thead'); }
public function __construct(array $values) { parent::__construct($values, 'MYCOLLECTIONS'); }
function __construct($view = false, $vars = false, $data = false) { parent::__construct($view, $vars); // find the requested controller from the path $class = findController($this->data["vars"]["path"]); // get the data for the specific URI $this->data['items'] = $class::getBody($this->data["vars"]["path"]); // currently override the view set by the parent section class //$this->view = ( $view ) ? getPath('views/'.$class.'/body-'.$view.'.php') : getPath('views/'.$class.'/body.php'); $this->view = getPath('views/' . strtolower($class) . '/body.php'); // render the section $this->render(); }