MenusManager
class MenusManager
Properties
| errors | $errors | Keeps any errors from validation | |
| message | $message | Generic message for success or failure of method execution |
Methods
__construct(DvsMenu $Menu, DvsMenuItem $MenuItem, Framework $Framework)
Construct a new user manager
array
createRules()
These are create rules for a menu
Menu
createMenu(array $input)
Creates a new menu
array
updateRules(integer $id)
These are the update rules for a menu given an id
Menu
updateMenu($id, array $input)
Updates the active field of a Menu
Details
at line 42
__construct(DvsMenu $Menu, DvsMenuItem $MenuItem, Framework $Framework)
Construct a new user manager
at line 54
array
createRules()
These are create rules for a menu
at line 68
Menu
createMenu(array $input)
Creates a new menu
at line 95
array
updateRules(integer $id)
These are the update rules for a menu given an id
at line 111
Menu
updateMenu($id, array $input)
Updates the active field of a Menu