Back to index

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

Go to the source code of this file.


struct  MessageFormatter_object


#define MSG_FORMAT_OBJECT(mfo)   (mfo)->mf_data.umsgf


void msgformat_register_class (TSRMLS_D)


zend_class_entry * MessageFormatter_ce_ptr

Class Documentation

struct MessageFormatter_object

Definition at line 27 of file msgformat_class.h.

Collaboration diagram for MessageFormatter_object:
Class Members
msgformat_data mf_data
zend_object zo

Define Documentation

Definition at line 38 of file msgformat_class.h.

Definition at line 37 of file msgformat_class.h.

#define MSG_FORMAT_OBJECT (   mfo)    (mfo)->mf_data.umsgf

Definition at line 39 of file msgformat_class.h.

Function Documentation

Definition at line 154 of file msgformat_class.c.

       zend_class_entry ce;

       /* Create and register 'MessageFormatter' class. */
       INIT_CLASS_ENTRY( ce, "MessageFormatter", MessageFormatter_class_functions );
       ce.create_object = MessageFormatter_object_create;
       MessageFormatter_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );

       memcpy(&MessageFormatter_handlers, zend_get_std_object_handlers(),
              sizeof MessageFormatter_handlers);
       MessageFormatter_handlers.clone_obj = MessageFormatter_object_clone;

       /* Declare 'MessageFormatter' class properties. */
       if( !MessageFormatter_ce_ptr )
              zend_error(E_ERROR, "Failed to register MessageFormatter class");

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

zend_class_entry* MessageFormatter_ce_ptr

Definition at line 27 of file msgformat_class.c.