getView()->setPath('memo'); } // //사용자용메모장 , customer_memo.php //CLI 접속방법 : php index.php site/client/memo/insert_form/client_code/코드번호 //WEB 접속방법 : http://localhost/site/client/memo/insert_form/client_code/코드번호 public function insert_form(mixed $client_code = null) { if ($client_code === null) { $client_code = $this->getSegments('client_code'); if ($client_code === null) { throw new \Exception("client_code 값이 정의되지 않았습니다."); } } $this->entity = $this->getClientService()->getModel()->where("Client_Code", $client_code); return $this->render(__FUNCTION__); } } //Class