StringQuery.php
32 * $queryStr = "Author.name LIKE '%ingo%' AND (Recipe.name LIKE '%Salat%' OR Recipe.portions = 4)";
103 throw new IllegalArgumentException("There is no connection between '".$queryType."' and '".$typeOrRole."'.");
107 throw new IllegalArgumentException("There is more than one connection between '".$queryType."' and '".$typeOrRole."'. ".
127 throw new IllegalArgumentException("Please specify the type/role to that the attribute '".$token."' belongs: e.g. Author.name.");
StringQuery executes queries from a string representation.
Definition: StringQuery.php:40
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
ObjectQuery implements a template based object query.
Definition: ObjectQuery.php:104
buildQuery($orderby=null, PagingInfo $pagingInfo=null)
Definition: StringQuery.php:55
processOrderBy($orderby, SelectStatement $selectStmt)
Process an object template.
Definition: ObjectQuery.php:467
static getInstance($name, $dynamicConfiguration=array())
Definition: ObjectFactory.php:39
PagingInfo contains information about a paged list.
Definition: PagingInfo.php:18
processObjectTemplate(PersistentObject $tpl, SelectStatement $selectStmt)
Process an object template.
Definition: ObjectQuery.php:339
static splitQuoted($string, $delim='//', $quoteChr='"', $preserve=false)
Split string preserving quoted strings code based on: http://www.php.net/manual/en/function.explode.php#94024.
Definition: StringUtil.php:239
static getConnections($type, $otherRole, $otherType, $hierarchyType='all')
Get the shortest paths that connect a type to another type.
Definition: NodeUtil.php:39
static mapToDatabase($type, $valueName)
Map a application type and value name to the appropriate database names.
Definition: StringQuery.php:174