PHP Class CakeDC\Users\View\Helper\AuthLinkHelper

Inheritance: extends Cake\View\Helper\HtmlHelper
Afficher le fichier Open project: CakeDC/users Class Usage Examples

Méthodes publiques

Méthode Description
isAuthorized ( string | array | null $url = null ) : boolean Returns true if the target url is authorized for the logged in user
link ( string $title, string | array | null $url = null, array $options = [] ) : string | boolean Generate a link if the target url is authorized for the logged in user

Method Details

isAuthorized() public méthode

Returns true if the target url is authorized for the logged in user
public isAuthorized ( string | array | null $url = null ) : boolean
$url string | array | null url that the user is making request.
Résultat boolean