StarredUtil Class Reference

Static Public Member Functions

static modelHasStarredInterface ($modelClassName, $reflectionClass=null)
static modelHasStarredInterfaceAndNotAbstract ($modelClassName)
static markModelAsStarred (RedBeanModel $model)
static unmarkModelAsStarred (RedBeanModel $model)
static isModelStarred (RedBeanModel $model)
static unmarkModelAsStarredForAllUsers (RedBeanModel $model)
static toggleModelStarStatus ($modelClassName, $modelId)
static getToggleStarStatusLink ($data, $row)
static renderToggleStarStatusLink ($data, $row)
static getStarredModelClassName ($modelClassName)

Static Protected Member Functions

static markModelAsStarredForUser ($modelClassName, $userId, $modelId)
static unmarkModelAsStarredForUser ($modelClassName, $userId, $modelId)
static isModelStarredForUser ($modelClassName, $userId, $modelId)
static ensureModelClassNameImplementsStarredInterface ($modelClassName)

Detailed Description

Helper class for working with Starred Models

Definition at line 40 of file StarredUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Apr 27 07:10:30 2017