Свойство | Тип | Описание | |
---|---|---|---|
$id | integer | Query id. | |
$name | string | The full name of the query. | |
$parameters | array | ||
$query | array | ||
$slug | string | The query slug (short name). |
Свойство | Тип | Описание | |
---|---|---|---|
$_qManager | Whups_Query_Manager |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
_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 | |
Результат | string |
public save ( ) |
public static textOperators ( ) : array | ||
Результат | array | Hash with operator types and descriptions. |
protected Whups_Query_Manager $_qManager | ||
Результат | Whups_Query_Manager |