PHP Класс Give, Give

С версии: 1.0
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$api Give API Object
$customer_meta Give Customer meta DB Object
$customers Give Customers DB Object
$email_access Give No Login Object
$email_tags Give Email Template Tags Object
$emails Give Emails Object
$give_settings Give Settings Object
$html Give HTML Element Helper Object
$roles Give Roles Object
$session This holds donation data for user's session.
$template_loader Give Template Loader Object

Открытые методы

Метод Описание
__clone ( ) : void Throw error on object clone
__wakeup ( ) : void Disable unserializing of the class
instance ( ) : Give Main Give Instance
load_textdomain ( ) : void Loads the plugin language files

Приватные методы

Метод Описание
includes ( ) : void Include required files
setup_constants ( ) : void Setup plugin constants

Описание методов

__clone() публичный Метод

The whole idea of the singleton design pattern is that there is a single object, therefore we don't want the object to be cloned.
С версии: 1.0
public __clone ( ) : void
Результат void

__wakeup() публичный Метод

Disable unserializing of the class
С версии: 1.0
public __wakeup ( ) : void
Результат void

instance() публичный статический Метод

Insures that only one instance of Give exists in memory at any one time. Also prevents needing to define globals all over the place.
См. также: Give()
С версии: 1.0
public static instance ( ) : Give
Результат Give

load_textdomain() публичный Метод

Loads the plugin language files
С версии: 1.0
public load_textdomain ( ) : void
Результат void

Описание свойств

$api публичное свойство

Give API Object
С версии: 1.0
public $api

$customer_meta публичное свойство

Give Customer meta DB Object
С версии: 1.6
public $customer_meta

$customers публичное свойство

Give Customers DB Object
С версии: 1.0
public $customers

$email_access публичное свойство

Give No Login Object
С версии: 1.0
public $email_access

$email_tags публичное свойство

Give Email Template Tags Object
С версии: 1.0
public $email_tags

$emails публичное свойство

Give Emails Object
С версии: 1.0
public $emails

$give_settings публичное свойство

Give Settings Object
С версии: 1.0
public $give_settings

$html публичное свойство

Give HTML Element Helper Object
С версии: 1.0
public $html

$roles публичное свойство

Give Roles Object
С версии: 1.0
public $roles

$session публичное свойство

This holds donation data for user's session.
С версии: 1.0
public $session

$template_loader публичное свойство

Give Template Loader Object
С версии: 1.0
public $template_loader