|
eZ Publish
[4.2]
|
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 () |
| static | fetch ($id, $asObject=true) |
| static | fetchList ($asObject=true) |
| static | removeByID ($id) |
The class eZDiscountRule does.
Definition at line 40 of file ezdiscountrule.php.
| static eZDiscountRule::create | ( | ) | [static] |
Definition at line 81 of file ezdiscountrule.php.
| static eZDiscountRule::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 50 of file ezdiscountrule.php.
Referenced by fetch(), fetchList(), and removeByID().
| eZDiscountRule::eZDiscountRule | ( | $ | row | ) |
| static eZDiscountRule::fetch | ( | $ | id, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 66 of file ezdiscountrule.php.
| static eZDiscountRule::fetchList | ( | $ | asObject = true | ) | [static] |
Definition at line 74 of file ezdiscountrule.php.
| static eZDiscountRule::removeByID | ( | $ | id | ) | [static] |
Definition at line 93 of file ezdiscountrule.php.