예제 #1
0
파일: controller.php 프로젝트: clee03/metal
 /**
  * Gets the configuration data for a given view & post
  *
  * @return object
  */
 protected function prepareData()
 {
     $type = trim("{$this->view}/{$this->admin->route}", '/');
     $data = $this->admin->data($type, $this->post);
     return $data;
 }