Example #1
0
 /**
  * <p>Generates and returns an absolute url path and reference to/on public directory.</p>
  * 
  * @param string $url
  * @return string
  * @access public
  * @static
  */
 public static function url($url)
 {
     return Application::url() . $url;
 }
Example #2
0
 /**
  * <p>Redirects to the specified URL location.</p>
  * 
  * @param string $url_string
  * @return void
  * @access public
  * @static
  */
 public static function redirect($url_location)
 {
     $url = Application::url() . strtolower($url_location);
     header("Location: " . $url);
 }