PHP Class Adldap\Models\Entry

Show file Open project: adldap2/adldap2 Class Usage Examples

Public Methods

Method Description
getAccountName ( ) : string Returns the model's samaccountname.
getAccountType ( ) : string Returns the model's samaccounttype.
getCreatedAt ( ) : string Returns the model's whenCreated time.
getCreatedAtDate ( ) : string Returns the created at time in a mysql formatted date.
getCreatedAtTimestamp ( ) : float Returns the created at time in a unix timestamp format.
getGuid ( ) : string Returns the model's GUID.
getInstanceType ( ) : integer Returns the model's instance type.
getMaxPasswordAge ( ) : string Returns the model's max password age.
getName ( ) : string Returns the model's name. An AD alias for the CN attribute.
getObjectCategory ( ) : null | string Returns the CN of the model's object category.
getObjectCategoryArray ( ) : array | false Returns the model's object category DN in an exploded array.
getObjectCategoryDn ( ) : null | string Returns the model's object category DN string.
getObjectClass ( ) : Container | Entry | boolean Returns the Container of the current Model.
getObjectGuid ( ) : string Returns the model's binary object GUID.
getObjectSid ( ) : string Returns the model's hex object SID.
getPrimaryGroupId ( ) : string Returns the model's primary group ID.
getSid ( ) : string Returns the model's SID.
getUpdatedAt ( ) : string Returns the model's whenChanged time.
getUpdatedAtDate ( ) : string Returns the updated at time in a mysql formatted date.
getUpdatedAtTimestamp ( ) : float Returns the updated at time in a unix timestamp format.
isWriteable ( ) : boolean Returns true / false if the current model is writeable by checking its instance type integer.
setAccountName ( string $accountName ) : Model Sets the model's samaccountname.
setName ( string $name ) : Model Sets the model's name.

Method Details

getAccountName() public method

https://msdn.microsoft.com/en-us/library/ms679635(v=vs.85).aspx
public getAccountName ( ) : string
return string

getAccountType() public method

https://msdn.microsoft.com/en-us/library/ms679637(v=vs.85).aspx
public getAccountType ( ) : string
return string

getCreatedAt() public method

https://msdn.microsoft.com/en-us/library/ms680924(v=vs.85).aspx
public getCreatedAt ( ) : string
return string

getCreatedAtDate() public method

Returns the created at time in a mysql formatted date.
public getCreatedAtDate ( ) : string
return string

getCreatedAtTimestamp() public method

Returns the created at time in a unix timestamp format.
public getCreatedAtTimestamp ( ) : float
return float

getGuid() public method

Returns the model's GUID.
public getGuid ( ) : string
return string

getInstanceType() public method

https://msdn.microsoft.com/en-us/library/ms676204(v=vs.85).aspx
public getInstanceType ( ) : integer
return integer

getMaxPasswordAge() public method

Returns the model's max password age.
public getMaxPasswordAge ( ) : string
return string

getName() public method

https://msdn.microsoft.com/en-us/library/ms675449(v=vs.85).aspx
public getName ( ) : string
return string

getObjectCategory() public method

Returns the CN of the model's object category.
public getObjectCategory ( ) : null | string
return null | string

getObjectCategoryArray() public method

Returns the model's object category DN in an exploded array.
public getObjectCategoryArray ( ) : array | false
return array | false

getObjectCategoryDn() public method

Returns the model's object category DN string.
public getObjectCategoryDn ( ) : null | string
return null | string

getObjectClass() public method

https://msdn.microsoft.com/en-us/library/ms679012(v=vs.85).aspx
public getObjectClass ( ) : Container | Entry | boolean
return Container | Entry | boolean

getObjectGuid() public method

https://msdn.microsoft.com/en-us/library/ms679021(v=vs.85).aspx
public getObjectGuid ( ) : string
return string

getObjectSid() public method

https://msdn.microsoft.com/en-us/library/ms679024(v=vs.85).aspx
public getObjectSid ( ) : string
return string

getPrimaryGroupId() public method

https://msdn.microsoft.com/en-us/library/ms679375(v=vs.85).aspx
public getPrimaryGroupId ( ) : string
return string

getSid() public method

Returns the model's SID.
public getSid ( ) : string
return string

getUpdatedAt() public method

https://msdn.microsoft.com/en-us/library/ms680921(v=vs.85).aspx
public getUpdatedAt ( ) : string
return string

getUpdatedAtDate() public method

Returns the updated at time in a mysql formatted date.
public getUpdatedAtDate ( ) : string
return string

getUpdatedAtTimestamp() public method

Returns the updated at time in a unix timestamp format.
public getUpdatedAtTimestamp ( ) : float
return float

isWriteable() public method

Returns true / false if the current model is writeable by checking its instance type integer.
public isWriteable ( ) : boolean
return boolean

setAccountName() public method

Sets the model's samaccountname.
public setAccountName ( string $accountName ) : Model
$accountName string
return Model

setName() public method

Sets the model's name.
public setName ( string $name ) : Model
$name string
return Model