|
eZ Publish
[trunk]
|
The class eZGeneralDigestUserSettings does. More...
Inheritance diagram for eZGeneralDigestUserSettings:
Collaboration diagram for eZGeneralDigestUserSettings:Public Member Functions | |
| eZGeneralDigestUserSettings ($row) | |
Static Public Member Functions | |
| static | cleanup () |
| static | create ($address, $receiveDigest=0, $digestType=self::TYPE_NONE, $day= '', $time= '') |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetchForUser ($address, $asObject=true) |
| static | removeByAddress ($address) |
Public Attributes | |
| const | TYPE_DAILY = 3 |
| const | TYPE_MONTHLY = 2 |
| const | TYPE_NONE = 0 |
| const | TYPE_WEEKLY = 1 |
The class eZGeneralDigestUserSettings does.
Definition at line 17 of file ezgeneraldigestusersettings.php.
| static eZGeneralDigestUserSettings::cleanup | ( | ) | [static] |
Removes all general digest settings for all users.
Definition at line 93 of file ezgeneraldigestusersettings.php.
| static eZGeneralDigestUserSettings::create | ( | $ | address, |
| $ | receiveDigest = 0, |
||
| $ | digestType = self::TYPE_NONE, |
||
| $ | day = '', |
||
| $ | time = '' |
||
| ) | [static] |
Definition at line 66 of file ezgeneraldigestusersettings.php.
Referenced by eZGeneralDigestHandler\settings().
| static eZGeneralDigestUserSettings::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 32 of file ezgeneraldigestusersettings.php.
Referenced by fetchForUser().
| static eZGeneralDigestUserSettings::fetchForUser | ( | $ | address, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 75 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent(), eZGeneralDigestHandler\settings(), and eZGeneralDigestHandler\storeSettings().
| static eZGeneralDigestUserSettings::removeByAddress | ( | $ | address | ) | [static] |
Definition at line 83 of file ezgeneraldigestusersettings.php.
Referenced by eZUser\removeUser().
| const eZGeneralDigestUserSettings::TYPE_DAILY = 3 |
Definition at line 22 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent().
Definition at line 21 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent().
| const eZGeneralDigestUserSettings::TYPE_NONE = 0 |
Definition at line 19 of file ezgeneraldigestusersettings.php.
| const eZGeneralDigestUserSettings::TYPE_WEEKLY = 1 |
Definition at line 20 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent().