Class Query
HTTP query parser and builder.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Query
Direct known subclasses
Core\Query\Driver\fullpath
,
Core\Query\Driver\minipath
,
Core\Query\Driver\standard
Indirect known subclasses
Namespace: Core
Package: Core\Query
Since: 3.0
Requires: PHP 5.3
Version: 1.1
Located at Query.inc.php
Methods summary
public
|
|
public static
|
|
abstract public
string
|
|
abstract public
string
|
#
build( string|boolean $controller, string|boolean $action = false, array $parameters = null )
Builds a query string from controller, action and additional parameters. |
public
string
|
#
convertKey( string $key )
Encodes a GET argument key name the same way PHP handles such conversions. |
public
array
|
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
string |
ActionKeyParameter
Key name configuration parameter for action field in query. |
#
'action-key'
|
string |
ControllerKeyParameter
Key name configuration parameter for controller field in query. |
#
'controller-key'
|
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
array
|
$_v_parameters
Associative array of parsed configuration parameters. |
Magic properties
public read-only
array
|
$parameters
Associative array of parsed configuration parameters. |