Class yeesoft\post\models\Category

Inheritanceyeesoft\post\models\Category » yeesoft\db\ActiveRecord » yii\db\ActiveRecord

This is the model class for table "post_category".

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$parent_id yeesoft\post\models\Category

Property Details

$parent_id public property
public $parent_id null

Method Details

attributeLabels() public method

public void attributeLabels ( )
behaviors() public method

public void behaviors ( )
find() public static method

public static void find ( )
getCategories() public static method

Return all categories.

public static static getCategories ( $skipCategories = [] )
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 ( )
getPosts() public method

public \yii\db\ActiveQuery getPosts ( )
init() public method

public void init ( )
rules() public method

public void rules ( )
save() public method

public void save ( $runValidation true, $attributeNames null )
tableName() public static method

public static void tableName ( )
transactions() public method

public void transactions ( )