function prepare()
 {
     $this->mHalfAutoForm = true;
     parent::prepare('MyGmapMarker', 'mygmap_markedit', $this->__l('Marker'));
     $this->setObjectForm('MyGmapMarker');
     $this->setFormTemplate($this->prefix('marker.html'));
     $this->setExecutePermission('marker_edit');
 }
 function prepare()
 {
     $this->mHalfAutoForm = true;
     parent::prepare('MyGmapCategory', 'mygmap_catedit', $this->__l('Category'));
     $this->setObjectForm('MyGmapCategory');
     $this->setFormTemplate($this->prefix('category.html'));
     $this->setExecutePermission('category_edit');
 }
 function prepare()
 {
     $this->mHalfAutoForm = true;
     parent::prepare('MyGmapArea', 'mygmap_areaedit', $this->__l('Area'));
     $this->setObjectForm('MyGmapArea');
     $this->setFormTemplate($this->prefix('area.html'));
     $this->setExecutePermission('area_edit');
 }
 function prepare($name, $caption)
 {
     $this->mLanguage->setInAdmin(true);
     parent::prepare($name, $name, $caption);
     $this->mDefaultOp = 'list';
     $this->mAllowedOp = array('list', 'new', 'edit', 'insert', 'save', 'delete', 'deleteok');
     $this->mFormTemplate = 'admin/NBFrameAdminForm.html';
     $this->setObjectForm('admin.' . $name . 'Admin');
     $this->mListTemplate = 'admin/NBFrameAdminList.html';
     $this->setObjectList('admin.' . $name . 'Admin');
     $this->mBypassAdminCheck = false;
     // Administrator Group members can edit everything in admin screen
 }
 function prepare()
 {
     $this->mObjectHandler =& NBFrame::getHandler('NBFrame.xoops.Block', NBFrame::null());
     parent::prepare('NBFrameBlocksAdmin', 'NBFrameBlocksAdmin', $this->__l('Block Admin'));
     $this->mDefaultOp = 'list';
     $this->mAllowedOp = array('list', 'edit', 'delete', 'deleteok', 'clone', 'order', 'save', 'insert', 'gperm');
     $this->mFormTemplate = 'admin/NBFrameAdminForm.html';
     $this->setObjectForm('NBFrame.admin.BlocksAdmin');
     $this->mListTemplate = 'admin/NBFrameAdminBlocksAdmin.html';
     if (($groupPermArray = $this->mEnvironment->getAttribute('ModuleGroupPermKeys')) && is_array($groupPermArray)) {
         $this->mGroupPermModuleKeys = $groupPermArray;
     }
 }
 function prepare()
 {
     parent::prepare('NBFrame.xoops.Comment', 'simplenews', $this->__l('SimpleNews'));
     $this->mAllowedOp = array('new', 'edit', 'insert', 'save', 'delete', 'deleteok');
 }