Class yeesoft\media\models\Category

Inheritanceyeesoft\media\models\Category » yeesoft\db\ActiveRecord » yii\db\ActiveRecord
Implementsyeesoft\models\OwnerAccess
Subclassesyeesoft\media\models\CategorySearch

This is the model class for table "media_category".

Public Methods

Hide inherited methods

MethodDescriptionDefined By
attributeLabels() yeesoft\media\models\Category
behaviors() yeesoft\media\models\Category
find() yeesoft\media\models\Category
getAlbums() yeesoft\media\models\Category
getCategories() Return all categories. yeesoft\media\models\Category
getFullAccessPermission() Get permission to check whether the access is denied to users who are not authors of item. yeesoft\media\models\Category
getOwnerField() Returns name of field in the model indicating the author's id. Is used only when $ownerAccessPermission is set yeesoft\media\models\Category
init() yeesoft\media\models\Category
isMultilingual() Returns TRUE if model support multilingual behavior. yeesoft\db\ActiveRecord
rules() yeesoft\media\models\Category
tableName() yeesoft\media\models\Category

Method Details

attributeLabels() public method

public void attributeLabels ( )
behaviors() public method

public void behaviors ( )
find() public static method

public static void find ( )
getAlbums() public method

public \yii\db\ActiveQuery getAlbums ( )
getCategories() public static method

Return all categories.

public static static getCategories ( $asArray false )
$asArray bool
getFullAccessPermission() public static method

Get permission to check whether the access is denied to users who are not authors of item.

public static void getFullAccessPermission ( )
getOwnerField() public static method

Returns name of field in the model indicating the author's id. Is used only when $ownerAccessPermission is set

public static void getOwnerField ( )
init() public method

public void init ( )
rules() public method

public void rules ( )
tableName() public static method

public static void tableName ( )