ZEND_ME()
Submitted by Katrina Niolet on Thu, 06/21/2007 - 04:19.
Define a simple class method entry for use in a zend_function_entry
ZEND_ME(classname, name, arg_info, flags)
| type | parameter | description |
|---|---|---|
| text | classname | name of the userspace class |
| text | name | userspace name of the method |
| zend_arg_info* | arg_info | |
| zend_uint | flags |
Note: the classname and name parameters should be straight text, not a char*
This is an alias for "ZEND_FENTRY(name, ZEND_MN(classname##_##name), arg_info, flags)"
Example:
static zend_function_entry function_methods[] = {
PHP_ME(myClass,myMethod,NULL,ZEND_ACC_PUBLIC)
{ NULL, NULL, NULL }
};
