Back to index

php5  5.3.10
Functions | Variables
locale_class.c File Reference
#include <unicode/uloc.h>
#include "php_intl.h"
#include "intl_error.h"
#include "locale_class.h"
#include "locale_methods.h"
#include "locale.h"

Go to the source code of this file.

Functions

void locale_register_Locale_class (TSRMLS_D)

Variables

zend_class_entry * Locale_ce_ptr = NULL
function_entry Locale_class_functions []

Function Documentation

Definition at line 95 of file locale_class.c.

{
       zend_class_entry ce;

       /* Create and register 'Locale' class. */
       INIT_CLASS_ENTRY( ce, "Locale", Locale_class_functions );
       ce.create_object = NULL;
       Locale_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );

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

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

zend_class_entry* Locale_ce_ptr = NULL

Definition at line 26 of file locale_class.c.

Initial value:

Definition at line 69 of file locale_class.c.