savestate() public method

Sets the model state auto-save status. By default the model is set up to save its state to the session.
public savestate ( boolean $newState ) : static
$newState boolean True to save the state, false to not save it.
return static
示例#1
0
文件: ModelStub.php 项目: Joal01/fof
 public function savestate($newState)
 {
     $this->methodCounter['savestate']++;
     return parent::savestate($newState);
 }