Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
FOF30
Platform
Base
Platform
authorise
FOF30\Platform\Base\Platform::authorise PHP Метод
Документация по классу Platform
Показать файл
Открыть проект
authorise()
публичный
Метод
Perform an ACL check.
См. также:
F0FPlatformInterface::authorise()
public
authorise
(
string
$action
,
string
$assetname
) :
boolean
$action
string
The ACL privilege to check, e.g. core.edit
$assetname
string
The asset name to check, typically the component's name
Результат
boolean
True if the user is allowed this action
public function authorise($action, $assetname) { return true; }
Platform
__construct
authorise
authorizeAdmin
clearCache
getCache
getComponentBaseDirs
getDocument
getPlatformVersion
getTemplate
getTemplateOverridePath
getTemplateSuffixes
getUser
getUserStateFromRequest
importPlugin
isBackend
isCli
isFrontend
isGlobalFOFCacheEnabled
loadTranslations
logDeprecated
loginUser
logoutUser
runPlugins
setCache
supportsAjaxOrdering