Property | Type | Description | |
---|---|---|---|
$ownerRelation | the owner relation name of the model's class -ie Picture::cities, cities is the relation name of Picture class to links to its owner, on this case City model. | ||
$ownerTable | the owner table name -ie city | ||
$searchClass | the full qualified namespace name of the model's search class -ie \common\models\PictureSearch | ||
$view | the name of the view where the resulting $dataProvider attribute will be pass through. |
Method | Description | |
---|---|---|
init ( ) | ||
run ( ) | Builds the data provider that needs to be rendered. If you wish to modify it, you will have to do it on the view itself -ie change pager settings etc. |
public run ( ) |
public $ownerRelation |
public $searchClass |