Свойство | Type | Description | |
---|---|---|---|
$error | string | Error | |
$token | boolean | Token | |
$token_email | boolean | Token email | |
$token_exists | boolean | Token exists |
Méthode | Description | |
---|---|---|
__construct ( ) : void | Class Constructor | |
can_send_email ( $customer_id ) : boolean | Prevent email spamming | |
check_for_token ( ) : void | Has the user authenticated? | |
create_columns ( ) : void | Create בolumns | |
init ( ) : void | Init | |
is_valid_token ( $token ) : boolean | Is this a valid token? | |
is_valid_verify_key ( $token ) : boolean | Is this a valid verify key? | |
send_email ( $customer_id, $email ) : void | Send the user's token | |
set_verify_key ( $customer_id, $email, $verify_key ) : void | Add the verify key to DB | |
users_purchases_args ( $args ) : mixed | Users purchases args |
public __construct ( ) : void | ||
Résultat | void |
public can_send_email ( $customer_id ) : boolean | ||
$customer_id | Customer id. | |
Résultat | boolean |
public check_for_token ( ) : void | ||
Résultat | void |
public create_columns ( ) : void | ||
Résultat | void |
public is_valid_token ( $token ) : boolean | ||
$token | The token. | |
Résultat | boolean |
public is_valid_verify_key ( $token ) : boolean | ||
$token | The token. | |
Résultat | boolean |
public send_email ( $customer_id, $email ) : void | ||
$customer_id | Customer id. | |
Customer email. | ||
Résultat | void |
public set_verify_key ( $customer_id, $email, $verify_key ) : void | ||
$customer_id | Customer id. | |
Customer email. | ||
$verify_key | The verification key. | |
Résultat | void |
public users_purchases_args ( $args ) : mixed | ||
$args | User Purchases arguments. | |
Résultat | mixed |