original_string: public static function url($page, array $params = [])
      {
          /*
           * Reuse existing controller or create a new one,
           * assuming that the method is called not during the front-end
           * request processing.
           */
          $controller = Controller::getController() ?: new Controller;
  
          return $controller->pageUrl($page, $params, true);
      }
code: public static function url($page, array $params = [])
      {
          /*
           * Reuse existing controller or create a new one,
           * assuming that the method is called not during the front-end
           * request processing.
           */
          $controller = Controller::getController() ?: new Controller;
  
          return $controller->pageUrl($page, $params, true);
      }
code_tokens: public static function url ( $ page , array $ params = [ ] ) { /*
           * Reuse existing controller or create a new one,
           * assuming that the method is called not during the front-end
           * request processing.
           */ $ controller = Controller :: getController ( ) ? : new Controller ; return $ controller -> pageUrl ( $ page , $ params , true ) ; }
docstring: Helper that makes a URL for a page in the active theme.
  @param mixed $page Specifies the Cms Page file name.
  @param array $params Route parameters to consider in the URL.
  @return string
docstring_tokens: Helper that makes a URL for a page in the active theme .