Class yeesoft\media\models\MediaSearch

Inheritanceyeesoft\media\models\MediaSearch » yeesoft\media\models\Media » yeesoft\db\ActiveRecord » yii\db\ActiveRecord
Implementsyeesoft\models\OwnerAccess

MediaSearch represents the model behind the search form about yeesoft\media\models\Media.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
attributeLabels() yeesoft\media\models\Media
behaviors() yeesoft\media\models\Media
createDefaultThumb() Create default thumbnail yeesoft\media\models\Media
createThumbs() Create thumbs for this image yeesoft\media\models\Media
deleteFile() Delete file yeesoft\media\models\Media
deleteThumbs() Delete thumbnails for current image yeesoft\media\models\Media
find() yeesoft\media\models\Media
findAll() yeesoft\media\models\Media
findByTypes() Search models by file types yeesoft\media\models\Media
findByUrl() Find model by url yeesoft\media\models\Media
findOne() yeesoft\media\models\Media
getAuthor() Return created_by user instance yeesoft\media\models\Media
getCreatedDate() yeesoft\media\models\Media
getCreatedDatetime() yeesoft\media\models\Media
getCreatedTime() yeesoft\media\models\Media
getDefaultThumbUrl() yeesoft\media\models\Media
getFileSize() yeesoft\media\models\Media
getFullAccessPermission() Get permission to check whether the access is denied to users who are not authors of item. yeesoft\media\models\Media
getImagesList() yeesoft\media\models\Media
getLastChanges() yeesoft\media\models\Media
getOriginalImageSize() This method wrap getimagesize() function yeesoft\media\models\Media
getOriginalImageSizes() This method wrap getimagesize() function yeesoft\media\models\Media
getOwnerField() Returns name of field in the model indicating the author's id. Is used only when $ownerAccessPermission is set yeesoft\media\models\Media
getThumbImage() Thumbnail image html tag yeesoft\media\models\Media
getThumbUrl() yeesoft\media\models\Media
getThumbs() yeesoft\media\models\Media
isImage() yeesoft\media\models\Media
isMultilingual() Returns TRUE if model support multilingual behavior. yeesoft\db\ActiveRecord
rules() yeesoft\media\models\MediaSearch
saveUploadedFile() Save just uploaded file yeesoft\media\models\Media
scenarios() yeesoft\media\models\MediaSearch
search() Creates data provider instance with search query applied yeesoft\media\models\MediaSearch
tableName() yeesoft\media\models\Media

Method Details

rules() public method

public void rules ( )
scenarios() public method

public void scenarios ( )
search() public method

Creates data provider instance with search query applied

public \yii\data\ActiveDataProvider search ( $params = [] )
$params array