当前位置: 首页>>代码示例>>PHP>>正文


PHP GetCurrentUserGrantForDataSource函数代码示例

本文整理汇总了PHP中GetCurrentUserGrantForDataSource函数的典型用法代码示例。如果您正苦于以下问题:PHP GetCurrentUserGrantForDataSource函数的具体用法?PHP GetCurrentUserGrantForDataSource怎么用?PHP GetCurrentUserGrantForDataSource使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了GetCurrentUserGrantForDataSource函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: GetPageList

 public function GetPageList()
 {
     $currentPageCaption = $this->GetShortCaption();
     $result = new PageList($this);
     if (GetCurrentUserGrantForDataSource('public.office_holder')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Office Holders'), 'public.office_holder.php', $this->RenderText('Office Holders'), $currentPageCaption == $this->RenderText('Office Holders')));
     }
     if (GetCurrentUserGrantForDataSource('public.office')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Political Offices'), 'public.office.php', $this->RenderText('Political Offices'), $currentPageCaption == $this->RenderText('Political Offices')));
     }
     if (GetCurrentUserGrantForDataSource('public.office_docs')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Political Office Filing Documents'), 'public.office_docs.php', $this->RenderText('Political Office Filing Documents'), $currentPageCaption == $this->RenderText('Political Office Filing Documents')));
     }
     if (GetCurrentUserGrantForDataSource('public.election_div')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Election Divisions'), 'public.election_div.php', $this->RenderText('Election Divisions'), $currentPageCaption == $this->RenderText('Election Divisions')));
     }
     if (GetCurrentUserGrantForDataSource('public.election_div_docs')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Election Division Filing Documents'), 'public.election_div_docs.php', $this->RenderText('Election Division Filing Documents'), $currentPageCaption == $this->RenderText('Election Division Filing Documents')));
     }
     if (GetCurrentUserGrantForDataSource('public.district')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Political Districts'), 'public.district.php', $this->RenderText('Political Districts'), $currentPageCaption == $this->RenderText('Political Districts')));
     }
     if (GetCurrentUserGrantForDataSource('public.office_position')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Political Office Positions'), 'public.office_position.php', $this->RenderText('Political Office Positions'), $currentPageCaption == $this->RenderText('Political Office Positions')));
     }
     if (HasAdminPage() && GetApplication()->HasAdminGrantForCurrentUser()) {
         $result->AddPage(new PageLink($this->GetLocalizerCaptions()->GetMessageString('AdminPage'), 'phpgen_admin.php', $this->GetLocalizerCaptions()->GetMessageString('AdminPage'), false, true));
     }
     return $result;
 }
开发者ID:blakeHelm,项目名称:BallotPath,代码行数:30,代码来源:public.office_docs.php

示例2: GetPageList

 public function GetPageList()
 {
     $currentPageCaption = $this->GetShortCaption();
     $result = new PageList($this);
     $result->AddGroup($this->RenderText('Default'));
     if (GetCurrentUserGrantForDataSource('clienti')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Clienti'), 'clienti.php', $this->RenderText('Clienti'), $currentPageCaption == $this->RenderText('Clienti'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('articoli')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Articoli'), 'articoli.php', $this->RenderText('Articoli'), $currentPageCaption == $this->RenderText('Articoli'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('famiglie')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Famiglie'), 'famiglie.php', $this->RenderText('Famiglie'), $currentPageCaption == $this->RenderText('Famiglie'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('listino_voci')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Listino Voci'), 'listino_voci.php', $this->RenderText('Listino Voci'), $currentPageCaption == $this->RenderText('Listino Voci'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('listino_articoli')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Listino Articoli'), 'listino_articoli.php', $this->RenderText('Listino Articoli'), $currentPageCaption == $this->RenderText('Listino Articoli'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('voci_costo')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Voci Costo'), 'voci_costo.php', $this->RenderText('Voci Costo'), $currentPageCaption == $this->RenderText('Voci Costo'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('formule_calcolo')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Formule Calcolo'), 'formule_calcolo.php', $this->RenderText('Formule Calcolo'), $currentPageCaption == $this->RenderText('Formule Calcolo'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('scontistica_clienti')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Scontistica Clienti'), 'scontistica_clienti.php', $this->RenderText('Scontistica Clienti'), $currentPageCaption == $this->RenderText('Scontistica Clienti'), false, $this->RenderText('Default')));
     }
     if (HasAdminPage() && GetApplication()->HasAdminGrantForCurrentUser()) {
         $result->AddGroup('Admin area');
         $result->AddPage(new PageLink($this->GetLocalizerCaptions()->GetMessageString('AdminPage'), 'phpgen_admin.php', $this->GetLocalizerCaptions()->GetMessageString('AdminPage'), false, false, 'Admin area'));
     }
     return $result;
 }
