Skip to content

Commit

Permalink
PHPdoc enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed May 12, 2015
1 parent 23c808d commit ff7903c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class Collection extends Component
public $models;

/**
* @var string the name of the form
* @var string the name of the form. Sets automatically on [[set()]]
* @see set()
*/
public $formName;

Expand All @@ -53,7 +54,10 @@ class Collection extends Component
public $loadFormatter;

/**
* @var \yii\base\Model
* @var \yii\base\Model the template model instance. May be set manually by [[setModel()]] or
* automatically on [[set()]] call
* @see setModel()
* @see set()
*/
protected $model;

Expand All @@ -64,12 +68,13 @@ class Collection extends Component
public $modelOptions = [];

/**
* @var ActiveRecord
* @var ActiveRecord the first model of the set. Fills automatically by [[set()]]
* @see set()
*/
public $first;

/**
* @var array
* @var array the model's attributes that will be saved
*/
public $attributes;

Expand Down

0 comments on commit ff7903c

Please sign in to comment.