コード例 #1
0
        $this->SetShowTopPageNavigator(false);
        $this->SetShowBottomPageNavigator(false);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new Total_Allocated_HrsPage("Total_Allocated_Hrs.php", "Total_Allocated_Hrs", GetCurrentUserGrantForDataSource("Total Allocated Hrs"), 'UTF-8');
    $Page->SetShortCaption('Chart: Total Allocated Hrs');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Total Allocated Hrs');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("Total Allocated Hrs"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #2
0
ファイル: periodicidad.php プロジェクト: jsrxar/dto
            return false;
        }
    
        protected function DoGetGridHeader()
        {
            return '';
        }
    }

    SetUpUserAuthorization(GetApplication());

    try
    {
        $Page = new public_sga_periodicidadPage("periodicidad.php", "public_sga_periodicidad", GetCurrentUserGrantForDataSource("public.sga_periodicidad"), 'UTF-8');
        $Page->SetShortCaption('Periodicidad');
        $Page->SetHeader(GetPagesHeader());
        $Page->SetFooter(GetPagesFooter());
        $Page->SetCaption('Periodicidad');
        $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.sga_periodicidad"));
        GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
        GetApplication()->SetCanUserChangeOwnPassword(
            !function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
        GetApplication()->SetMainPage($Page);
        GetApplication()->Run();
    }
    catch(Exception $e)
    {
        ShowErrorPage($e->getMessage());
    }
	
コード例 #3
0
        $this->SetShowTopPageNavigator(false);
        $this->SetShowBottomPageNavigator(false);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new Allocated_Hrs_by_PriorityPage("Allocated_Hrs_by_Priority.php", "Allocated_Hrs_by_Priority", GetCurrentUserGrantForDataSource("Allocated Hrs by Priority"), 'UTF-8');
    $Page->SetShortCaption('Chart: Allocated Hrs by Priority');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Allocated Hrs by Priority');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("Allocated Hrs by Priority"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #4
0
        $this->SetShowTopPageNavigator(false);
        $this->SetShowBottomPageNavigator(false);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new Project_by_Approved_BudgetPage("Project_by_approved_budget.php", "Project_by_Approved_Budget", GetCurrentUserGrantForDataSource("Project by Approved Budget"), 'UTF-8');
    $Page->SetShortCaption('Chart: Project By Budget');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Project By approved Budget');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("Project by Approved Budget"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #5
0
ファイル: tipo_espacio.php プロジェクト: jsrxar/dto
            return false;
        }
    
        protected function DoGetGridHeader()
        {
            return '';
        }
    }

    SetUpUserAuthorization(GetApplication());

    try
    {
        $Page = new public_sga_tipo_espacioPage("tipo_espacio.php", "public_sga_tipo_espacio", GetCurrentUserGrantForDataSource("public.sga_tipo_espacio"), 'UTF-8');
        $Page->SetShortCaption('Tipo Espacio');
        $Page->SetHeader(GetPagesHeader());
        $Page->SetFooter(GetPagesFooter());
        $Page->SetCaption('Tipo Espacio');
        $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.sga_tipo_espacio"));
        GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
        GetApplication()->SetCanUserChangeOwnPassword(
            !function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
        GetApplication()->SetMainPage($Page);
        GetApplication()->Run();
    }
    catch(Exception $e)
    {
        ShowErrorPage($e->getMessage());
    }
	
コード例 #6
0
ファイル: Priority.php プロジェクト: BCDevExchange/WORKPLAN
        $this->SetShowTopPageNavigator(true);
        $this->SetShowBottomPageNavigator(true);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new PriorityPage("Priority.php", "Priority", GetCurrentUserGrantForDataSource("Priority"), 'UTF-8');
    $Page->SetShortCaption('Priority');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Priority');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("Priority"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #7
0
ファイル: actividad.php プロジェクト: jsrxar/dto
        //
        $column = new TextViewColumn('ds_referencia', 'Ds Referencia', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'public_ods_actividadGrid_ds_referencia_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new public_ods_actividadPage("actividad.php", "public_ods_actividad", GetCurrentUserGrantForDataSource("public.ods_actividad"), 'UTF-8');
    $Page->SetShortCaption('Actividad');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Actividad');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.ods_actividad"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #8
0
ファイル: metodologia.php プロジェクト: jsrxar/dto
            return false;
        }
    
        protected function DoGetGridHeader()
        {
            return '';
        }
    }

    SetUpUserAuthorization(GetApplication());

    try
    {
        $Page = new public_sga_metodologiaPage("metodologia.php", "public_sga_metodologia", GetCurrentUserGrantForDataSource("public.sga_metodologia"), 'UTF-8');
        $Page->SetShortCaption('Metodologia de Acción');
        $Page->SetHeader(GetPagesHeader());
        $Page->SetFooter(GetPagesFooter());
        $Page->SetCaption('Metodologia');
        $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.sga_metodologia"));
        GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
        GetApplication()->SetCanUserChangeOwnPassword(
            !function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
        GetApplication()->SetMainPage($Page);
        GetApplication()->Run();
    }
    catch(Exception $e)
    {
        ShowErrorPage($e->getMessage());
    }
	
コード例 #9
0
ファイル: listino_articoli.php プロジェクト: eroncalli/atig
        $lookupDataset->AddField($field, false);
        $lookupDataset->setOrderByField('descrizione', GetOrderTypeAsSQL(otAscending));
        $lookupDataset->AddCustomCondition(EnvVariablesUtils::EvaluateVariableTemplate($this->GetColumnVariableContainer(), ''));
        $handler = new DynamicSearchHandler($lookupDataset, $this, 'insert_lis-codart_descrizione_search', 'art-codart', 'descrizione', null);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new listino_articoliPage("listino_articoli.php", "listino_articoli", GetCurrentUserGrantForDataSource("listino_articoli"), 'UTF-8');
    $Page->SetShortCaption('Listino Articoli');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Listino Articoli');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("listino_articoli"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #10
0
        //
        $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'ProjectViewGrid_public_engagement_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new ProjectViewPage("ProjectView.php", "ProjectView", GetCurrentUserGrantForDataSource("ProjectView"), 'UTF-8');
    $Page->SetShortCaption('ProjectView');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('ProjectView');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("ProjectView"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #11
0
ファイル: origen_lectura.php プロジェクト: jsrxar/dto
        //
        $column = new TextViewColumn('no_origen_lectura', 'Nombre Origen Lectura', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'public_ods_origen_lecturaGrid_no_origen_lectura_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new public_ods_origen_lecturaPage("origen_lectura.php", "public_ods_origen_lectura", GetCurrentUserGrantForDataSource("public.ods_origen_lectura"), 'UTF-8');
    $Page->SetShortCaption('Origen Lectura');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Origen Lectura');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.ods_origen_lectura"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #12
0
ファイル: GE.COLOR_PELO.php プロジェクト: kcallow/MatchMe
        $this->SetVisualEffectsEnabled(false);
        $this->SetShowTopPageNavigator(true);
        $this->SetShowBottomPageNavigator(true);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new GE_COLOR_PELOPage("GE.COLOR_PELO.php", "GE_COLOR_PELO", GetCurrentUserGrantForDataSource("GE.COLOR_PELO"), 'UTF-8');
    $Page->SetShortCaption('COLOR PELO');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('COLOR PELO');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("GE.COLOR_PELO"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #13
0
        //
        $column = new TextViewColumn('descrizione', 'Descrizione', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'elenco_clienti_viewGrid_descrizione_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new elenco_clienti_viewPage("elenco_clienti_view.php", "elenco_clienti_view", GetCurrentUserGrantForDataSource("elenco_clienti_view"), 'UTF-8');
    $Page->SetShortCaption('Elenco Clienti View');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Elenco Clienti View');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("elenco_clienti_view"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #14
0
ファイル: GE.MASCOTA.php プロジェクト: kcallow/MatchMe
        $this->SetVisualEffectsEnabled(false);
        $this->SetShowTopPageNavigator(true);
        $this->SetShowBottomPageNavigator(true);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new GE_MASCOTAPage("GE.MASCOTA.php", "GE_MASCOTA", GetCurrentUserGrantForDataSource("GE.MASCOTA"), 'UTF-8');
    $Page->SetShortCaption('MASCOTA');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('MASCOTA');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("GE.MASCOTA"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #15
0
ファイル: GE.ESTADO_CIVIL.php プロジェクト: kcallow/MatchMe
        $this->SetVisualEffectsEnabled(false);
        $this->SetShowTopPageNavigator(true);
        $this->SetShowBottomPageNavigator(true);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new GE_ESTADO_CIVILPage("GE.ESTADO_CIVIL.php", "GE_ESTADO_CIVIL", GetCurrentUserGrantForDataSource("GE.ESTADO_CIVIL"), 'UTF-8');
    $Page->SetShortCaption('ESTADO CIVIL');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('ESTADO CIVIL');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("GE.ESTADO_CIVIL"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #16
0
ファイル: empresa.php プロジェクト: jsrxar/dto
        //
        $column = new TextViewColumn('no_empresa', 'Nombre Empresa', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'public_ods_empresaGrid_no_empresa_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new public_ods_empresaPage("empresa.php", "public_ods_empresa", GetCurrentUserGrantForDataSource("public.ods_empresa"), 'UTF-8');
    $Page->SetShortCaption('Empresa');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Empresa');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.ods_empresa"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #17
0
        $this->SetVisualEffectsEnabled(false);
        $this->SetShowTopPageNavigator(true);
        $this->SetShowBottomPageNavigator(true);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new GE_PERSONA_DISPONIBLEXEJERCICIOPage("GE.PERSONA_DISPONIBLEXEJERCICIO.php", "GE_PERSONA_DISPONIBLEXEJERCICIO", GetCurrentUserGrantForDataSource("GE.PERSONA_DISPONIBLEXEJERCICIO"), 'UTF-8');
    $Page->SetShortCaption('PERSONA DISPONIBLEXEJERCICIO');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('PERSONA DISPONIBLEXEJERCICIO');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("GE.PERSONA_DISPONIBLEXEJERCICIO"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #18
0
ファイル: tipo_persona.php プロジェクト: jsrxar/dto
            return false;
        }
    
        protected function DoGetGridHeader()
        {
            return '';
        }
    }

    SetUpUserAuthorization(GetApplication());

    try
    {
        $Page = new public_ods_tipo_personaPage("tipo_persona.php", "public_ods_tipo_persona", GetCurrentUserGrantForDataSource("public.ods_tipo_persona"), 'UTF-8');
        $Page->SetShortCaption('Tipo Persona');
        $Page->SetHeader(GetPagesHeader());
        $Page->SetFooter(GetPagesFooter());
        $Page->SetCaption('Tipo Persona');
        $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.ods_tipo_persona"));
        GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
        GetApplication()->SetCanUserChangeOwnPassword(
            !function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
        GetApplication()->SetMainPage($Page);
        GetApplication()->Run();
    }
    catch(Exception $e)
    {
        ShowErrorPage($e->getMessage());
    }
	
コード例 #19
0
        $this->SetShowTopPageNavigator(false);
        $this->SetShowBottomPageNavigator(false);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new offerte_dettaglio_costiPage("offerte_dettaglio_costi.php", "offerte_dettaglio_costi", GetCurrentUserGrantForDataSource("offerte_dettaglio_costi"), 'UTF-8');
    $Page->SetShortCaption('Offerte Dettaglio Costi');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Offerte Dettaglio Costi');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("offerte_dettaglio_costi"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #20
0
ファイル: GE.EVENTO.php プロジェクト: kcallow/MatchMe
        // View column for DESCRIPCION field
        //
        $column = new TextViewColumn('DESCRIPCION', 'DESCRIPCION', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'GE_EVENTOGrid_DESCRIPCION_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new GE_EVENTOPage("GE.EVENTO.php", "GE_EVENTO", GetCurrentUserGrantForDataSource("GE.EVENTO"), 'UTF-8');
    $Page->SetShortCaption('EVENTO');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('EVENTO');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("GE.EVENTO"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #21
0
        //
        $column = new TextViewColumn('page_name', 'Page Name', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'phpgen_user_permsGrid_page_name_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new phpgen_user_permsPage("phpgen_user_perms.php", "phpgen_user_perms", GetCurrentUserGrantForDataSource("phpgen_user_perms"), 'UTF-8');
    $Page->SetShortCaption('Phpgen User Perms');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Phpgen User Perms');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("phpgen_user_perms"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #22
0
        // 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());
}
コード例 #23
0
 protected function CreateGrid()
 {
     $result = new Grid($this, $this->dataset, 'projectGrid');
     if ($this->GetSecurityInfo()->HasDeleteGrant()) {
         $result->SetAllowDeleteSelected(true);
     } else {
         $result->SetAllowDeleteSelected(false);
     }
     ApplyCommonPageSettings($this, $result);
     $result->SetUseImagesForActions(true);
     $result->SetInsertClientValidationScript($this->RenderText('if ( Number(fieldValues[\'budget_spent\']) > Number(fieldValues[\'approved_budget\']))
         
         {
           errorInfo.SetMessage(\'"Budget spent is greater than the Approved Budget"\');
           return false;
         }
         else if
         (fieldValues[\'date_start\'] >= fieldValues[\'date_end\'])
         {
           errorInfo.SetMessage(\'"Start date is greater than or equal to End date"\');
           return false;
         }'));
     $result->SetEditClientFormLoadedScript($this->RenderText('if (editors[\'approved\'].getValue() == 1) {
           editors[\'programm_id\'].setEnabled(false);
           editors[\'project_name\'].setEnabled(false);
           editors[\'date_start\'].setEnabled(false);
           editors[\'date_end\'].setEnabled(false);
           editors[\'approved_budget\'].setEnabled(false);
           editors[\'notes\'].setEnabled(false);
           editors[\'priority\'].setEnabled(false);
           editors[\'lead\'].setEnabled(false);
           editors[\'level_of_service\'].setEnabled(false);
           editors[\'multi_year\'].setEnabled(false);
           editors[\'public_engagement\'].setEnabled(false);
           editors[\'year\'].setEnabled(false); 
           editors[\'dept_id\'].setEnabled(false);
           }
         else 
         {
           editors[\'programm_id\'].setEnabled(true);
           editors[\'project_name\'].setEnabled(true);
           editors[\'date_start\'].setEnabled(true);
           editors[\'date_end\'].setEnabled(true);
           editors[\'approved_budget\'].setEnabled(true);
           editors[\'notes\'].setEnabled(true);
           editors[\'priority\'].setEnabled(true);
           editors[\'lead\'].setEnabled(true);
           editors[\'level_of_service\'].setEnabled(true);
           editors[\'multi_year\'].setEnabled(true);
           editors[\'public_engagement\'].setEnabled(true);
           editors[\'year\'].setEnabled(true); 
           editors[\'dept_id\'].setEnabled(true);
         }'));
     $result->SetEditClientValidationScript($this->RenderText('if ( Number(fieldValues[\'budget_spent\']) > Number(fieldValues[\'approved_budget\']))
         
         {
           errorInfo.SetMessage(\'"Budget spent is greater than the Approved Budget"\');
           return false;
         }
         else if
         (fieldValues[\'date_start\'] >= fieldValues[\'date_end\'])
         {
           errorInfo.SetMessage(\'"Start date is greater than or equal to End date"\');
           return false;
         }'));
     $result->SetUseFixedHeader(false);
     $result->SetShowLineNumbers(false);
     $result->SetHighlightRowAtHover(false);
     $result->SetWidth('');
     $this->OnGetCustomTemplate->AddListener('projectGrid' . '_OnGetCustomTemplate', $this);
     $result->OnCustomDrawCell->AddListener('projectGrid' . '_OnCustomDrawRow', $this);
     $result->OnCustomRenderColumn->AddListener('projectGrid' . '_' . 'OnCustomRenderColumn', $this);
     $result->OnCustomRenderTotal->AddListener('projectGrid' . '_' . 'OnCustomRenderTotal', $this);
     $result->BeforeUpdateRecord->AddListener('projectGrid' . '_' . 'BeforeUpdateRecord', $this);
     $result->BeforeInsertRecord->AddListener('projectGrid' . '_' . 'BeforeInsertRecord', $this);
     $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->SetHidePageListByDefault(false);
     $this->SetExportToExcelAvailable(true);
     $this->SetExportToWordAvailable(true);
     $this->SetExportToXmlAvailable(false);
     $this->SetExportToCsvAvailable(true);
     $this->SetExportToPdfAvailable(true);
     $this->SetPrinterFriendlyAvailable(true);
     $this->SetSimpleSearchAvailable(true);
     $this->SetAdvancedSearchAvailable(true);
     $this->SetFilterRowAvailable(true);
     $this->SetVisualEffectsEnabled(true);
     $this->SetShowTopPageNavigator(true);
     $this->SetShowBottomPageNavigator(true);
     //
     // Http Handlers
     //
     $pageView = new taskDetailView0projectPage($this, 'Tasks', 'Tasks', array('project_id'), GetCurrentUserGrantForDataSource('project.task'), 'UTF-8', 20, 'taskDetailEdit0project_handler');
     $pageView->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('project.task'));
     $handler = new PageHTTPHandler('taskDetailView0project_handler', $pageView);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageEdit = new taskDetailEdit0projectPage($this, array('project_id'), array('project_id'), $this->GetForeingKeyFields(), $this->CreateMasterDetailRecordGridFortaskDetailEdit0projectGrid(), $this->dataset, GetCurrentUserGrantForDataSource('project.task'), 'UTF-8');
     $pageEdit->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('project.task'));
     $pageEdit->SetShortCaption('Tasks within this project');
     $pageEdit->SetHeader(GetPagesHeader());
     $pageEdit->SetFooter(GetPagesFooter());
     $pageEdit->SetCaption('Tasks');
     $pageEdit->SetHttpHandlerName('taskDetailEdit0project_handler');
     $handler = new PageHTTPHandler('taskDetailEdit0project_handler', $pageEdit);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageView = new projectDetailView1projectPage($this, 'Project Budget', 'Project Budget', array('project_id'), GetCurrentUserGrantForDataSource('project.project'), 'UTF-8', 20, 'projectDetailEdit1project_handler');
     $pageView->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('project.project'));
     $handler = new PageHTTPHandler('projectDetailView1project_handler', $pageView);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageEdit = new projectDetailEdit1projectPage($this, array('project_id'), array('project_id'), $this->GetForeingKeyFields(), $this->CreateMasterDetailRecordGridForprojectDetailEdit1projectGrid(), $this->dataset, GetCurrentUserGrantForDataSource('project.project'), 'UTF-8');
     $pageEdit->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('project.project'));
     $pageEdit->SetShortCaption('Project Budget Chart');
     $pageEdit->SetHeader(GetPagesHeader());
     $pageEdit->SetFooter(GetPagesFooter());
     $pageEdit->SetCaption('Project Budget');
     $pageEdit->SetHttpHandlerName('projectDetailEdit1project_handler');
     $handler = new PageHTTPHandler('projectDetailEdit1project_handler', $pageEdit);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageView = new project_timeline_detailDetailView2projectPage($this, 'Tasks Gantt view', 'Tasks Gantt view', array('task_project_id'), GetCurrentUserGrantForDataSource('project.project_timeline_detail'), 'UTF-8', 20, 'project_timeline_detailDetailEdit2project_handler');
     $pageView->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('project.project_timeline_detail'));
     $handler = new PageHTTPHandler('project_timeline_detailDetailView2project_handler', $pageView);
     GetApplication()->RegisterHTTPHandler($handler);
     $pageEdit = new project_timeline_detailDetailEdit2projectPage($this, array('task_project_id'), array('project_id'), $this->GetForeingKeyFields(), $this->CreateMasterDetailRecordGridForproject_timeline_detailDetailEdit2projectGrid(), $this->dataset, GetCurrentUserGrantForDataSource('project.project_timeline_detail'), 'UTF-8');
     $pageEdit->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource('project.project_timeline_detail'));
     $pageEdit->SetShortCaption('Tasks Gantt view');
     $pageEdit->SetHeader(GetPagesHeader());
     $pageEdit->SetFooter(GetPagesFooter());
     $pageEdit->SetCaption('Tasks Gantt view');
     $pageEdit->SetHttpHandlerName('project_timeline_detailDetailEdit2project_handler');
     $handler = new PageHTTPHandler('project_timeline_detailDetailEdit2project_handler', $pageEdit);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Objectives', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'projectGrid_notes_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'projectGrid_public_engagement_handler_list', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for notes field
     //
     $column = new TextViewColumn('notes', 'Objectives', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'projectGrid_notes_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     //
     // View column for public_engagement field
     //
     $column = new TextViewColumn('public_engagement', 'Public Engagement', $this->dataset);
     $column->SetOrderable(true);
     $handler = new ShowTextBlobHandler($this->dataset, $this, 'projectGrid_public_engagement_handler_view', $column);
     GetApplication()->RegisterHTTPHandler($handler);
     return $result;
 }
コード例 #24
0
        $this->SetShowTopPageNavigator(true);
        $this->SetShowBottomPageNavigator(true);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new View_Pay_PeriodPage("View_Pay_Period.php", "View_Pay_Period", GetCurrentUserGrantForDataSource("View Pay Period"), 'UTF-8');
    $Page->SetShortCaption('View Pay Period');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("View Pay Period"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #25
0
ファイル: accion.php プロジェクト: jsrxar/dto
            return false;
        }
    
        protected function DoGetGridHeader()
        {
            return '';
        }
    }

    SetUpUserAuthorization(GetApplication());

    try
    {
        $Page = new public_sga_accionPage("accion.php", "public_sga_accion", GetCurrentUserGrantForDataSource("public.sga_accion"), 'UTF-8');
        $Page->SetShortCaption('Acción (Espacio / Bien)');
        $Page->SetHeader(GetPagesHeader());
        $Page->SetFooter(GetPagesFooter());
        $Page->SetCaption('Acción');
        $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.sga_accion"));
        GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
        GetApplication()->SetCanUserChangeOwnPassword(
            !function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
        GetApplication()->SetMainPage($Page);
        GetApplication()->Run();
    }
    catch(Exception $e)
    {
        ShowErrorPage($e->getMessage());
    }
	
コード例 #26
0
        // View column for notes field
        //
        $column = new TextViewColumn('notes', 'Notes', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'public_office_holderGrid_notes_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new public_office_holderPage("public.office_holder.php", "public_office_holder", GetCurrentUserGrantForDataSource("public.office_holder"), 'UTF-8');
    $Page->SetShortCaption('Office Holders');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Office Holders');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("public.office_holder"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #27
0
ファイル: GE.PERSONA.php プロジェクト: kcallow/MatchMe
        // View column for EMAIL field
        //
        $column = new TextViewColumn('EMAIL', 'EMAIL', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'GE_PERSONAGrid_EMAIL_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new GE_PERSONAPage("GE.PERSONA.php", "GE_PERSONA", GetCurrentUserGrantForDataSource("GE.PERSONA"), 'UTF-8');
    $Page->SetShortCaption('PERSONA');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('PERSONA');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("GE.PERSONA"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #28
0
        $this->SetVisualEffectsEnabled(true);
        $this->SetShowTopPageNavigator(true);
        $this->SetShowBottomPageNavigator(true);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
try {
    $Page = new cod_departamentosPage("cod_departamentos.php", "cod_departamentos", GetCurrentUserGrantForDataSource("cod_departamentos"), 'UTF-8');
    $Page->SetShortCaption('Cod Departamentos');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Cod Departamentos');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("cod_departamentos"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #29
0
        $this->SetShowTopPageNavigator(false);
        $this->SetShowBottomPageNavigator(false);
        //
        // Http Handlers
        //
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new total_allocated_hours_smallPage("total_allocated_hours_small.php", "total_allocated_hours_small", GetCurrentUserGrantForDataSource("total allocated hours small"), 'UTF-8');
    $Page->SetShortCaption('Total Allocated Hours dashboard');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Total Allocated Hours Small');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("total allocated hours small"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}
コード例 #30
0
ファイル: formule_calcolo.php プロジェクト: eroncalli/atig
        //
        $column = new TextViewColumn('descrizione', 'Descrizione', $this->dataset);
        $column->SetOrderable(true);
        $handler = new ShowTextBlobHandler($this->dataset, $this, 'formule_calcoloGrid_descrizione_handler_view', $column);
        GetApplication()->RegisterHTTPHandler($handler);
        return $result;
    }
    public function OpenAdvancedSearchByDefault()
    {
        return false;
    }
    protected function DoGetGridHeader()
    {
        return '';
    }
}
SetUpUserAuthorization(GetApplication());
try {
    $Page = new formule_calcoloPage("formule_calcolo.php", "formule_calcolo", GetCurrentUserGrantForDataSource("formule_calcolo"), 'UTF-8');
    $Page->SetShortCaption('Formule Calcolo');
    $Page->SetHeader(GetPagesHeader());
    $Page->SetFooter(GetPagesFooter());
    $Page->SetCaption('Formule Calcolo');
    $Page->SetRecordPermission(GetCurrentUserRecordPermissionsForDataSource("formule_calcolo"));
    GetApplication()->SetEnableLessRunTimeCompile(GetEnableLessFilesRunTimeCompilation());
    GetApplication()->SetCanUserChangeOwnPassword(!function_exists('CanUserChangeOwnPassword') || CanUserChangeOwnPassword());
    GetApplication()->SetMainPage($Page);
    GetApplication()->Run();
} catch (Exception $e) {
    ShowErrorPage($e->getMessage());
}