mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 04:37:42 +08:00
(Docs) Normalized existing "virtual" / "magic" methods' descriptions, add missing ones (#19066)
This commit is contained in:
@ -70,8 +70,8 @@ use yii\helpers\StringHelper;
|
||||
*
|
||||
* For more details and usage information on ActiveRecord, see the [guide article on ActiveRecord](guide:db-active-record).
|
||||
*
|
||||
* @method ActiveQuery hasMany($class, array $link) see [[BaseActiveRecord::hasMany()]] for more info
|
||||
* @method ActiveQuery hasOne($class, array $link) see [[BaseActiveRecord::hasOne()]] for more info
|
||||
* @method ActiveQuery hasMany($class, array $link) See [[BaseActiveRecord::hasMany()]] for more info.
|
||||
* @method ActiveQuery hasOne($class, array $link) See [[BaseActiveRecord::hasOne()]] for more info.
|
||||
*
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @author Carsten Brandt <mail@cebe.cc>
|
||||
|
||||
@ -17,8 +17,8 @@ use yii\base\InvalidConfigException;
|
||||
* @author Carsten Brandt <mail@cebe.cc>
|
||||
* @since 2.0
|
||||
*
|
||||
* @method ActiveRecordInterface one($db = null)
|
||||
* @method ActiveRecordInterface[] all($db = null)
|
||||
* @method ActiveRecordInterface one($db = null) See [[ActiveQueryInterface::one()]] for more info.
|
||||
* @method ActiveRecordInterface[] all($db = null) See [[ActiveQueryInterface::all()]] for more info.
|
||||
* @property ActiveRecord $modelClass
|
||||
*/
|
||||
trait ActiveRelationTrait
|
||||
|
||||
Reference in New Issue
Block a user