FOF30\Model\Model::clearState PHP 메소드

clearState() 공개 메소드

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
리턴 static
    public function clearState()
    {
        $this->state = new \stdClass();
        return $this;
    }

Usage Example

예제 #1
0
파일: ModelStub.php 프로젝트: Joal01/fof
 public function clearState()
 {
     $this->methodCounter['clearState']++;
     return parent::clearState();
 }