private function locateURI() : string
    {
        $this->page_uri = filter_input(
            INPUT_GET,
            NABU_PATH_PARAM,
            FILTER_SANITIZE_STRING,
            FILTER_FLAG_EMPTY_STRING_NULL
        );

        if (!is_string($this->page_uri) || strlen($this->page_uri) === 0) {
            $this->page_uri = $this->nb_application->getHTTPServer()->getRequestURI();
        }

        if (!is_string($this->page_uri) || strlen($this->page_uri) === 0) {
            throw new ENabuCoreException(ENabuCoreException::ERROR_PAGE_URI_NOT_FOUND);
        }

        CNabuEngine::getEngine()->traceLog("Page requested", $this->page_uri);

        return $this->page_uri;
    }
private function locateURI() : string
    {
        $this->page_uri = filter_input(
            INPUT_GET,
            NABU_PATH_PARAM,
            FILTER_SANITIZE_STRING,
            FILTER_FLAG_EMPTY_STRING_NULL
        );

        if (!is_string($this->page_uri) || strlen($this->page_uri) === 0) {
            $this->page_uri = $this->nb_application->getHTTPServer()->getRequestURI();
        }

        if (!is_string($this->page_uri) || strlen($this->page_uri) === 0) {
            throw new ENabuCoreException(ENabuCoreException::ERROR_PAGE_URI_NOT_FOUND);
        }

        CNabuEngine::getEngine()->traceLog("Page requested", $this->page_uri);

        return $this->page_uri;
    }
private function locateURI ( ) : string { $ this -> page_uri = filter_input ( INPUT_GET , NABU_PATH_PARAM , FILTER_SANITIZE_STRING , FILTER_FLAG_EMPTY_STRING_NULL ) ; if ( ! is_string ( $ this -> page_uri ) || strlen ( $ this -> page_uri ) === 0 ) { $ this -> page_uri = $ this -> nb_application -> getHTTPServer ( ) -> getRequestURI ( ) ; } if ( ! is_string ( $ this -> page_uri ) || strlen ( $ this -> page_uri ) === 0 ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_PAGE_URI_NOT_FOUND ) ; } CNabuEngine :: getEngine ( ) -> traceLog ( "Page requested" , $ this -> page_uri ) ; return $ this -> page_uri ; }
Search requested URIs using different alternatives.
@return string Returns the URI string if found or null elsewhere.
@throws ENabuCoreException Raises an exception if no URI found.
Search requested URIs using different alternatives .