PHP Class TinyAuth\View\Helper\AuthUserHelper

Inheritance: extends Cake\View\Helper, use trait TinyAuth\Auth\AclTrait, use trait TinyAuth\Auth\AuthUserTrait
Afficher le fichier Open project: dereuromark/cakephp-tinyauth Class Usage Examples

Méthodes publiques

Свойство Type Description
$helpers array

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
_default ( string $title, array $options ) : string
_getUser ( ) : array

Method Details

__construct() public méthode

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 méthode

protected _default ( string $title, array $options ) : string
$title string
$options array
Résultat string

_getUser() protected méthode

protected _getUser ( ) : array
Résultat array

hasAccess() public méthode

public hasAccess ( array $url ) : boolean
$url array
Résultat boolean

Property Details

$helpers public_oe property

public array $helpers
Résultat array