Exemple #1
0
 protected function checkActiveCategory($category, $url)
 {
     if ($category['redirect_route'] == 'frontend.news' && $this->registry->router->getCurrentController() == 'news') {
         return true;
     } else {
         return $url == App::getUrl() ? true : false;
     }
 }
 /**
  * Output the complete url
  * @access public
  * @static
  * @param string $pUri
  */
 public static function url($pUri = '')
 {
     echo App::getUrl($pUri);
 }