PHP Class pendalf89\filemanager\controllers\FileController

Inheritance: extends yii\web\Controller
Exibir arquivo Open project: pendalf89/yii2-filemanager

Public Properties

Property Type Description
$enableCsrfValidation

Public Methods

Method Description
actionDelete ( $id ) : array Delete model with files
actionFilemanager ( )
actionIndex ( )
actionInfo ( integer $id, string $strictThumb = null ) : string Render model info
actionResize ( ) Resize all thumbnails
actionUpdate ( $id ) : array Updated mediafile by id
actionUpload ( ) : mixed Provides upload file
actionUploadmanager ( )
beforeAction ( $action )
behaviors ( )

Method Details

actionDelete() public method

Delete model with files
public actionDelete ( $id ) : array
$id
return array

actionFilemanager() public method

public actionFilemanager ( )

actionIndex() public method

public actionIndex ( )

actionInfo() public method

Render model info
public actionInfo ( integer $id, string $strictThumb = null ) : string
$id integer
$strictThumb string only this thumb will be selected
return string

actionResize() public method

Resize all thumbnails
public actionResize ( )

actionUpdate() public method

Updated mediafile by id
public actionUpdate ( $id ) : array
$id
return array

actionUpload() public method

Provides upload file
public actionUpload ( ) : mixed
return mixed

actionUploadmanager() public method

public actionUploadmanager ( )

beforeAction() public method

public beforeAction ( $action )

behaviors() public method

public behaviors ( )

Property Details

$enableCsrfValidation public_oe property

public $enableCsrfValidation