URL name parsing interface class

package midcom

 Methods

__construct ()

get_current_object ()

Return current object pointed to by the parse URL

get_object ()

Return next object in URL path

get_objects ()

Return parsed objects

get_url ()

Return full URL that was given to the parser

get_variable ($namespace)

Return array of found URL-based variables (of format namespace-key-value)

Parameters

$namespace

parse ($argv)

Set the argument vector array to be parsed

Parameters

$argv

tokenize ($url)

Tokenize URL path to an argument vector array

Parameters

$url