|
eZ Publish
[4.2]
|
The class eZDiscountSubRule does. More...
Inheritance diagram for eZDiscountSubRule:
Collaboration diagram for eZDiscountSubRule:Public Member Functions | |
| eZDiscountSubRule ($row) | |
| remove ($id=null, $dumb=null) | |
| setAttribute ($attr, $val) | |
Static Public Member Functions | |
| static | create ($discountRuleID) |
| static | definition () |
| static | fetch ($id, $asObject=true) |
| static | fetchByRuleID ($discountRuleID, $asObject=true) |
| static | fetchList ($asObject=true) |
The class eZDiscountSubRule does.
Definition at line 40 of file ezdiscountsubrule.php.
| static eZDiscountSubRule::create | ( | $ | discountRuleID | ) | [static] |
Definition at line 129 of file ezdiscountsubrule.php.
| static eZDiscountSubRule::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 ezdiscountsubrule.php.
Referenced by fetch(), fetchByRuleID(), fetchList(), and remove().
| eZDiscountSubRule::eZDiscountSubRule | ( | $ | row | ) |
| static eZDiscountSubRule::fetch | ( | $ | id, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 104 of file ezdiscountsubrule.php.
| static eZDiscountSubRule::fetchByRuleID | ( | $ | discountRuleID, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 119 of file ezdiscountsubrule.php.
| static eZDiscountSubRule::fetchList | ( | $ | asObject = true | ) | [static] |
Definition at line 112 of file ezdiscountsubrule.php.
| eZDiscountSubRule::remove | ( | $ | id = null, |
| $ | dumb = null |
||
| ) |
Reimplemented from eZPersistentObject.
Definition at line 144 of file ezdiscountsubrule.php.
| eZDiscountSubRule::setAttribute | ( | $ | attr, |
| $ | val | ||
| ) |
Sets the attribute $attr to the value $val. The attribute must be present in the objects definition fields or set functions.
Reimplemented from eZPersistentObject.
Definition at line 81 of file ezdiscountsubrule.php.