开发者ID:eroncalli,项目名称:atig,代码行数:35,代码来源:elenco_clienti_view.php

示例3: GetPageList

 public function GetPageList()
 {
     $currentPageCaption = $this->GetShortCaption();
     $result = new PageList($this);
     $result->AddGroup($this->RenderText('Default'));
     if (GetCurrentUserGrantForDataSource('dbo.EtatConnexion')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Dbo.EtatConnexion'), 'dbo.EtatConnexion.php', $this->RenderText('Dbo.EtatConnexion'), $currentPageCaption == $this->RenderText('Dbo.EtatConnexion'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('dbo.EvenementSysteme')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Dbo.EvenementSysteme'), 'dbo.EvenementSysteme.php', $this->RenderText('Dbo.EvenementSysteme'), $currentPageCaption == $this->RenderText('Dbo.EvenementSysteme'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('dbo.InfosFichiers')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Dbo.InfosFichiers'), 'dbo.InfosFichiers.php', $this->RenderText('Dbo.InfosFichiers'), $currentPageCaption == $this->RenderText('Dbo.InfosFichiers'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('dbo.IPClients')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Dbo.IPClients'), 'dbo.IPClients.php', $this->RenderText('Dbo.IPClients'), $currentPageCaption == $this->RenderText('Dbo.IPClients'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('dbo.MachinesClientes')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Dbo.MachinesClientes'), 'dbo.MachinesClientes.php', $this->RenderText('Dbo.MachinesClientes'), $currentPageCaption == $this->RenderText('Dbo.MachinesClientes'), false, $this->RenderText('Default')));
     }
     if (HasAdminPage() && GetApplication()->HasAdminGrantForCurrentUser()) {
         $result->AddGroup('Admin area');
         $result->AddPage(new PageLink($this->GetLocalizerCaptions()->GetMessageString('AdminPage'), 'phpgen_admin.php', $this->GetLocalizerCaptions()->GetMessageString('AdminPage'), false, false, 'Admin area'));
     }
     return $result;
 }
开发者ID:martinw0102,项目名称:ProjetSyst,代码行数:26,代码来源:dbo.MachinesClientes.php

示例4: GetPageList

 public function GetPageList()
 {
     $currentPageCaption = $this->GetShortCaption();
     $result = new PageList($this);
     if (GetCurrentUserGrantForDataSource('hometext')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Home Page Text'), 'HomePageText.php', $this->RenderText('Home Page Text'), $currentPageCaption == $this->RenderText('Home Page Text')));
     }
     if (HasAdminPage() && GetApplication()->HasAdminGrantForCurrentUser()) {
         $result->AddPage(new PageLink($this->GetLocalizerCaptions()->GetMessageString('AdminPage'), 'phpgen_admin.php', $this->GetLocalizerCaptions()->GetMessageString('AdminPage'), false, true));
     }
     return $result;
 }
开发者ID:howareyoucolin,项目名称:demo,代码行数:12,代码来源:HomePageText.php

示例5: createForPage

 public static function createForPage(CommonPage $page)
 {
     $currentPageFilename = $page->GetPageFileName();
     $pageList = new PageList($page);
     $pageGroups = GetPageGroups();
     foreach ($pageGroups as $group) {
         $pageList->AddGroup($page->RenderText($group));
     }
     $pageInfos = GetPageInfos();
     foreach ($pageInfos as $pageInfo) {
         if (!GetCurrentUserGrantForDataSource($pageInfo['name'])->HasViewGrant()) {
             continue;
         }
         $shortCaption = $page->RenderText($pageInfo['short_caption']);
         $pageList->AddPage(new PageLink($page->RenderText($pageInfo['caption']), $pageInfo['filename'], $shortCaption, $currentPageFilename == $pageInfo['filename'], $pageInfo['add_separator'], $page->RenderText($pageInfo['group_name'])));
     }
     return $pageList;
 }
