Habari\URL::out PHP Method

out() public static method

Helper wrapper function. Outputs the URL via echo.
public static out ( string $rule_name = null, array $args = [], boolean $useall = true, boolean $noamp = true, boolean $prepend_site = true ) : void
$rule_name string name of the rule which would build the URL
$args array (optional) array of placeholder replacement values
$useall boolean If true (default), then all passed parameters that are not part of the built URL are tacked onto the URL as querystring
$noamp boolean
$prepend_site boolean If true (default), a full URL is returned, if false, only the path part of the URL is returned
return void
    public static function out($rule_name = null, $args = array(), $useall = true, $noamp = true, $prepend_site = true)
    {
        echo URL::get($rule_name, $args, $useall, $noamp, $prepend_site);
    }