public function getNotificationVars()
    {
        $vars = [
            'name'     => $this->name,
            'email'    => $this->email,
            'username' => $this->username,
            'login'    => $this->getLogin(),
            'password' => $this->getOriginalHashValue('password')
        ];

        /*
         * Extensibility
         */
        $result = Event::fire('rainlab.user.getNotificationVars', [$this]);
        if ($result && is_array($result)) {
            $vars = call_user_func_array('array_merge', $result) + $vars;
        }

        return $vars;
    }
public function getNotificationVars()
    {
        $vars = [
            'name'     => $this->name,
            'email'    => $this->email,
            'username' => $this->username,
            'login'    => $this->getLogin(),
            'password' => $this->getOriginalHashValue('password')
        ];

        /*
         * Extensibility
         */
        $result = Event::fire('rainlab.user.getNotificationVars', [$this]);
        if ($result && is_array($result)) {
            $vars = call_user_func_array('array_merge', $result) + $vars;
        }

        return $vars;
    }
public function getNotificationVars ( ) { $ vars = [ 'name' => $ this -> name , 'email' => $ this -> email , 'username' => $ this -> username , 'login' => $ this -> getLogin ( ) , 'password' => $ this -> getOriginalHashValue ( 'password' ) ] ; /*
         * Extensibility
         */ $ result = Event :: fire ( 'rainlab.user.getNotificationVars' , [ $ this ] ) ; if ( $ result && is_array ( $ result ) ) { $ vars = call_user_func_array ( 'array_merge' , $ result ) + $ vars ; } return $ vars ; }
Returns the variables available when sending a user notification.
@return array
Returns the variables available when sending a user notification .