开发者ID:outsourcinggithub,项目名称:outsourcing,代码行数:18,代码来源:page_list.php

示例6: TextViewColumn

        // View column for ProgramName field
        //
        $column = new TextViewColumn('ProgramName', 'ProgramName', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'dbo_AlterLogGrid_ProgramName_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new dbo_AlterLogPage("Detalle Objetos.php", "dbo_AlterLog", GetCurrentUserGrantForDataSource("dbo.AlterLog"), 'UTF-8');
    $Page->SetShortCaption('Detalle Objetos');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("dbo.AlterLog"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
开发者ID:jorgedison,项目名称:Audit-Database,代码行数:31,代码来源:Detalle+Objetos.php

示例7: CreateGrid

 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'offerteGrid');
     if ($this->GetSecurityInfo()->HasDeleteGrant()) {
         $result->SetAllowDeleteSelected(false);
     } else {
         $result->SetAllowDeleteSelected(false);
     }
     ApplyCommonPageSettings($this, $result);
     $result->SetUseImagesForActions(true);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(true);
     $result->SetAllowOrdering(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $result->BeforeUpdateRecord->AddListener('offerteGrid' . '_' . 'BeforeUpdateRecord', $this);
     $result->BeforeInsertRecord->AddListener('offerteGrid' . '_' . 'BeforeInsertRecord', $this);
     $this->CreateGridSearchControl($result);
     $this->CreateGridAdvancedSearchControl($result);
     $this->AddFieldColumns($result);
     $this->AddSingleRecordViewColumns($result);
     $this->AddEditColumns($result);
     $this->AddInsertColumns($result);
     $this->AddPrintColumns($result);
     $this->AddExportColumns($result);
     $this->AddOperationsColumns($result);
     $this->SetShowPageList(true);
     $this->SetHidePageListByDefault(false);
     $this->SetExportToExcelAvailable(false);
     $this->SetExportToWordAvailable(false);
     $this->SetExportToXmlAvailable(false);
     $this->SetExportToCsvAvailable(false);
     $this->SetExportToPdfAvailable(false);
     $this->SetPrinterFriendlyAvailable(false);
     $this->SetSimpleSearchAvailable(false);
     $this->SetAdvancedSearchAvailable(false);
     $this->SetFilterRowAvailable(false);
     $this->SetVisualEffectsEnabled(true);
     $this->SetShowTopPageNavigator(false);
     $this->SetShowBottomPageNavigator(false);
     //
     // Http Handlers
     //
     $pageView = new offerte_dettaglio_articoliDetailView0offertePage($this, 'Offerte Dettaglio Articoli', 'Offerte Dettaglio Articoli', array('ofa-offid'), GetCurrentUserGrantForDataSource('offerte.offerte_dettaglio_articoli'), 'UTF-8', 20, 'offerte_dettaglio_articoliDetailEdit0offerte_handler');
     $pageView->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('offerte.offerte_dettaglio_articoli'));
     $handler = new PageHTTPHandler('offerte_dettaglio_articoliDetailView0offerte_handler', $pageView);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageEdit = new offerte_dettaglio_articoliDetailEdit0offertePage($this, array('ofa-offid'), array('id'), $this->GetForeingKeyFields(), $this->CreateMasterDetailRecordGridForofferte_dettaglio_articoliDetailEdit0offerteGrid(), $this->dataset, GetCurrentUserGrantForDataSource('offerte.offerte_dettaglio_articoli'), 'UTF-8');
     $pageEdit->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('offerte.offerte_dettaglio_articoli'));
     $pageEdit->SetShortCaption('Offerte Dettaglio Articoli');
     $pageEdit->SetHeader(GetPagesHeader());
     $pageEdit->SetFooter(GetPagesFooter());
     $pageEdit->SetCaption('Offerte Dettaglio Articoli');
     $pageEdit->SetHttpHandlerName('offerte_dettaglio_articoliDetailEdit0offerte_handler');
     $handler = new PageHTTPHandler('offerte_dettaglio_articoliDetailEdit0offerte_handler', $pageEdit);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
