\RestaurantPage
- Author: Hudhaifa Shatnawi <hudhaifa.shatnawi@gmail.com>
Synopsis
class RestaurantPage
extends Page
{
- // members
- private static array $db = ;
- private static array $translate = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $many_many = ;
- private static string $icon = "chef/images/restaurant.png";
- private static string $group_code = 'chefs';
- private static string $group_title = 'Chefs';
- private static string $group_permission = 'CMS_ACCESS_CMSMain';
- // methods
- public void fieldLabels()
- public void getCMSFields()
- protected void onBeforeWrite()
- protected Group getUserGroup()
Hierarchy
Extends
- Page
Members
private
- $db
- $group_code
- $group_permission
- $group_title
- $has_many
- $has_one
- $icon
- $many_many
- $translate
Methods
protected
- getUserGroup() — Returns/Creates the librarians group to assign CMS access.
- onBeforeWrite()