Beispiel #1
0
 public function __construct()
 {
     parent::__construct();
     $this->_curruid = (int) $this->auth->user('uid');
     $this->_attach_dir = config_item('site_attach_dir') . DIRECTORY_SEPARATOR;
     if (@is_dir($this->_attach_dir) === FALSE) {
         create_dir($this->_attach_dir);
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->varB = 'B';
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct();
 }
Beispiel #4
0
 public function __construct($v)
 {
     parent::__construct($v);
     $this->x = $v * 2;
 }
Beispiel #5
0
 public function __construct($name, $login)
 {
     parent::__construct($name);
     // вызов конструктора базового класса
     $this->_login = $login;
 }
 public function __construct()
 {
     parent::__construct();
     // OK
     Z::f();
 }
Beispiel #7
0
 public function __construct()
 {
     echo __METHOD__ . "\n";
     parent::__construct();
 }
Beispiel #8
0
 public function __construct()
 {
     parent::__construct();
     unset($this->property2, $this->property4);
 }
Beispiel #9
0
 function __construct($a)
 {
     parent::__construct($a);
     $this->y = $a + 1;
 }
Beispiel #10
0
 function __construct($x, $y)
 {
     parent::__construct($x);
     $this->j = $y;
 }
Beispiel #11
0
 function __construct($i, $j)
 {
     parent::__construct($i);
     $this->j = $j;
 }
Beispiel #12
0
 function __construct()
 {
     parent::__construct();
     parent::__constrUct();
 }
Beispiel #13
0
 public function __construct($Name)
 {
     parent::__construct('B constructor: ' . $Name);
 }
Beispiel #14
0
 public function __construct()
 {
     parent::__construct();
     $this->_curruid = (int) $this->auth->user('uid');
 }
Beispiel #15
0
 public function __construct()
 {
     echo "\nConstruct B...\n";
     echo $this->name;
     parent::__construct();
 }