Back to index

php5  5.3.10
Classes | Defines | Functions | Variables
dateformat_class.h File Reference
#include <php.h>
#include "intl_common.h"
#include "intl_error.h"
#include "intl_data.h"
#include "dateformat_data.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IntlDateFormatter_object

Defines

#define DATE_FORMAT_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(IntlDateFormatter, dfo)
#define DATE_FORMAT_METHOD_FETCH_OBJECT   INTL_METHOD_FETCH_OBJECT(IntlDateFormatter, dfo)
#define DATE_FORMAT_OBJECT(dfo)   (dfo)->datef_data.udatf

Functions

void dateformat_register_IntlDateFormatter_class (TSRMLS_D)

Variables

zend_class_entry * IntlDateFormatter_ce_ptr

Class Documentation

struct IntlDateFormatter_object

Definition at line 26 of file dateformat_class.h.

Collaboration diagram for IntlDateFormatter_object:
Class Members
int calendar
int date_type
dateformat_data datef_data
int time_type
char * timezone_id
zend_object zo

Define Documentation

#define DATE_FORMAT_METHOD_FETCH_OBJECT   INTL_METHOD_FETCH_OBJECT(IntlDateFormatter, dfo)

Definition at line 41 of file dateformat_class.h.

#define DATE_FORMAT_METHOD_INIT_VARS   INTL_METHOD_INIT_VARS(IntlDateFormatter, dfo)

Definition at line 40 of file dateformat_class.h.

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

Definition at line 42 of file dateformat_class.h.


Function Documentation

Definition at line 180 of file dateformat_class.c.

{
       zend_class_entry ce;

       /* Create and register 'IntlDateFormatter' class. */
       INIT_CLASS_ENTRY( ce, "IntlDateFormatter", IntlDateFormatter_class_functions );
       ce.create_object = IntlDateFormatter_object_create;
       IntlDateFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );

       memcpy(&IntlDateFormatter_handlers, zend_get_std_object_handlers(),
              sizeof IntlDateFormatter_handlers);
       IntlDateFormatter_handlers.clone_obj = IntlDateFormatter_object_clone;

       /* Declare 'IntlDateFormatter' class properties. */
       if( !IntlDateFormatter_ce_ptr )
       {
              zend_error(E_ERROR, "Failed to register IntlDateFormatter class");
              return;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

zend_class_entry* IntlDateFormatter_ce_ptr

Definition at line 26 of file dateformat_class.c.