开发者ID:eroncalli,项目名称:atig,代码行数:58,代码来源:offerte.php

示例8: GetUrlToRedirectAfterLogin

 private function GetUrlToRedirectAfterLogin()
 {
     $pageInfos = GetPageInfos();
     foreach ($pageInfos as $pageInfo) {
         if (GetCurrentUserGrantForDataSource($pageInfo['name'])->HasViewGrant()) {
             return $pageInfo['filename'];
         }
     }
     return $this->urlToRedirectAfterLogin;
 }
开发者ID:CivicInfoBC,项目名称:workplan.gov_ver_1.19,代码行数:10,代码来源:login.php

示例9: GetPageList

 public function GetPageList()
 {
     $currentPageCaption = $this->GetShortCaption();
     $result = new PageList($this);
     $result->AddGroup($this->RenderText('Default'));
     if (GetCurrentUserGrantForDataSource('GE.BEBEDOR')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('BEBEDOR'), 'GE.BEBEDOR.php', $this->RenderText('BEBEDOR'), $currentPageCaption == $this->RenderText('BEBEDOR'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.CATEGORIA_INTERES')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('CATEGORIA INTERES'), 'GE.CATEGORIA_INTERES.php', $this->RenderText('CATEGORIA INTERES'), $currentPageCaption == $this->RenderText('CATEGORIA INTERES'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.CIUDAD')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('CIUDAD'), 'GE.CIUDAD.php', $this->RenderText('CIUDAD'), $currentPageCaption == $this->RenderText('CIUDAD'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.COLOR_OJOS')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('COLOR OJOS'), 'GE.COLOR_OJOS.php', $this->RenderText('COLOR OJOS'), $currentPageCaption == $this->RenderText('COLOR OJOS'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.webreports')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Webreports'), 'GE.webreports.php', $this->RenderText('Webreports'), $currentPageCaption == $this->RenderText('Webreports'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.webreport_style')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Webreport Style'), 'GE.webreport_style.php', $this->RenderText('Webreport Style'), $currentPageCaption == $this->RenderText('Webreport Style'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.webreport_sql')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Webreport Sql'), 'GE.webreport_sql.php', $this->RenderText('Webreport Sql'), $currentPageCaption == $this->RenderText('Webreport Sql'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.WINK')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('WINK'), 'GE.WINK.php', $this->RenderText('WINK'), $currentPageCaption == $this->RenderText('WINK'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.webreport_admin')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Webreport Admin'), 'GE.webreport_admin.php', $this->RenderText('Webreport Admin'), $currentPageCaption == $this->RenderText('Webreport Admin'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.VISITA')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('VISITA'), 'GE.VISITA.php', $this->RenderText('VISITA'), $currentPageCaption == $this->RenderText('VISITA'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.TIPO_RELACION')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('TIPO RELACION'), 'GE.TIPO_RELACION.php', $this->RenderText('TIPO RELACION'), $currentPageCaption == $this->RenderText('TIPO RELACION'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.SALARIO')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('SALARIO'), 'GE.SALARIO.php', $this->RenderText('SALARIO'), $currentPageCaption == $this->RenderText('SALARIO'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.RELIGION')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('RELIGION'), 'GE.RELIGION.php', $this->RenderText('RELIGION'), $currentPageCaption == $this->RenderText('RELIGION'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLEXRELIGION')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLEXRELIGION'), 'GE.PERSONA_DISPONIBLEXRELIGION.php', $this->RenderText('PERSONA DISPONIBLEXRELIGION'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLEXRELIGION'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLEXOCUPACION')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLEXOCUPACION'), 'GE.PERSONA_DISPONIBLEXOCUPACION.php', $this->RenderText('PERSONA DISPONIBLEXOCUPACION'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLEXOCUPACION'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLEXMASCOTA')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLEXMASCOTA'), 'GE.PERSONA_DISPONIBLEXMASCOTA.php', $this->RenderText('PERSONA DISPONIBLEXMASCOTA'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLEXMASCOTA'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLEXINTERES')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLEXINTERES'), 'GE.PERSONA_DISPONIBLEXINTERES.php', $this->RenderText('PERSONA DISPONIBLEXINTERES'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLEXINTERES'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLEXEJERCICIO')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLEXEJERCICIO'), 'GE.PERSONA_DISPONIBLEXEJERCICIO.php', $this->RenderText('PERSONA DISPONIBLEXEJERCICIO'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLEXEJERCICIO'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLEXCOLOR_PELO')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLEXCOLOR PELO'), 'GE.PERSONA_DISPONIBLEXCOLOR_PELO.php', $this->RenderText('PERSONA DISPONIBLEXCOLOR PELO'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLEXCOLOR PELO'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLEXIDIOMA')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLEXIDIOMA'), 'GE.PERSONA_DISPONIBLEXIDIOMA.php', $this->RenderText('PERSONA DISPONIBLEXIDIOMA'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLEXIDIOMA'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA_DISPONIBLE')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA DISPONIBLE'), 'GE.PERSONA_DISPONIBLE.php', $this->RenderText('PERSONA DISPONIBLE'), $currentPageCaption == $this->RenderText('PERSONA DISPONIBLE'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PERSONA')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PERSONA'), 'GE.PERSONA.php', $this->RenderText('PERSONA'), $currentPageCaption == $this->RenderText('PERSONA'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PARAMETROS')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PARAMETROS'), 'GE.PARAMETROS.php', $this->RenderText('PARAMETROS'), $currentPageCaption == $this->RenderText('PARAMETROS'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.PAIS')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('PAIS'), 'GE.PAIS.php', $this->RenderText('PAIS'), $currentPageCaption == $this->RenderText('PAIS'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.OCUPACIONXCATEGORIA_OCUPACION')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('OCUPACIONXCATEGORIA OCUPACION'), 'GE.OCUPACIONXCATEGORIA_OCUPACION.php', $this->RenderText('OCUPACIONXCATEGORIA OCUPACION'), $currentPageCaption == $this->RenderText('OCUPACIONXCATEGORIA OCUPACION'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.OCUPACION')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('OCUPACION'), 'GE.OCUPACION.php', $this->RenderText('OCUPACION'), $currentPageCaption == $this->RenderText('OCUPACION'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.MASCOTA')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('MASCOTA'), 'GE.MASCOTA.php', $this->RenderText('MASCOTA'), $currentPageCaption == $this->RenderText('MASCOTA'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.NIVEL_EDUCACION')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('NIVEL EDUCACION'), 'GE.NIVEL_EDUCACION.php', $this->RenderText('NIVEL EDUCACION'), $currentPageCaption == $this->RenderText('NIVEL EDUCACION'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.INTERESXCATEGORIA_INTERES')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('INTERESXCATEGORIA INTERES'), 'GE.INTERESXCATEGORIA_INTERES.php', $this->RenderText('INTERESXCATEGORIA INTERES'), $currentPageCaption == $this->RenderText('INTERESXCATEGORIA INTERES'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.INTERES')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('INTERES'), 'GE.INTERES.php', $this->RenderText('INTERES'), $currentPageCaption == $this->RenderText('INTERES'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.IDIOMA')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('IDIOMA'), 'GE.IDIOMA.php', $this->RenderText('IDIOMA'), $currentPageCaption == $this->RenderText('IDIOMA'), false, $this->RenderText('Default')));
     }
     if (GetCurrentUserGrantForDataSource('GE.GENERO')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('GENERO'), 'GE.GENERO.php', $this->RenderText('GENERO'), $currentPageCaption == $this->RenderText('GENERO'), false, $this->RenderText('Default')));
