Beispiel #1
0
 public function __debugInfo()
 {
     return array_merge(parent::__debugInfo(), ['element' => $this->_element]);
 }
Beispiel #2
0
 public static function getQueryType(BaseModel $model)
 {
     return $model->isNew() ? 'add' : 'update';
 }