本文整理匯總了PHP中CanUserChangeOwnPassword函數的典型用法代碼示例。如果您正苦於以下問題:PHP CanUserChangeOwnPassword函數的具體用法?PHP CanUserChangeOwnPassword怎麽用?PHP CanUserChangeOwnPassword使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了CanUserChangeOwnPassword函數的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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_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());
}
示例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());
}