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

상속: extends Cake\View\Helper
파일 보기 프로젝트 열기: cakedc/users

공개 프로퍼티들

프로퍼티 타입 설명
$helpers

보호된 프로퍼티들

프로퍼티 타입 설명
$_defaultConfig array Default configuration.

공개 메소드들

메소드 설명
addReCaptcha ( ) : mixed Add reCaptcha to the form
addReCaptchaScript ( ) : void Add reCaptcha script
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 Generate a link if the target url is authorized for the logged in user
logout ( null $message = null, array $options = [] ) : string Logout link
socialLogin ( string $name, array $options = [] ) : string Social login link
socialLoginList ( ) : array All available Social Login Icons
welcome ( ) : mixed Welcome display

메소드 상세

addReCaptcha() 공개 메소드

Add reCaptcha to the form
public addReCaptcha ( ) : mixed
리턴 mixed

addReCaptchaScript() 공개 메소드

Add reCaptcha script
public addReCaptchaScript ( ) : void
리턴 void

isAuthorized() 공개 메소드

Returns true if the target url is authorized for the logged in user
사용 중단: Since 3.2.1. Use AuthLinkHelper::link() instead
public isAuthorized ( string | array | null $url = null ) : boolean
$url string | array | null url that the user is making request.
리턴 boolean

logout() 공개 메소드

Logout link
public logout ( null $message = null, array $options = [] ) : string
$message null logout message info.
$options array Array with option data.
리턴 string

socialLogin() 공개 메소드

Social login link
public socialLogin ( string $name, array $options = [] ) : string
$name string name
$options array options
리턴 string

socialLoginList() 공개 메소드

All available Social Login Icons
public socialLoginList ( ) : array
리턴 array Links to Social Login Urls

welcome() 공개 메소드

Welcome display
public welcome ( ) : mixed
리턴 mixed

프로퍼티 상세

$_defaultConfig 보호되어 있는 프로퍼티

Default configuration.
protected array $_defaultConfig
리턴 array

$helpers 공개적으로 프로퍼티

public $helpers