예제 #1
0
파일: Note.php 프로젝트: nanodesu88/amocrm
 public function __debugInfo()
 {
     return array_merge(parent::__debugInfo(), ['element' => $this->_element]);
 }
예제 #2
0
파일: Base.php 프로젝트: nanodesu88/amocrm
 public static function getQueryType(BaseModel $model)
 {
     return $model->isNew() ? 'add' : 'update';
 }