Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
PHP Nette\Security Permission::getRoles 예제들
프로그래밍 언어:
PHP
네임스페이스/패키지 이름:
Nette\Security
클래스/타입:
Permission
메소드/함수:
getRoles
hotexamples.com에서의 예제들:
1
PHP Nette\Security Permission::getRoles - 1개의 예제가 발견되었습니다
. 이것들은 오픈소스 프로젝트에서 추출된 PHP의
Nette\Security\Permission::getRoles
에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
자주 사용되는 메소드들
보기
숨기기
allow(16)
addRole(14)
isAllowed(13)
addResource(12)
deny(8)
hasRole(3)
getRoleParents(2)
hasResource(2)
getRoles(1)
자주 사용되는 메소드들
allow (16)
addRole (14)
isAllowed (13)
addResource (12)
deny (8)
hasRole (3)
getRoleParents (2)
hasResource (2)
getRoles (1)
getRoles()
공개
메소드
Returns all Roles.
public
getRoles
( ) :
array
리턴
array
Permission 1 문서
예제 #1
0
파일 보기
파일:
Permissions.php
프로젝트:
sg3tester/songator
public function getRoles() { $roles = parent::getRoles(); return array_combine($roles, $roles); }