public function applyRulesets()
    {
        // List of fields which actually need validation at this time.
        $fields = $this->getActualFields();

        foreach ($fields as $field) {
            $rulesets = $this->getRules($field);
            $this->active_field = $field;
            $this->prefix = '';
            $this->caption = '';
            foreach ($rulesets as $rules) {
                $this->applyRules($field, $rules);
            }
        }

        return $this;
    }
public function applyRulesets()
    {
        // List of fields which actually need validation at this time.
        $fields = $this->getActualFields();

        foreach ($fields as $field) {
            $rulesets = $this->getRules($field);
            $this->active_field = $field;
            $this->prefix = '';
            $this->caption = '';
            foreach ($rulesets as $rules) {
                $this->applyRules($field, $rules);
            }
        }

        return $this;
    }
public function applyRulesets ( ) { // List of fields which actually need validation at this time. $ fields = $ this -> getActualFields ( ) ; foreach ( $ fields as $ field ) { $ rulesets = $ this -> getRules ( $ field ) ; $ this -> active_field = $ field ; $ this -> prefix = '' ; $ this -> caption = '' ; foreach ( $ rulesets as $ rules ) { $ this -> applyRules ( $ field , $ rules ) ; } } return $ this ; }
Go through the list of defined rules and call the corresponding
filters and convertors.
Go through the list of defined rules and call the corresponding filters and convertors .