__construct() 공개 메소드

public __construct ( $id = null, $name = null, $description = null )
예제 #1
0
 /**
  * 	Construct Class
  *
  * 	@param array $data An array with the data of a MovieRole
  */
 public function __construct($data, $idPerson)
 {
     $this->_data = $data;
     parent::__construct($data, $idPerson);
 }
예제 #2
0
파일: CiRole.php 프로젝트: johnlion/hlsc
 public function __construct()
 {
     parent::__construct();
 }
예제 #3
0
 public function __construct($roleName, $tenantId = null, $externallyDefined = 'false')
 {
     parent::__construct($roleName, $tenantId, $externallyDefined);
     $this->_attributes = array('xsi:type' => 'roleImpl');
 }
예제 #4
0
 /**
  * @param string $email
  * @param string $password
  */
 public function __construct($email, $password)
 {
     parent::__construct();
     $this->setEmail($email)->setPassword($password);
 }