当前位置: 首页>>代码示例>>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;未经允许,请勿转载。