//.........这里部分代码省略.........
开发者ID:kcallow,项目名称:MatchMe,代码行数:101,代码来源:GE.PERSONA.php

示例10: TextViewColumn

        //
        $column = new TextViewColumn('ruta', 'Ruta', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'objeto_planificacionGrid_ruta_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new objeto_planificacionPage("objeto_planificacion.php", "objeto_planificacion", GetCurrentUserGrantForDataSource("objeto_planificacion"), 'UTF-8');
    $Page->SetShortCaption('Objetos Planificación');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Objetos Planificación');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("objeto_planificacion"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
开发者ID:outsourcinggithub,项目名称:outsourcing,代码行数:31,代码来源:objeto_planificacion.php

示例11: GetPageList

 public function GetPageList()
 {
     $currentPageCaption = $this->GetShortCaption();
     $result = new PageList($this);
     $result->AddGroup($this->RenderText('Transacciones'));
     $result->AddGroup($this->RenderText('Relaciones'));
     $result->AddGroup($this->RenderText('Paramétricas'));
     $result->AddGroup($this->RenderText('Maestras'));
     if (GetCurrentUserGrantForDataSource('public.ods_actividad')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Actividad'), 'actividad.php', $this->RenderText('Actividad'), $currentPageCaption == $this->RenderText('Actividad'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_area')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Area'), 'area.php', $this->RenderText('Area'), $currentPageCaption == $this->RenderText('Area'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_bien')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Bien'), 'bien.php', $this->RenderText('Bien'), $currentPageCaption == $this->RenderText('Bien'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_empresa')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Empresa'), 'empresa.php', $this->RenderText('Empresa'), $currentPageCaption == $this->RenderText('Empresa'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_espacio')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Espacio'), 'espacio.php', $this->RenderText('Espacio'), $currentPageCaption == $this->RenderText('Espacio'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_insumo')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Insumo'), 'insumo.php', $this->RenderText('Insumo'), $currentPageCaption == $this->RenderText('Insumo'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_lectura')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Lectura'), 'lectura.php', $this->RenderText('Lectura'), $currentPageCaption == $this->RenderText('Lectura'), false, $this->RenderText('Transacciones')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_lugar')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Lugar'), 'lugar.php', $this->RenderText('Lugar'), $currentPageCaption == $this->RenderText('Lugar'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_ocupa')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Ocupa (Area / Espacio)'), 'ocupa.php', $this->RenderText('Ocupa'), $currentPageCaption == $this->RenderText('Ocupa (Area / Espacio)'), false, $this->RenderText('Relaciones')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_origen_lectura')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Origen Lectura'), 'origen_lectura.php', $this->RenderText('Origen Lectura'), $currentPageCaption == $this->RenderText('Origen Lectura'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_origen')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Origen'), 'origen.php', $this->RenderText('Origen'), $currentPageCaption == $this->RenderText('Origen'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_periodicidad')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Periodicidad'), 'periodicidad.php', $this->RenderText('Periodicidad'), $currentPageCaption == $this->RenderText('Periodicidad'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_persona')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Persona'), 'persona.php', $this->RenderText('Persona'), $currentPageCaption == $this->RenderText('Persona'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_realiza')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Realiza (Persona / Tarea)'), 'realiza.php', $this->RenderText('Realiza'), $currentPageCaption == $this->RenderText('Realiza (Persona / Tarea)'), false, $this->RenderText('Relaciones')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_requiere')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Requiere (Actividad / Insumo)'), 'requiere.php', $this->RenderText('Requiere'), $currentPageCaption == $this->RenderText('Requiere (Actividad / Insumo)'), false, $this->RenderText('Relaciones')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_tarea')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Tarea'), 'tarea.php', $this->RenderText('Tarea'), $currentPageCaption == $this->RenderText('Tarea'), false, $this->RenderText('Transacciones')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_tarea_plan')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Tarea Plan'), 'tarea_plan.php', $this->RenderText('Tarea Plan'), $currentPageCaption == $this->RenderText('Tarea Plan'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_tipo_bien')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Tipo Bien'), 'tipo_bien.php', $this->RenderText('Tipo Bien'), $currentPageCaption == $this->RenderText('Tipo Bien'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_tipo_espacio')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Tipo Espacio'), 'tipo_espacio.php', $this->RenderText('Tipo Espacio'), $currentPageCaption == $this->RenderText('Tipo Espacio'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_tipo_insumo')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Tipo Insumo'), 'tipo_insumo.php', $this->RenderText('Tipo Insumo'), $currentPageCaption == $this->RenderText('Tipo Insumo'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_tipo_persona')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Tipo Persona'), 'tipo_persona.php', $this->RenderText('Tipo Persona'), $currentPageCaption == $this->RenderText('Tipo Persona'), false, $this->RenderText('Paramétricas')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_accion')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Accion (Espacio / Tarea)'), 'accion.php', $this->RenderText('Accion'), $currentPageCaption == $this->RenderText('Accion (Espacio / Tarea)'), false, $this->RenderText('Maestras')));
     }
     if (GetCurrentUserGrantForDataSource('public.ods_metodologia')->HasViewGrant()) {
         $result->AddPage(new PageLink($this->RenderText('Metodologia de Acción'), 'metodologia.php', $this->RenderText('Metodologia'), $currentPageCaption == $this->RenderText('Metodologia de Acción'), false, $this->RenderText('Paramétricas')));
     }
     if (HasAdminPage() && GetApplication()->HasAdminGrantForCurrentUser()) {
         $result->AddGroup('Admin area');
         $result->AddPage(new PageLink($this->GetLocalizerCaptions()->GetMessageString('AdminPage'), 'phpgen_admin.php', $this->GetLocalizerCaptions()->GetMessageString('AdminPage'), false, false, 'Admin area'));
     }
     return $result;
 }
