#include "onphp.h"
#include "onphp_core.h"
#include "zend_globals.h"
#include "zend_exceptions.h"
#include "core/Base/Singleton.h"
#include "core/Exceptions.h"
Go to the source code of this file.
Functions | |
ONPHP_METHOD (Singleton, __construct) | |
ONPHP_METHOD (Singleton, __clone) | |
ONPHP_METHOD (Singleton, __sleep) | |
ONPHP_METHOD (Singleton, getInstance) | |
ONPHP_METHOD (Singleton, getAllInstances) | |
PHP_RINIT_FUNCTION (Singleton) | |
PHP_RSHUTDOWN_FUNCTION (Singleton) | |
Variables | |
static zval * | instances = NULL |
static | ONPHP_ARGINFO_ONE |
zend_function_entry | onphp_funcs_Singleton [] |
ONPHP_METHOD | ( | Singleton | , | |
getAllInstances | ||||
) |
ONPHP_METHOD | ( | Singleton | , | |
getInstance | ||||
) |
Definition at line 28 of file Singleton.c.
References instances, onphp_ce_BaseException, onphp_ce_Singleton, and onphp_ce_WrongArgumentException.
ONPHP_METHOD | ( | Singleton | , | |
__sleep | ||||
) |
Definition at line 26 of file Singleton.c.
ONPHP_METHOD | ( | Singleton | , | |
__clone | ||||
) |
Definition at line 25 of file Singleton.c.
ONPHP_METHOD | ( | Singleton | , | |
__construct | ||||
) |
Definition at line 24 of file Singleton.c.
PHP_RINIT_FUNCTION | ( | Singleton | ) |
PHP_RSHUTDOWN_FUNCTION | ( | Singleton | ) |
zval* instances = NULL [static] |
Definition at line 22 of file Singleton.c.
Referenced by ONPHP_METHOD(), PHP_RINIT_FUNCTION(), and PHP_RSHUTDOWN_FUNCTION().
ONPHP_ARGINFO_ONE [static] |
Definition at line 194 of file Singleton.c.
zend_function_entry onphp_funcs_Singleton[] |
Initial value:
Definition at line 196 of file Singleton.c.