Class CHasManyRelation
CHasManyRelation represents the parameters specifying a HAS_MANY relation.
- CComponent
- CBaseActiveRelation
- CActiveRelation
- CHasManyRelation
Direct known subclasses
CManyManyRelation
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/CActiveRecord.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/CActiveRecord.php
public
|
__construct()
|
public
integer
|
$limit | -1 |
#
limit of the rows to be selected. It is effective only for lazy loading this related object. Defaults to -1, meaning no limit. |
public
integer
|
$offset | -1 |
#
offset of the rows to be selected. It is effective only for lazy loading this related object. Defaults to -1, meaning no offset. |
public
string
|
$index |
|
#
the name of the column that should be used as the key for storing related objects. Defaults to null, meaning using zero-based integer IDs. |
$alias,
$joinType,
$on,
$scopes,
$through,
$together,
$with
|
$className,
$condition,
$foreignKey,
$group,
$having,
$join,
$joinOptions,
$name,
$order,
$params,
$select
|