public static function Redirect(Staple_Route $route, array $get = array()) { $to = (string) $route; if ($get != array()) { $to .= '?' . Staple_Link::getArraytoString($get); } header('Location: ' . $to); exit(0); }