__construct() public method

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
ファイル: Variable.php プロジェクト: a3gz/chubby-app-params
 /**
  * 
  */
 public function __construct($domain, $section, $variable)
 {
     parent::__construct($domain, $section);
     $this->variable = $variable;
 }
コード例 #4
0
ファイル: fb_sections.php プロジェクト: kisscms/facebook
 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');
 }
コード例 #7
0
 public function __construct(array $values)
 {
     parent::__construct($values, 'MYCOLLECTIONS');
 }
コード例 #8
0
ファイル: section.php プロジェクト: makesites/kisscms
 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();
 }