|
Previous Page |
Solar_Sql_Select |
Next Page |
_nameCols()
protected
array
_nameCols (
string|Solar_Sql_Model $spec,
string|array $cols
)
Support method for finding a table name and column names.
Parameters
- (string|Solar_Sql_Model)
$spec: The specification for the table name; if a model object, returns the $table_name property. - (string|array)
$cols: The columns to use from the table; if '*' and the $spec is a model object, returns an array of all columns for the model's table.
Returns
- (array) A sequential array where element 0 is the table name, and element 1 is the table columns.
Description
Support method for finding a table name and column names.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __toString()
- _addSource()
- _buildFrom()
- _buildJoin()
- _buildSelect()
- _countSubSelect()
- _exception()
- _hasCountCond()
- _join()
- _multiHaving()
- _multiWhere()
- _nameCols()
- _origAlias()
- apiVersion()
- bind()
- clear()
- cols()
- 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()