當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CanUserChangeOwnPassword函數代碼示例

本文整理匯總了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());
}
開發者ID:CivicInfoBC,項目名稱:workplan.gov_ver_1.19,代碼行數:31,代碼來源:total_allocated_hours_small.php

示例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());
    }
	
開發者ID:jsrxar,項目名稱:dto,代碼行數:29,代碼來源:periodicidad.php


注:本文中的CanUserChangeOwnPassword函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。