__construct() public méthode

Constructor.
public __construct ( )
 public function __construct(array $values)
 {
     parent::__construct($values, 'POINTS', 0);
 }
Exemple #2
0
 /**
  */
 public function __construct()
 {
     parent::__construct('tbody');
 }
Exemple #3
0
 /**
  * 
  */
 public function __construct($domain, $section, $variable)
 {
     parent::__construct($domain, $section);
     $this->variable = $variable;
 }
Exemple #4
0
 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;
 }
Exemple #6
0
 /**
  */
 public function __construct()
 {
     parent::__construct('thead');
 }
 public function __construct(array $values)
 {
     parent::__construct($values, 'MYCOLLECTIONS');
 }
Exemple #8
0
 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();
 }