__construct() 공개 메소드

Constructor.
public __construct ( )
예제 #1
0
 public function __construct(array $values)
 {
     parent::__construct($values, 'POINTS', 0);
 }
예제 #2
0
파일: Body.php 프로젝트: TuxBoy/Demo-saf
 /**
  */
 public function __construct()
 {
     parent::__construct('tbody');
 }
예제 #3
0
 /**
  * 
  */
 public function __construct($domain, $section, $variable)
 {
     parent::__construct($domain, $section);
     $this->variable = $variable;
 }
예제 #4
0
 function __construct($view = false, $vars = false, $data = false)
 {
     parent::__construct($view, $vars);
     $this->data['options'] = $this->getOptions($data);
     $this->render();
 }
예제 #5
0
 function __construct($action, $text)
 {
     parent::__construct($action);
     $this->text = $text;
 }
예제 #6
0
파일: Head.php 프로젝트: TuxBoy/Demo-saf
 /**
  */
 public function __construct()
 {
     parent::__construct('thead');
 }
 public function __construct(array $values)
 {
     parent::__construct($values, 'MYCOLLECTIONS');
 }
예제 #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();
 }