findByDn() 공개 메소드

Finds a record by its distinguished name.
public findByDn ( string | array $dn, array | string $columns = [] ) : boolean | Model
$dn string | array
$columns array | string
리턴 boolean | Adldap\Models\Model
예제 #1
0
 /**
  * Returns the Container of the current Model.
  *
  * https://msdn.microsoft.com/en-us/library/ms679012(v=vs.85).aspx
  *
  * @return Container|Entry|bool
  */
 public function getObjectClass()
 {
     return $this->query->findByDn($this->getObjectCategoryDn());
 }