private static function getControllerAndMethod() { if (isset(self::$URNParts[0]) && self::$URNParts[0] != '') { self::$_controller = self::$URNParts[0]; } else { self::$_controller = "homepage"; } if (isset(self::$URNParts[1])) { self::$_method = self::$URNParts[1]; } else { self::$_method = "index"; } unset(self::$URNParts[0]); unset(self::$URNParts[1]); }