|
eZ Publish
[4.2]
|
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 () |
| 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 40 of file ezgeneraldigestusersettings.php.
| static eZGeneralDigestUserSettings::cleanup | ( | ) | [static] |
Removes all general digest settings for all users.
Definition at line 116 of file ezgeneraldigestusersettings.php.
| static eZGeneralDigestUserSettings::create | ( | $ | address, |
| $ | receiveDigest = 0, |
||
| $ | digestType = self::TYPE_NONE, |
||
| $ | day = '', |
||
| $ | time = '' |
||
| ) | [static] |
Definition at line 89 of file ezgeneraldigestusersettings.php.
Referenced by eZGeneralDigestHandler\settings().
| static eZGeneralDigestUserSettings::definition | ( | ) | [static] |
The definition array is an associative array consists of these keys:
asc or desc.Example:
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 55 of file ezgeneraldigestusersettings.php.
Referenced by fetchForUser().
| eZGeneralDigestUserSettings::eZGeneralDigestUserSettings | ( | $ | row | ) |
| static eZGeneralDigestUserSettings::fetchForUser | ( | $ | address, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 98 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent(), eZGeneralDigestHandler\settings(), and eZGeneralDigestHandler\storeSettings().
| static eZGeneralDigestUserSettings::removeByAddress | ( | $ | address | ) | [static] |
Definition at line 106 of file ezgeneraldigestusersettings.php.
Referenced by eZUser\removeUser().
| const eZGeneralDigestUserSettings::TYPE_DAILY = 3 |
Definition at line 45 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent().
Definition at line 44 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent().
| const eZGeneralDigestUserSettings::TYPE_NONE = 0 |
Definition at line 42 of file ezgeneraldigestusersettings.php.
| const eZGeneralDigestUserSettings::TYPE_WEEKLY = 1 |
Definition at line 43 of file ezgeneraldigestusersettings.php.
Referenced by eZSubTreeHandler\handlePublishEvent().