getByClientId()
getByClientId(integer $clientId) : \pm_Client
Retrieve client by known id
Parameters
integer | $clientId |
Throws
- \pm_Exception
Panel client wrapper
getByClientId(integer $clientId) : \pm_Client
Retrieve client by known id
integer | $clientId |
getByLogin(string $login) : \pm_Client
Retrieve client by known login
string | $login |
hasPermission(string $name, \pm_Domain $domain) : boolean
Check if user has permission for domain
string | $name | Permission name |
\pm_Domain | $domain | Domain to check permission |
hasCorePermission(string $name, \pm_Domain $domain) : boolean
Check if user has core permission for domain
string | $name | Permission name |
\pm_Domain | $domain | Domain to check permission |