Пример #1
0
 function getViewModuleURL($controller, $id, $title, $params = null)
 {
     // clean the title
     $title = LBApplication::getURLEncodedString($title);
     $url = '/' . LBApplication::getCurrentlySelectedSubscription() . '/' . $this->module_name . "/" . $controller . "/{$id}-{$title}";
     // add params if available
     if (is_array($params) && count($params)) {
         $url .= '?';
         foreach ($params as $param_ => $val) {
             $url .= "{$param_}={$val}&";
         }
     }
     return array($url);
     //trigger_error('Not Implemented!', E_USER_WARNING);
 }