XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Subquery Class Reference
Inheritance diagram for Subquery:
Query BaseObject

Public Member Functions

 __construct ($alias, $columns, $tables, $conditions, $groups, $orderby, $limit, $join_type=null)
 
 getAlias ()
 
 isJoinTable ()
 
 toString ($with_values=true)
 
 isSubquery ()
 
- Public Member Functions inherited from Query
 __construct ($queryID=NULL, $action=NULL, $columns=NULL, $tables=NULL, $conditions=NULL, $groups=NULL, $orderby=NULL, $limit=NULL, $priority=NULL)
 
 show ()
 
 setQueryId ($queryID)
 
 setAction ($action)
 
 setPriority ($priority)
 
 setColumnList ($columnList)
 
 setColumns ($columns)
 
 setTables ($tables)
 
 setSubquery ($subquery)
 
 setConditions ($conditions)
 
 setGroups ($groups)
 
 setOrder ($order)
 
 getOrder ()
 
 setLimit ($limit=NULL)
 
 select ($columns=NULL)
 
 from ($tables)
 
 where ($conditions)
 
 groupBy ($groups)
 
 orderBy ($order)
 
 limit ($limit)
 
 getAction ()
 
 getPriority ()
 
 usesClickCount ()
 
 getClickCountColumns ()
 
 getSelectString ($with_values=TRUE)
 
 getUpdateString ($with_values=TRUE)
 
 getInsertString ($with_values=TRUE)
 
 getTables ()
 
 getFromString ($with_values=TRUE)
 
 getWhereString ($with_values=TRUE, $with_optimization=TRUE)
 
 getGroupByString ()
 
 getOrderByString ()
 
 getLimit ()
 
 getLimitString ()
 
 getFirstTableName ()
 
 getArguments ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Public Attributes

 $alias
 
 $join_type
 
- Public Attributes inherited from Query
 $queryID
 
 $action
 
 $priority
 
 $columns
 
 $tables
 
 $conditions
 
 $groups
 
 $orderby
 
 $limit
 
 $arguments = NULL
 
 $columnList = NULL
 
 $_orderByString
 
- Public Attributes inherited from BaseObject
 $error = 0
 
 $message = 'success'
 
 $variables = array()
 
 $httpStatusCode = NULL
 

Detailed Description

Definition at line 9 of file Subquery.class.php.

Constructor & Destructor Documentation

Subquery::__construct (   $alias,
  $columns,
  $tables,
  $conditions,
  $groups,
  $orderby,
  $limit,
  $join_type = null 
)

constructor

Parameters
string$alias
string | array$columns
string | array$tables
string | array$conditions
string | array$groups
string | array$orderby
int$limit
string$join_type
Returns
void

Definition at line 36 of file Subquery.class.php.

Member Function Documentation

Subquery::getAlias ( )

Definition at line 52 of file Subquery.class.php.

Subquery::isJoinTable ( )

Definition at line 57 of file Subquery.class.php.

Subquery::isSubquery ( )

Definition at line 73 of file Subquery.class.php.

Subquery::toString (   $with_values = true)

Definition at line 66 of file Subquery.class.php.

Member Data Documentation

Subquery::$alias

Definition at line 16 of file Subquery.class.php.

Subquery::$join_type

Definition at line 22 of file Subquery.class.php.


The documentation for this class was generated from the following file: