php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
dateformat_class.h File Reference
#include <php.h>
#include "intl_common.h"
#include "intl_error.h"
#include "intl_data.h"
#include "dateformat_data.h"

Go to the source code of this file.

Data Structures

struct  IntlDateFormatter_object
 

Macros

#define Z_INTL_DATEFORMATTER_P(zv)
 
#define DATE_FORMAT_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(IntlDateFormatter, dfo)
 
#define DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK   INTL_METHOD_FETCH_OBJECT(INTL_DATEFORMATTER, dfo)
 
#define DATE_FORMAT_METHOD_FETCH_OBJECT
 
#define DATE_FORMAT_OBJECT(dfo)
 

Functions

void dateformat_register_IntlDateFormatter_class (void)
 

Variables

zend_class_entryIntlDateFormatter_ce_ptr
 

Macro Definition Documentation

◆ DATE_FORMAT_METHOD_FETCH_OBJECT

#define DATE_FORMAT_METHOD_FETCH_OBJECT
Value:
if (dfo->datef_data.udatf == NULL) \
{ \
zend_throw_error(NULL, "Found unconstructed IntlDateFormatter"); \
RETURN_THROWS(); \
}
#define DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK
#define NULL
Definition gdcache.h:45

Definition at line 45 of file dateformat_class.h.

◆ DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK

#define DATE_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK   INTL_METHOD_FETCH_OBJECT(INTL_DATEFORMATTER, dfo)

Definition at line 44 of file dateformat_class.h.

◆ DATE_FORMAT_METHOD_INIT_VARS

#define DATE_FORMAT_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(IntlDateFormatter, dfo)

Definition at line 43 of file dateformat_class.h.

◆ DATE_FORMAT_OBJECT

#define DATE_FORMAT_OBJECT ( dfo)
Value:
(dfo)->datef_data.udatf

Definition at line 53 of file dateformat_class.h.

◆ Z_INTL_DATEFORMATTER_P

#define Z_INTL_DATEFORMATTER_P ( zv)
Value:
php_intl_dateformatter_fetch_object(Z_OBJ_P(zv))
zval * zv
Definition ffi.c:3975
#define Z_OBJ_P(zval_p)
Definition zend_types.h:990

Definition at line 36 of file dateformat_class.h.

Function Documentation

◆ dateformat_register_IntlDateFormatter_class()

void dateformat_register_IntlDateFormatter_class ( void )

Definition at line 96 of file dateformat_class.c.

Variable Documentation

◆ IntlDateFormatter_ce_ptr

zend_class_entry* IntlDateFormatter_ce_ptr
extern

Definition at line 24 of file dateformat_class.c.