php_cTemplate.cpp File Reference

that's php extension for google ctemplate.
here is example.
More...

Functions

Variables


Detailed Description

that's php extension for google ctemplate.
here is example.

ctemplate_setrootpath ("/tmp", STRIP_BLANK_LINES);
$tpl = new ctemplate ("example.tpl");
$dict = new ctemplate_dict;
$dict->setvalue ("NAME", "John Smith");
$out = $tpl->expand ($dict);
echo $out;


Function Documentation

static void _add_resource zval *  wrapper,
void *  obj,
int rsrc_type  TSRMLS_DC
[static]
 

static void _free_ctemplate_dict_resource zend_rsrc_list_entry *rsrc  TSRMLS_DC  )  [static]
 

static void _free_ctemplate_resource zend_rsrc_list_entry *rsrc  TSRMLS_DC  )  [static]
 

static void* _return_resource zval *  wrapper,
int rsrc_type  TSRMLS_DC
[static]
 

PHP_FUNCTION d_SetAnnotateOutput   ) 
 

PHP_FUNCTION d_DumpToString   ) 
 

PHP_FUNCTION d_Dump   ) 
 

PHP_FUNCTION d_SetFilename   ) 
 

PHP_FUNCTION d_AddIncludeDictionary   ) 
 

PHP_FUNCTION d_ShowSection   ) 
 

PHP_FUNCTION d_AddSectionDictionary   ) 
 

PHP_FUNCTION d_SetGlobalValue   ) 
 

PHP_FUNCTION d_SetEscapedFormattedValue   ) 
 

PHP_FUNCTION d_SetFormattedValue   ) 
 

PHP_FUNCTION d_SetEscapedValueAndShowSection   ) 
 

PHP_FUNCTION d_SetValueAndShowSection   ) 
 

PHP_FUNCTION d_SetEscapedValue   ) 
 

PHP_FUNCTION d_SetValue   ) 
 

PHP_FUNCTION ctemplate_dict   ) 
 

PHP_FUNCTION t_WriteHeaderEntries   ) 
 

PHP_FUNCTION t_template_root_directory   ) 
 

PHP_FUNCTION t_ReloadIfChanged   ) 
 

PHP_FUNCTION t_template_file   ) 
 

PHP_FUNCTION t_state   ) 
 

PHP_FUNCTION t_Dump   ) 
 

PHP_FUNCTION t_Expand   ) 
 

PHP_FUNCTION ctemplate_clearcache   ) 
 

PHP_FUNCTION ctemplate_reload   ) 
 

PHP_FUNCTION ctemplate_setrootpath   ) 
 

PHP_MINFO_FUNCTION cTemplate   ) 
 

PHP_MINIT_FUNCTION cTemplate   ) 
 

PHP_MSHUTDOWN_FUNCTION cTemplate   ) 
 


Variable Documentation

zend_class_entry* ctemplate_class_entry_ptr [static]
 

zend_function_entry ctemplate_class_functions[] [static]
 

Initial value:

 {








    {NULL, NULL, NULL}
}

zend_class_entry* ctemplate_dict_class_entry_ptr [static]
 

zend_function_entry ctemplate_dict_class_functions[] [static]
 

Initial value:

 {













    {NULL, NULL, NULL}
}

zend_function_entry cTemplate_functions[]
 

Initial value:

 {



    {NULL, NULL, NULL}
}

zend_module_entry cTemplate_module_entry
 

Initial value:

 {



    "cTemplate",
    cTemplate_functions,
    PHP_MINIT(cTemplate),
    PHP_MSHUTDOWN(cTemplate),
    NULL,
    NULL,
    PHP_MINFO(cTemplate),



    STANDARD_MODULE_PROPERTIES
}

int le_cTemplate [static]
 

int le_cTemplateDict [static]
 


Generated on Thu May 11 23:54:42 2006 for FilesPower by  doxygen 1.4.6