Property | Type | Description | |
---|---|---|---|
$id | integer | Query id. | |
$name | string | The full name of the query. | |
$parameters | array | ||
$query | array | ||
$slug | string | The query slug (short name). |
Property | Type | Description | |
---|---|---|---|
$_qManager | Whups_Query_Manager |
Method | Description | |
---|---|---|
__construct ( Whups_Query_Manager &$qManager, array $qDetails = [] ) | Constructor | |
delete ( ) | Delete this object from the backend permanently. | |
deleteNode ( $pathstring ) | ||
feedLink ( ) : array | Returns data for this query's feed. | |
getTabs ( Horde_Variables $vars ) | Tab operations for this query. | |
hasPermission ( string $userid, integer $permission, string $creator = null ) : boolean | Checks to see if a user has a given permission. | |
hoist ( $pathstring ) | ||
insertBranch ( $pathstring, $type ) | ||
insertCriterion ( $pathstring, $criterion, $cvalue, $operator, $value ) | ||
pathToForm ( Horde_Variables &$vars ) : string | Path to form | |
pathToString ( &$path ) | ||
reduce ( $method, &$vars ) | Bottom up traversal. | |
save ( ) | Saves any changes to this object to the backend permanently. New objects are added instead. | |
stringToPath ( $pathstring ) | ||
textOperators ( ) : array | Returns human readable descriptions of all operator types. | |
walk ( &$obj, $method ) | Top down traversal. |
Method | Description | |
---|---|---|
_getParameterName ( $value ) | ||
_reduce ( &$node, $method, &$vars ) | ||
_walk ( &$node, &$more, &$path, &$obj, $method ) |
public __construct ( Whups_Query_Manager &$qManager, array $qDetails = [] ) | ||
$qManager | Whups_Query_Manager | |
$qDetails | array |
public getTabs ( Horde_Variables $vars ) | ||
$vars | Horde_Variables |
public insertCriterion ( $pathstring, $criterion, $cvalue, $operator, $value ) |
public pathToForm ( Horde_Variables &$vars ) : string | ||
$vars | Horde_Variables | |
return | string |
public save ( ) |
public static textOperators ( ) : array | ||
return | array | Hash with operator types and descriptions. |