本文整理汇总了PHP中GetCurrentUserRecordPermissionsForDataSource函数的典型用法代码示例。如果您正苦于以下问题:PHP GetCurrentUserRecordPermissionsForDataSource函数的具体用法?PHP GetCurrentUserRecordPermissionsForDataSource怎么用?PHP GetCurrentUserRecordPermissionsForDataSource使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GetCurrentUserRecordPermissionsForDataSource函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: OpenAdvancedSearchByDefault
$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: DoGetGridHeader
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: OpenAdvancedSearchByDefault
$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: OpenAdvancedSearchByDefault
$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: DoGetGridHeader
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: OpenAdvancedSearchByDefault
$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: TextViewColumn
//
$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: DoGetGridHeader
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: GetOrderTypeAsSQL
$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: TextViewColumn
//
$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: TextViewColumn
//
$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: OpenAdvancedSearchByDefault
$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: TextViewColumn
//
$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: OpenAdvancedSearchByDefault
$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: OpenAdvancedSearchByDefault
$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());
}