|
Previous Page |
Solar_Sql_Select |
Next Page |
_addSource()
protected
void
_addSource (
string $type,
string $name,
string $orig,
string $join,
string $cond,
array $cols
)
Adds a row source (from table, from select, or join) to the sources array.
Parameters
- (string)
$type: The source type: 'from', 'join', or 'select'. - (string)
$name: The alias name. - (string)
$orig: The source origin, either a table name or a sub-select statement. - (string)
$join: If $type is 'join', the type of join ('left', 'inner', or null for a regular join). - (string)
$cond: If $type is 'join', the join conditions. - (array)
$cols: The columns to select from the source.
Returns
- (void)
Description
Adds a row source (from table, from select, or join) to the sources array.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _addSource()
- _buildFrom()
- _buildJoin()
- _buildSelect()
- _exception()
- _join()
- _origAlias()
- apiVersion()
- bind()
- clear()
- countPages()
- distinct()
- dump()
- fetch()
- fetchAll()
- fetchAssoc()
- fetchCol()
- fetchOne()
- fetchPairs()
- fetchPdo()
- fetchSql()
- fetchValue()
- from()
- fromSelect()
- getPaging()
- group()
- having()
- innerJoin()
- join()
- leftJoin()
- limit()
- limitPage()
- locale()
- multiHaving()
- multiWhere()
- orHaving()
- orWhere()
- order()
- quote()
- quoteInto()
- quoteMulti()
- setPaging()
- unbind()
- where()