Exemplo n.º 1
0
 /**
  * Get the path base for views.
  *
  * @return string
  */
 public function getPath()
 {
     $path = parent::getPath();
     if (!empty($this->params['prefix'])) {
         $path .= $this->_camelize($this->params['prefix']) . DS;
     }
     $path .= $this->controllerName . DS;
     return $path;
 }
Exemplo n.º 2
0
 /**
  * Get the path base for view templates.
  *
  * @return string
  */
 public function getPath()
 {
     $path = parent::getPath();
     $path .= $this->controllerName . DS;
     return $path;
 }