PHP 클래스 TinyAuth\View\Helper\AuthUserHelper

상속: extends Cake\View\Helper, use trait TinyAuth\Auth\AclTrait, use trait TinyAuth\Auth\AuthUserTrait
파일 보기 프로젝트 열기: dereuromark/cakephp-tinyauth 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$helpers array

공개 메소드들

메소드 설명
__construct ( Cake\View\View $View, array $config = [] )
hasAccess ( array $url ) : boolean
link ( string $title, array $url, array $options = [] ) : string Options: - default: Default to show instead, defaults to empty string.
postLink ( string $title, array $url, array $options = [] ) : string Options: - default: Default to show instead, defaults to empty string.

보호된 메소드들

메소드 설명
_default ( string $title, array $options ) : string
_getUser ( ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( Cake\View\View $View, array $config = [] )
$View Cake\View\View The View this helper is being attached to.
$config array Configuration settings for the helper.

_default() 보호된 메소드

protected _default ( string $title, array $options ) : string
$title string
$options array
리턴 string

_getUser() 보호된 메소드

protected _getUser ( ) : array
리턴 array

hasAccess() 공개 메소드

public hasAccess ( array $url ) : boolean
$url array
리턴 boolean

프로퍼티 상세

$helpers 공개적으로 프로퍼티

public array $helpers
리턴 array