is_new() public method

Check whether the model was the result of a call to create() or not
public is_new ( ) : boolean
return boolean
Example #1
0
 /**
  * Check whether the model was the result of a call to create() or not
  *
  * @return bool
  */
 public function is_new()
 {
     return $this->orm->is_new();
 }