示例#1
0
文件: Uri.php 项目: houzoumi/fmi
 /**
  * Returns an array representation of the page
  *
  * @return array
  */
 public function toArray()
 {
     return array_merge(parent::toArray(), array('uri' => $this->getUri()));
 }
示例#2
0
文件: Mvc.php 项目: houzoumi/fmi
 /**
  * Returns an array representation of the page
  *
  * @return array  associative array containing all page properties
  */
 public function toArray()
 {
     return array_merge(parent::toArray(), array('action' => $this->getAction(), 'controller' => $this->getController(), 'params' => $this->getParams(), 'route' => $this->getRoute(), 'router' => $this->getRouter(), 'route_match' => $this->getRouteMatch()));
 }