Метод | Описание | |
---|---|---|
resetPassword ( Cake\Datasource\EntityInterface $user, string $template = 'CakeDC/Users.reset_password' ) : array | Send the reset password email to the user | |
socialAccountValidation ( Cake\Datasource\EntityInterface $user, Cake\Datasource\EntityInterface $socialAccount, string $template = 'CakeDC/Users.social_account_validation' ) : array | Send account validation email to the user | |
validation ( Cake\Datasource\EntityInterface $user, string $subject, string $template = 'CakeDC/Users.validation' ) : array | Send the templated email to the user |
protected resetPassword ( Cake\Datasource\EntityInterface $user, string $template = 'CakeDC/Users.reset_password' ) : array | ||
$user | Cake\Datasource\EntityInterface | User entity |
$template | string | string, note the first_name of the user will be prepended if exists |
Результат | array | email send result |
protected socialAccountValidation ( Cake\Datasource\EntityInterface $user, Cake\Datasource\EntityInterface $socialAccount, string $template = 'CakeDC/Users.social_account_validation' ) : array | ||
$user | Cake\Datasource\EntityInterface | User entity |
$socialAccount | Cake\Datasource\EntityInterface | SocialAccount entity |
$template | string | string, note the first_name of the user will be prepended if exists |
Результат | array | email send result |
protected validation ( Cake\Datasource\EntityInterface $user, string $subject, string $template = 'CakeDC/Users.validation' ) : array | ||
$user | Cake\Datasource\EntityInterface | User entity |
$subject | string | Subject, note the first_name of the user will be prepended if exist |
$template | string | string, note the first_name of the user will be prepended if exists |
Результат | array | email send result |