FOF30\Model\Model::clearState PHP Méthode

clearState() public méthode

Clears the model state, but doesn't touch the internal lists of records, record tables or record id variables. To clear these values, please use reset().
public clearState ( ) : static
Résultat static
    public function clearState()
    {
        $this->state = new \stdClass();
        return $this;
    }

Usage Example

Exemple #1
0
 public function clearState()
 {
     $this->methodCounter['clearState']++;
     return parent::clearState();
 }