Methods
All methods in the Solar_Uri class.
Public
-
__construct() -
Constructor.
-
__destruct() -
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
__get() -
Implements access to $_query by reference so that it appears to be a public $query property.
-
__set() -
Implements the virtual $query property.
-
__toString() -
Converts the URI object to a string and returns it.
-
dump() -
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
get() -
Returns a URI based on the object properties.
-
getPath() -
Returns the path array as a string, including the format.
-
getQuery() -
Returns the query portion as a string.
-
locale() -
Looks up class-specific locale strings based on a key.
-
quick() -
Returns a URI based on the specified string.
-
set() -
Sets properties from a specified URI.
-
setPath() -
Sets the Solar_Uri::$path array from a string.
-
setQuery() -
Sets the query string in the URI, for Solar_Uri::getQuery() and Solar_Uri::$query.
Protected
-
_buildConfig() -
Builds and returns the default config for a class, including all configs inherited from its parents.
-
_exception() -
Convenience method for returning exceptions with localized text.
-
_loadQuery() -
Loads $this->_query with an array representation of $this->_query_string using » parse_str().
-
_pathEncode() -
Converts an array of path elements into a string.
-
_postConfig() -
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct() -
Post-construction tasks to complete object construction.
-
_preConfig() -
A hook that activates before _buildConfig() in the constructor.
-
_setFormatFromPath() -
Removes and stores any trailing .format extension of last path element.
Private
None.