Back to index

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

Go to the source code of this file.

Classes

struct  Normalizer_object

Defines

#define NORMALIZER_ERROR(co)   (co)->err
#define NORMALIZER_ERROR_P(co)   &(NORMALIZER_ERROR(co))
#define NORMALIZER_ERROR_CODE(co)   INTL_ERROR_CODE(NORMALIZER_ERROR(co))
#define NORMALIZER_ERROR_CODE_P(co)   &(INTL_ERROR_CODE(NORMALIZER_ERROR(co)))

Functions

void normalizer_register_Normalizer_class (TSRMLS_D)

Variables

zend_class_entry * Normalizer_ce_ptr

Class Documentation

struct Normalizer_object

Definition at line 27 of file normalizer_class.h.

Collaboration diagram for Normalizer_object:
Class Members
intl_error err
zend_object zo

Define Documentation

#define NORMALIZER_ERROR (   co)    (co)->err

Definition at line 35 of file normalizer_class.h.

Definition at line 38 of file normalizer_class.h.

Definition at line 39 of file normalizer_class.h.

#define NORMALIZER_ERROR_P (   co)    &(NORMALIZER_ERROR(co))

Definition at line 36 of file normalizer_class.h.


Function Documentation

Definition at line 54 of file normalizer_class.c.

{
       zend_class_entry ce;

       /* Create and register 'Normalizer' class. */
       INIT_CLASS_ENTRY( ce, "Normalizer", Normalizer_class_functions );
       ce.create_object = NULL;
       Normalizer_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );

       /* Declare 'Normalizer' class properties. */
       if( !Normalizer_ce_ptr )
       {
              zend_error( E_ERROR,
                     "Normalizer: attempt to create properties "
                     "on a non-registered class." );
              return;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

zend_class_entry* Normalizer_ce_ptr

Definition at line 24 of file normalizer_class.c.