User::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( )
    public function __construct()
    {
        $this->users = getJSON('users.php');
        $this->actives = getJSON('active.php');
    }

Usage Example

예제 #1
0
 /**
  * Tests User->__construct()
  */
 public function test__construct()
 {
     $this->User->__construct();
     if (get_class($this->User) != 'User') {
         $this->fail();
     }
 }
All Usage Examples Of User::__construct