Interface yeesoft\models\OwnerAccess

Implemented byyeesoft\media\models\Album, yeesoft\media\models\AlbumSearch, yeesoft\media\models\Category, yeesoft\media\models\CategorySearch, yeesoft\media\models\Media, yeesoft\media\models\MediaSearch, yeesoft\menu\models\search\SearchMenu, yeesoft\menu\models\search\SearchMenuLink, yeesoft\models\Menu, yeesoft\models\MenuLink, yeesoft\page\models\Page, yeesoft\page\models\search\PageSearch, yeesoft\post\models\Category, yeesoft\post\models\Post, yeesoft\post\models\search\CategorySearch, yeesoft\post\models\search\PostSearch, yeesoft\seo\models\Seo, yeesoft\seo\models\search\SeoSearch

Interface to implement functions to check owner rights.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getFullAccessPermission() Get permission to check whether the access is denied to users who are not authors of item. yeesoft\models\OwnerAccess
getOwnerField() Returns name of field in the model indicating the author's id. Is used only when $ownerAccessPermission is set yeesoft\models\OwnerAccess

Method Details

getFullAccessPermission() public abstract static method

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

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

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

public abstract static void getOwnerField ( )