Zend Framework
1.12
|
Static Public Member Functions | |
static | setAttribute (array &$data, $attribName, $value, $append=false) |
Sets a LDAP attribute. | |
static | getAttribute (array $data, $attribName, $index=null) |
Gets a LDAP attribute. | |
static | attributeHasValue (array &$data, $attribName, $value) |
Checks if the given value(s) exist in the attribute. | |
static | removeDuplicatesFromAttribute (array &$data, $attribName) |
Removes duplicate values from a LDAP attribute. | |
static | removeFromAttribute (array &$data, $attribName, $value) |
Remove given values from a LDAP attribute. | |
static | convertToLdapValue ($value) |
Converts a PHP data type into its LDAP representation. | |
static | convertFromLdapValue ($value) |
Converts an LDAP value into its PHP data type. | |
static | convertToLdapDateTimeValue ($value, $utc=false) |
Converts a timestamp into its LDAP date/time representation. | |
static | convertFromLdapDateTimeValue ($value) |
Converts LDAP date/time representation into a timestamp. | |
static | setPassword (array &$data, $password, $hashType=self::PASSWORD_HASH_MD5, $attribName=null) |
Sets a LDAP password. | |
static | createPassword ($password, $hashType=self::PASSWORD_HASH_MD5) |
Creates a LDAP password. | |
static | setDateTimeAttribute (array &$data, $attribName, $value, $utc=false, $append=false) |
Sets a LDAP date/time attribute. | |
static | getDateTimeAttribute (array $data, $attribName, $index=null) |
Gets a LDAP date/time attribute. | |
Public Attributes | |
const | PASSWORD_HASH_MD5 = 'md5' |
const | PASSWORD_HASH_SMD5 = 'smd5' |
const | PASSWORD_HASH_SHA = 'sha' |
const | PASSWORD_HASH_SSHA = 'ssha' |
const | PASSWORD_UNICODEPWD = 'unicodePwd' |
|
static |
Checks if the given value(s) exist in the attribute.
array | $data | |
string | $attribName | |
mixed | array | $value |
|
static |
Converts LDAP date/time representation into a timestamp.
string | $value |
|
static |
Converts an LDAP value into its PHP data type.
use Zend_Ldap_Converter instead
string | $value |
|
static |
Converts a timestamp into its LDAP date/time representation.
integer | $value | |
boolean | $utc |
|
static |
Converts a PHP data type into its LDAP representation.
use Zend_Ldap_Converter instead
mixed | $value |
|
static |
Creates a LDAP password.
string | $password | |
string | $hashType |
|
static |
Gets a LDAP attribute.
array | $data | |
string | $attribName | |
integer | $index |
|
static |
Gets a LDAP date/time attribute.
array | $data | |
string | $attribName | |
integer | $index |
|
static |
Removes duplicate values from a LDAP attribute.
array | $data | |
string | $attribName |
|
static |
Remove given values from a LDAP attribute.
array | $data | |
string | $attribName | |
mixed | array | $value |
|
static |
Sets a LDAP attribute.
array | $data | |
string | $attribName | |
scalar | array | Traversable | $value | |
boolean | $append |
|
static |
Sets a LDAP date/time attribute.
array | $data | |
string | $attribName | |
integer | array | Traversable | $value | |
boolean | $utc | |
boolean | $append |
|
static |
Sets a LDAP password.
array | $data | |
string | $password | |
string | $hashType | |
string | null | $attribName |
const PASSWORD_HASH_MD5 = 'md5' |
const PASSWORD_HASH_SHA = 'sha' |
const PASSWORD_HASH_SMD5 = 'smd5' |
const PASSWORD_HASH_SSHA = 'ssha' |
const PASSWORD_UNICODEPWD = 'unicodePwd' |