Ingo_Storage::addRule PHP Method

addRule() public method

Adds a rule to the filters list.
public addRule ( Ingo_Rule $rule )
$rule Ingo_Rule A rule object.
    public function addRule(Ingo_Rule $rule)
    {
        $this->_load();
        $this->_rules[] = $rule;
        $this->_store(self::STORE_ADD, $rule);
    }