PHP Class MetaURL

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
__construct ( )
__get ( $p_property )
__set ( $p_property, $p_value )
get_parameter ( string $p_parameterName ) : string Returns the value of the given parameter
reset_parameter ( string $p_parameterName ) : boolean Resets the given parameter (sets it's value to null). Returns true if the parameter can be set (is not a restricted parameter name), false otherwise.
reset_parameters ( ) : boolean Resets all query parameters. Returns true if the parameter can be set (is not a restricted parameter name), false otherwise.
set_parameter ( string $p_parameterName, string $p_parameterValue ) : boolean Sets the given parameter to the given value. Returns true if the parameter can be set (is not a restricted parameter name), false otherwise.

Protected Methods

Method Description
trigger_invalid_property_error ( $p_property, $p_smarty = null )

Private Methods

Method Description
getBase ( )
getFormParameters ( )
getPath ( )
getQuery ( )
getRelativeBase ( )
getRequestURI ( )
getURI ( )
getURIPath ( )
getURL ( )
getURLParameters ( )
getURLType ( )

Method Details

__construct() public method

public __construct ( )

__get() public method

public __get ( $p_property )

__set() final public method

final public __set ( $p_property, $p_value )

get_parameter() final public method

Returns the value of the given parameter
final public get_parameter ( string $p_parameterName ) : string
$p_parameterName string
return string

reset_parameter() final public method

Resets the given parameter (sets it's value to null). Returns true if the parameter can be set (is not a restricted parameter name), false otherwise.
final public reset_parameter ( string $p_parameterName ) : boolean
$p_parameterName string
return boolean

reset_parameters() final public method

Resets all query parameters. Returns true if the parameter can be set (is not a restricted parameter name), false otherwise.
final public reset_parameters ( ) : boolean
return boolean

set_parameter() final public method

Sets the given parameter to the given value. Returns true if the parameter can be set (is not a restricted parameter name), false otherwise.
final public set_parameter ( string $p_parameterName, string $p_parameterValue ) : boolean
$p_parameterName string
$p_parameterValue string
return boolean

trigger_invalid_property_error() final protected method

final protected trigger_invalid_property_error ( $p_property, $p_smarty = null )