Class yeesoft\models\Menu

Inheritanceyeesoft\models\Menu » yeesoft\db\ActiveRecord » yii\db\ActiveRecord
Implementsyeesoft\models\OwnerAccess
Subclassesyeesoft\menu\models\search\SearchMenu

This is the model class for table "menu".

Public Methods

Hide inherited methods

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

Method Details

attributeLabels() public method

public void attributeLabels ( )
behaviors() public method

public void behaviors ( )
find() public static method

public static \omgdef\multilingual\MultilingualQuery find ( )
return \omgdef\multilingual\MultilingualQuery

The active query used by this AR class.

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 ( )
getLinks() public method

public \omgdef\multilingual\MultilingualQuery getLinks ( )
getMenuItems() public static method

Get list of menus

public static array getMenuItems ( $menu_id )
$menu_id
getMenus() public static method

Get list of menus

public static array getMenus ( )
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 ( )
rules() public method

public void rules ( )
tableName() public static method

public static void tableName ( )