Class RESTian_Var
Located at core-classes/class-var.php
public
|
|
public
|
public
string
|
$name |
|
#
Actual name of URL query argument. Defaults to same value as $this->name. |
public
string
|
$requires | false |
#
if specified, indicates what this param is used for. Basically it's a description. |
public
boolean|array
|
$not_vars | false |
#
List of other parameter names that make this parameter invalid when they appear. If in "name=value" format then only invalid when the parameter appears with the specified value. |
public
boolean|array
|
$options | false |
#
List of options that are valid for this parameter. |
public
boolean|string
|
$usage | 'query' |
#
Specifies how this param is used; as part of the URL 'path', in the URL 'query', or 'both'. |
public
boolean|string
|
$type | 'string' |
#
Specifies the data type expected. Currently just 'string' or 'number'. |
public
boolean|array
|
$transforms | array() |
#
List of Transforms that can be applied to value, i.e. fill[/] replaces whitespace with '/' |