Class CJoinElement
CJoinElement represents a tree node in the join tree created by CActiveFinder
.
Package: system\db\ar
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/db/ar/CActiveFinder.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/db/ar/CActiveFinder.php
public
|
#
__construct(
Constructor. |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
#
count(
Count the number of primary records returned by the join statement. |
public
|
|
public
|
#
buildQuery(
Builds the join query with all descendant HAS_ONE and BELONGS_TO nodes. |
public
|
|
public
string
|
|
public
string
|
#
getColumnSelect( mixed $select = '*' )
Generates the list of columns to be selected. Columns will be properly aliased and primary keys will be added to selection if they are not specified. |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
public
integer
|
$id |
|
#
the unique ID of this tree node |
public
|
$relation |
|
#
the relation represented by this tree node |
public
|
$master |
|
#
the master relation |
public
|
$slave |
|
#
the slave relation |
public
|
$model |
|
#
the model associated with this tree node |
public
array
|
$records | array() |
#
list of active records found by the queries. They are indexed by primary key values. |
public
array
|
$children | array() |
#
list of child join elements |
public
array
|
$stats | array() |
#
list of stat elements |
public
string
|
$tableAlias |
|
#
table alias for this join element |
public
string
|
$rawTableAlias |
|
#
the quoted table alias for this element |