class form_groups_menus { public $id; public $database; public $db_name; public $group_access_module; public $module_table; public $table; public function __construct($context) { $this->id = $context['id']; $this->database = $context['database']; $this->group_access_module = $context['group_access_module']; $this->db_name = $context['db_name']; $this->module_table = $context['module_table']; $this->table = $context['groups_table']; } public function form() { $group_id = $this->id; $database = $this->database; $group_access_module = $this->group_access_module; $db_name = $this->db_name; $module_table = $this->module_table; $module_table_sub = $module_table."_sub"; $table = $this->table; $table_landing = $table."_menu_landing"; $get_group_access_module = " SELECT access_module,default_home FROM $db_name$table WHERE id = '$group_id' "; list($group_access_module,$default_home) = $database->getRow($get_group_access_module); ?>
Menus | Access | Default | Landing |