Methods |
public
|
addCustomer(array<string, mixed> $data): int
|
#
|
public
|
editCustomer(int $customer_id, array<string, mixed> $data): void
|
#
|
public
|
editPassword(string $email, string $password): void
|
#
|
public
|
editCode(string $email, string $code): void
|
#
|
public
|
editToken(string $email, string $token): void
|
#
|
public
|
editNewsletter(int $customer_id, bool $newsletter): void
|
#
|
public
|
deleteCustomer(int $customer_id): void
|
#
|
public
|
getCustomer(int $customer_id): array<string, mixed>
|
#
|
public
|
getCustomerByEmail(string $email): array<string, mixed>
|
#
|
public
|
getCustomerByCode(string $code): array<string, mixed>
|
#
|
public
|
getCustomerByToken(string $token): array<string, mixed>
|
#
|
public
|
getTotalCustomersByEmail(string $email): int
Get Total Customers By Email
Get Total Customers By Email
|
#
|
public
|
deleteHistory(int $customer_id): void
|
#
|
public
|
deleteIp(int $customer_id): void
|
#
|
public
|
getIps(int $customer_id): array<int, array<string, mixed>>
|
#
|
public
|
getTotalIps(int $customer_id): int
|
#
|
public
|
addLogin(int $customer_id, string $ip, string $country = ''): void
|
#
|
public
|
addLoginAttempt(string $email): void
|
#
|
public
|
deleteLoginAttempts(string $email): void
Delete Customer Login Attempts
Delete Customer Login Attempts
|
#
|
public
|
getLoginAttempts(string $email): array<string, mixed>
|
#
|
public
|
addAuthorize(int $customer_id, array<string, mixed> $data): void
|
#
|
public
|
editAuthorizeStatus(int $customer_authorize_id, bool $status): void
|
#
|
public
|
editAuthorizeTotal(int $customer_authorize_id, int $total): void
|
#
|
public
|
deleteAuthorize(int $customer_id, int $customer_authorize_id = 0): void
Delete Customer Authorize
Delete Customer Authorize
|
#
|
public
|
getAuthorizeByToken(int $customer_id, string $token): array<string, mixed>
|
#
|
public
|
resetAuthorizes(int $customer_id): void
Reset Customer Authorizes
Reset Customer Authorizes
|
#
|