|
eZ Publish
[trunk]
|
The class eZForgotPassword does. More...
Inheritance diagram for eZForgotPassword:
Collaboration diagram for eZForgotPassword:Public Member Functions | |
| eZForgotPassword ($row=array()) | |
Static Public Member Functions | |
| static | cleanup () |
| static | createNew ($userID, $hashKey, $time) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetchByKey ($hashKey) |
| static | removeByUserID ($userID) |
The class eZForgotPassword does.
Definition at line 18 of file ezforgotpassword.php.
| static eZForgotPassword::cleanup | ( | ) | [static] |
Removes all password reminders in the database.
Definition at line 75 of file ezforgotpassword.php.
| static eZForgotPassword::createNew | ( | $ | userID, |
| $ | hashKey, | ||
| $ | time | ||
| ) | [static] |
Definition at line 56 of file ezforgotpassword.php.
Referenced by eZUserOperationCollection\forgotpassword().
| static eZForgotPassword::definition | ( | ) | [static] |
Returns the definition for the object, the default implementation is to return an empty array.
It's upto each inheriting class to return a proper definition array.
The definition array is an associative array consists of these keys:
Example: public static function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 28 of file ezforgotpassword.php.
Referenced by fetchByKey(), and removeByUserID().
| eZForgotPassword::eZForgotPassword | ( | $ | row = array() | ) |
| static eZForgotPassword::fetchByKey | ( | $ | hashKey | ) | [static] |
Definition at line 63 of file ezforgotpassword.php.
| static eZForgotPassword::removeByUserID | ( | $ | userID | ) | [static] |
Remove forgot password entries belonging to user $userID
Definition at line 84 of file ezforgotpassword.php.
Referenced by eZUser\removeUser().