PHP Class dosamigos\fileupload\actions\FileListAction

Author: Antonio Ramirez ([email protected])
Inheritance: extends yii\base\Action
ファイルを表示 Open project: 2amigos/yii2-file-upload-widget

Public Properties

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.

Public Methods

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.

Method Details

init() public method

public init ( )

run() public method

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 ( )

Property Details

$ownerRelation public_oe property

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.
public $ownerRelation

$ownerTable public_oe property

the owner table name -ie city
public $ownerTable

$searchClass public_oe property

the full qualified namespace name of the model's search class -ie \common\models\PictureSearch
public $searchClass

$view public_oe property

the name of the view where the resulting $dataProvider attribute will be pass through.
public $view