Back to index

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

Go to the source code of this file.

Classes

struct  dateformat_data

Functions

dateformat_datadateformat_data_create (TSRMLS_D)
void dateformat_data_init (dateformat_data *datef_data TSRMLS_DC)
void dateformat_data_free (dateformat_data *datef_data TSRMLS_DC)

Class Documentation

struct dateformat_data

Definition at line 25 of file dateformat_data.h.

Collaboration diagram for dateformat_data:
Class Members
intl_error error
UDateFormat * udatf

Function Documentation

Definition at line 54 of file dateformat_data.c.

{
       dateformat_data* datef_data = ecalloc( 1, sizeof(dateformat_data) );

       dateformat_data_init( datef_data TSRMLS_CC );

       return datef_data;
}

Here is the call graph for this function:

void dateformat_data_free ( dateformat_data *datef_data  TSRMLS_DC)

Definition at line 38 of file dateformat_data.c.

{
       if( !datef_data )
              return;

       if( datef_data->udatf )
              udat_close( datef_data->udatf );

       datef_data->udatf = NULL;
       intl_error_reset( &datef_data->error TSRMLS_CC );
}

Here is the call graph for this function:

Here is the caller graph for this function:

void dateformat_data_init ( dateformat_data *datef_data  TSRMLS_DC)

Definition at line 25 of file dateformat_data.c.

{
       if( !datef_data )
              return;

       datef_data->udatf = NULL;
       intl_error_reset( &datef_data->error TSRMLS_CC );
}

Here is the call graph for this function:

Here is the caller graph for this function: