예제 #1
0
파일: View.php 프로젝트: ahundiak/webMVc
 /**
  * This method gets the called template.
  * @param Model $model
  */
 public function getTemplate(Model $model)
 {
     if ($this->request->getObject() !== $this->newObject) {
         $model->buildSecondaryClientModel($this->newObject);
     }
     $this->loadTemplate($model);
 }