/** * <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; }
/** * <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); }