/** * Make route from object * @param Zoombi_Route $a_route * @return Zoombi_Route */ public function &fromObject($a_route) { $this->clear(); if ($a_route instanceof Zoombi_Route) { $this->m_segments = $a_route->getSegments(); $this->m_query->setData($a_route->getQuery()); } return $this; }