PHP 클래스 CakeDC\Users\View\Helper\AuthLinkHelper

상속: extends Cake\View\Helper\HtmlHelper
파일 보기 프로젝트 열기: CakeDC/users 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

isAuthorized() 공개 메소드

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.
리턴 boolean