开发者ID:jsrxar,项目名称:dto,代码行数:83,代码来源:actividad.php

示例12: TextViewColumn

        // View column for Nombre field
        //
        $column = new TextViewColumn('Nombre', 'Nombre', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'dbo_TamanoBaseDatosGrid_Nombre_handler_list', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new dbo_TamanoBaseDatosPage("Volumen.php", "dbo_TamanoBaseDatos", GetCurrentUserGrantForDataSource("dbo.TamanoBaseDatos"), 'UTF-8');
    $Page->SetShortCaption('Volumen');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("dbo.TamanoBaseDatos"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
开发者ID:jorgedison,项目名称:Audit-Database,代码行数:31,代码来源:Volumen.php

示例13: CreateGrid

 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'planificacionGrid');
     if ($this->GetSecurityInfo()->HasDeleteGrant()) {
         $result->SetAllowDeleteSelected(true);
     } else {
         $result->SetAllowDeleteSelected(false);
     }
     ApplyCommonPageSettings($this, $result);
     $result->SetUseImagesForActions(true);
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetShowKeyColumnsImagesInHeader(false);
     $result->SetViewMode(ViewMode::TABLE);
     $result->setEnableRuntimeCustomization(true);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->CreateGridSearchControl($result);
     $this->CreateGridAdvancedSearchControl($result);
     $this->AddOperationsColumns($result);
     $this->AddFieldColumns($result);
     $this->AddSingleRecordViewColumns($result);
     $this->AddEditColumns($result);
     $this->AddInsertColumns($result);
     $this->AddPrintColumns($result);
     $this->AddExportColumns($result);
     $this->SetShowPageList(true);
     $this->SetExportToExcelAvailable(true);
     $this->SetExportToWordAvailable(true);
     $this->SetExportToXmlAvailable(true);
     $this->SetExportToCsvAvailable(true);
     $this->SetExportToPdfAvailable(true);
     $this->SetPrinterFriendlyAvailable(true);
     $this->SetSimpleSearchAvailable(true);
     $this->SetAdvancedSearchAvailable(true);
     $this->SetVisualEffectsEnabled(true);
     $this->SetShowTopPageNavigator(true);
     $this->SetShowBottomPageNavigator(true);
     //
     // Http Handlers
     //
     $pageView = new actividadDetailView0planificacionPage($this, 'Actividades', 'Actividades', array('id_planificacion'), GetCurrentUserGrantForDataSource('planificacion.actividad'), 'UTF-8', 20, 'actividadDetailEdit0planificacion_handler');
     $pageView->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('planificacion.actividad'));
     $handler = new PageHTTPHandler('actividadDetailView0planificacion_handler', $pageView);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageEdit = new actividadDetailEdit0planificacionPage($this, array('id_planificacion'), array('id'), $this->GetForeingKeyFields(), $this->CreateMasterDetailRecordGridForactividadDetailEdit0planificacionGrid(), $this->dataset, GetCurrentUserGrantForDataSource('planificacion.actividad'), 'UTF-8');
     $pageEdit->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('planificacion.actividad'));
     $pageEdit->SetShortCaption('Actividades');
     $pageEdit->SetHeader(GetPagesHeader());
     $pageEdit->SetFooter(GetPagesFooter());
     $pageEdit->SetCaption('Actividades');
     $pageEdit->SetHttpHandlerName('actividadDetailEdit0planificacion_handler');
     $handler = new PageHTTPHandler('actividadDetailEdit0planificacion_handler', $pageEdit);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageView = new objeto_planificacionDetailView1planificacionPage($this, 'Objetos a Aplicar', 'Objetos a Aplicar', array('id_planificacion'), GetCurrentUserGrantForDataSource('planificacion.objeto_planificacion'), 'UTF-8', 20, 'objeto_planificacionDetailEdit1planificacion_handler');
     $pageView->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('planificacion.objeto_planificacion'));
     $handler = new PageHTTPHandler('objeto_planificacionDetailView1planificacion_handler', $pageView);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageEdit = new objeto_planificacionDetailEdit1planificacionPage($this, array('id_planificacion'), array('id'), $this->GetForeingKeyFields(), $this->CreateMasterDetailRecordGridForobjeto_planificacionDetailEdit1planificacionGrid(), $this->dataset, GetCurrentUserGrantForDataSource('planificacion.objeto_planificacion'), 'UTF-8');
     $pageEdit->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('planificacion.objeto_planificacion'));
     $pageEdit->SetShortCaption('Objetos a Aplicar');
     $pageEdit->SetHeader(GetPagesHeader());
     $pageEdit->SetFooter(GetPagesFooter());
     $pageEdit->SetCaption('Objetos a Aplicar');
     $pageEdit->SetHttpHandlerName('objeto_planificacionDetailEdit1planificacion_handler');
     $handler = new PageHTTPHandler('objeto_planificacionDetailEdit1planificacion_handler', $pageEdit);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for descripcion field
     //
     $column = new TextViewColumn('descripcion', 'Descripción', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'planificacionGrid_descripcion_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for criterios_aceptacion field
     //
     $column = new TextViewColumn('criterios_aceptacion', 'Criterios Aceptación', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'planificacionGrid_criterios_aceptacion_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for observaciones field
     //
     $column = new TextViewColumn('observaciones', 'Observaciones', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'planificacionGrid_observaciones_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for descripcion field
     //
     $column = new TextViewColumn('descripcion', 'Descripción', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'planificacionGrid_descripcion_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for criterios_aceptacion field
     //
     $column = new TextViewColumn('criterios_aceptacion', 'Criterios Aceptación', $this->dataset);
     $column->SetOrderable(true);
//.........这里部分代码省略.........
开发者ID:outsourcinggithub,项目名称:outsourcing,代码行数:101,代码来源:planificacion.php

示例14: TextViewColumn

        // View column for Database field
        //
        $column = new TextViewColumn('Database', 'Database', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'dbo_procesosbdGrid_Database_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new dbo_procesosbdPage("Sesiones.php", "dbo_procesosbd", GetCurrentUserGrantForDataSource("dbo.procesosbd"), 'UTF-8');
    $Page->SetShortCaption('Sesiones');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("dbo.procesosbd"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
开发者ID:jorgedison,项目名称:Audit-Database,代码行数:31,代码来源:Sesiones.php

示例15: TextViewColumn

        //
        $column = new TextViewColumn('ruta', 'Ruta', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'objeto_refactorizacionGrid_ruta_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new objeto_refactorizacionPage("objeto_refactorizacion.php", "objeto_refactorizacion", GetCurrentUserGrantForDataSource("objeto_refactorizacion"), 'UTF-8');
    $Page->SetShortCaption('Objetos Refactorización');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Objetos Refactorización');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("objeto_refactorizacion"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
开发者ID:outsourcinggithub,项目名称:outsourcing,代码行数:31,代码来源:objeto_refactorizacion.php


注:本文中的GetCurrentUserGrantForDataSource函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。