\midcom_core_service_urlparser

URL name parsing interface class

Summary

Methods
Constants
tokenize()
parse()
get_object()
get_current_object()
get_variable()
get_url()
get_objects()
get_inherited_style()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

tokenize()

tokenize(  $url) 

Tokenize URL path to an argument vector array

Parameters

$url

parse()

parse(  $argv) 

Set the argument vector array to be parsed

Parameters

$argv

get_object()

get_object() 

Return next object in URL path

get_current_object()

get_current_object() 

Return current object pointed to by the parse URL

get_variable()

get_variable(  $namespace) 

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

Parameters

$namespace

get_url()

get_url() 

Return full URL that was given to the parser

get_objects()

get_objects() 

Return parsed objects

get_inherited_style()

get_inherited_style() 

Returns inherited style (if any)