|
eZ Publish
[trunk]
|
The class eZDiscountRule does. More...
Inheritance diagram for eZDiscountRule:
Collaboration diagram for eZDiscountRule:Public Member Functions | |
| eZDiscountRule ($row) | |
Static Public Member Functions | |
| static | create () |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetch ($id, $asObject=true) |
| static | fetchList ($asObject=true) |
| static | removeByID ($id) |
The class eZDiscountRule does.
Definition at line 17 of file ezdiscountrule.php.
| static eZDiscountRule::create | ( | ) | [static] |
Definition at line 58 of file ezdiscountrule.php.
| static eZDiscountRule::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 27 of file ezdiscountrule.php.
Referenced by fetch(), fetchList(), and removeByID().
| eZDiscountRule::eZDiscountRule | ( | $ | row | ) |
| static eZDiscountRule::fetch | ( | $ | id, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 43 of file ezdiscountrule.php.
| static eZDiscountRule::fetchList | ( | $ | asObject = true | ) | [static] |
Definition at line 51 of file ezdiscountrule.php.
| static eZDiscountRule::removeByID | ( | $ | id | ) | [static] |
Definition at line 70 of file ezdiscountrule.php.