本文整理汇总了C++中PHP_ME函数的典型用法代码示例。如果您正苦于以下问题:C++ PHP_ME函数的具体用法?C++ PHP_ME怎么用?C++ PHP_ME使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PHP_ME函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: air_arr_idx_find
zval *service = air_arr_idx_find(services, id);
if(service){
air_call_static_method(air_async_scheduler_ce, "loop", NULL, 0, NULL);
data = air_arr_idx_find(responses, id);
}
}
if(data){
RETURN_ZVAL(data, 1, 0);
}
RETURN_NULL();
}
/* }}} */
/* {{{ air_async_waiter_methods */
zend_function_entry air_async_waiter_methods[] = {
PHP_ME(air_async_waiter, __construct, air_async_waiter_construct_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR)
PHP_ME(air_async_waiter, serve, air_async_waiter_serve_arginfo, ZEND_ACC_PUBLIC)
//PHP_ME(air_async_waiter, _response, NULL, ZEND_ACC_PUBLIC)
PHP_ME(air_async_waiter, acquire, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(air_async_waiter, response, air_async_waiter_resp_arginfo, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
/* }}} */
/* {{{ AIR_MINIT_FUNCTION */
AIR_MINIT_FUNCTION(air_async_waiter) {
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "air\\async\\waiter", air_async_waiter_methods);
air_async_waiter_ce = zend_register_internal_class_ex(&ce, NULL, NULL TSRMLS_CC);
开发者ID:wukezhan,项目名称:air,代码行数:30,代码来源:air_async_waiter.c
示例2: RETURN_ZVAL
return;
}
if (!sxe->iter.data || sxe->iter.type == SXE_ITER_ATTRLIST) {
return; /* return NULL */
}
RETURN_ZVAL(sxe->iter.data, 1, 0);
}
/* {{{ arginfo */
ZEND_BEGIN_ARG_INFO(arginfo_simplexmliterator__void, 0)
ZEND_END_ARG_INFO()
/* }}} */
static const zend_function_entry funcs_SimpleXMLIterator[] = {
PHP_ME(ce_SimpleXMLIterator, rewind, arginfo_simplexmliterator__void, ZEND_ACC_PUBLIC)
PHP_ME(ce_SimpleXMLIterator, valid, arginfo_simplexmliterator__void, ZEND_ACC_PUBLIC)
PHP_ME(ce_SimpleXMLIterator, current, arginfo_simplexmliterator__void, ZEND_ACC_PUBLIC)
PHP_ME(ce_SimpleXMLIterator, key, arginfo_simplexmliterator__void, ZEND_ACC_PUBLIC)
PHP_ME(ce_SimpleXMLIterator, next, arginfo_simplexmliterator__void, ZEND_ACC_PUBLIC)
PHP_ME(ce_SimpleXMLIterator, hasChildren, arginfo_simplexmliterator__void, ZEND_ACC_PUBLIC)
PHP_ME(ce_SimpleXMLIterator, getChildren, arginfo_simplexmliterator__void, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
/* }}} */
PHP_MINIT_FUNCTION(sxe) /* {{{ */
{
zend_class_entry **pce;
zend_class_entry sxi;
开发者ID:Doap,项目名称:php-src,代码行数:30,代码来源:sxe.c
示例3: ZEND_EXTERN_MODULE_GLOBALS
#include "../php_mongo.h"
#include "log.h"
zend_class_entry *mongo_ce_Log;
ZEND_EXTERN_MODULE_GLOBALS(mongo);
static long set_value(char *setting, zval *return_value TSRMLS_DC);
static void get_value(char *setting, zval *return_value TSRMLS_DC);
#if PHP_VERSION_ID >= 50300
static void userland_callback(int module, int level, char *message TSRMLS_DC);
#endif
static zend_function_entry mongo_log_methods[] = {
PHP_ME(MongoLog, setLevel, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME(MongoLog, getLevel, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME(MongoLog, setModule, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME(MongoLog, getModule, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
#if PHP_VERSION_ID >= 50300
PHP_ME(MongoLog, setCallback, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME(MongoLog, getCallback, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
#endif
{NULL, NULL, NULL}
};
void mongo_init_MongoLog(TSRMLS_D) {
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "MongoLog", mongo_log_methods);
mongo_ce_Log = zend_register_internal_class(&ce TSRMLS_CC);
开发者ID:Absike,项目名称:mongo-php-driver,代码行数:30,代码来源:log.c
示例4: PHP_METHOD
static
PHP_METHOD(MsgqueForPhp_MqFactoryS, __construct)
{
RETURN_ERROR("it is not allowed to create an instance og 'MqFactoryS'.");
}
ZEND_BEGIN_ARG_INFO_EX(no_arg, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(ident_arg, 0, 0, 1)
ZEND_ARG_INFO(0, "ident")
ZEND_END_ARG_INFO()
static const zend_function_entry NS(MqFactoryS_functions)[] = {
PHP_ME(MsgqueForPhp_MqFactoryS, __construct, NULL, ZEND_ACC_PRIVATE|ZEND_ACC_CTOR)
PHP_ME(MsgqueForPhp_MqFactoryS, New, no_arg, ZEND_ACC_PUBLIC)
PHP_ME(MsgqueForPhp_MqFactoryS, Copy, ident_arg, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
/*****************************************************************************/
/* */
/* public */
/* */
/*****************************************************************************/
void NS(MqFactoryS_New) (zval *return_value, struct MqFactoryS *factory TSRMLS_DC)
{
if (factory == NULL) {
开发者ID:BackupTheBerlios,项目名称:nhi1-svn,代码行数:30,代码来源:MqFactoryS_php.c
示例5: ZEND_BEGIN_ARG_INFO_EX
/* {{{ arginfo */
ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_processinginstruction_construct, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO();
/* }}} */
/*
* class DOMProcessingInstruction extends DOMNode
*
* URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-1004215813
* Since:
*/
const zend_function_entry php_dom_processinginstruction_class_functions[] = {
PHP_ME(domprocessinginstruction, __construct, arginfo_dom_processinginstruction_construct, ZEND_ACC_PUBLIC)
PHP_FE_END
};
/* {{{ proto void DOMProcessingInstruction::__construct(string name, [string value]); */
PHP_METHOD(domprocessinginstruction, __construct)
{
zval *id;
xmlNodePtr nodep = NULL, oldnode = NULL;
dom_object *intern;
char *name, *value = NULL;
size_t name_len, value_len;
int name_valid;
zend_error_handling error_handling;
zend_replace_error_handling(EH_THROW, dom_domexception_class_entry, &error_handling);
开发者ID:Jille,项目名称:php-src,代码行数:31,代码来源:processinginstruction.c
示例6: PHP_METHOD
PHP_METHOD(Phalcon_Validation_Message, __toString);
PHP_METHOD(Phalcon_Validation_Message, __set_state);
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_message___construct, 0, 0, 1)
ZEND_ARG_INFO(0, message)
ZEND_ARG_INFO(0, field)
ZEND_ARG_INFO(0, type)
ZEND_ARG_INFO(0, code)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_message___set_state, 0, 0, 1)
ZEND_ARG_INFO(0, message)
ZEND_END_ARG_INFO()
static const zend_function_entry phalcon_validation_message_method_entry[] = {
PHP_ME(Phalcon_Validation_Message, __construct, arginfo_phalcon_validation_message___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(Phalcon_Validation_Message, setType, arginfo_phalcon_validation_messageinterface_settype, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, getType, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, setCode, arginfo_phalcon_validation_messageinterface_setcode, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, getCode, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, setMessage, arginfo_phalcon_validation_messageinterface_setmessage, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, getMessage, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, setField, arginfo_phalcon_validation_messageinterface_setfield, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, getField, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, __toString, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Validation_Message, __set_state, arginfo_phalcon_validation_message___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_FE_END
};
/**
* Phalcon\Validation\Message initializer
开发者ID:googlle,项目名称:cphalcon7,代码行数:31,代码来源:message.c
示例7: PHP_ME
#include "ext/standard/php_var.h"
#include "ct_helper.h"
#include "php_pux.h"
#include "pux_mux.h"
#include "pux_functions.h"
#include "php_expandable_mux.h"
#include "pux_controller.h"
#include "annotation/scanner.h"
#include "annotation/annot.h"
zend_class_entry *ce_pux_controller;
const zend_function_entry controller_methods[] = {
PHP_ME(Controller, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(Controller, expand, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Controller, parseActionMethods, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Controller, build, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Controller, before, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Controller, after, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Controller, toJson, NULL, ZEND_ACC_PUBLIC)
// PHP_ME(Controller, __destruct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_DTOR)
PHP_FE_END
};
static char * translate_method_name_to_path(const char *method_name, int * path_len);
static void zend_parse_action_annotations(zend_class_entry *ce, zval *retval, int parent TSRMLS_DC);
开发者ID:c9s,项目名称:Pux,代码行数:31,代码来源:pux_controller.c
示例8: ZEND_BEGIN_ARG_INFO_EX
/* {{{ arginfo */
ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_cdatasection_construct, 0, 0, 1)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO();
/* }}} */
/*
* class DOMCdataSection extends DOMText
*
* URL: https://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-667469212
* Since:
*/
const zend_function_entry php_dom_cdatasection_class_functions[] = {
PHP_ME(domcdatasection, __construct, arginfo_dom_cdatasection_construct, ZEND_ACC_PUBLIC)
PHP_FE_END
};
/* {{{ proto DOMCdataSection::__construct(string value); */
PHP_METHOD(domcdatasection, __construct)
{
zval *id = getThis();
xmlNodePtr nodep = NULL, oldnode = NULL;
dom_object *intern;
char *value = NULL;
size_t value_len;
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &value, &value_len) == FAILURE) {
return;
开发者ID:DaveRandom,项目名称:php-src,代码行数:30,代码来源:cdatasection.c
示例9: sp_artistbrowse_create
sp_artistbrowse *tmpbrowse = sp_artistbrowse_create(p->session, p->artist, SP_ARTISTBROWSE_FULL, artistbrowse_complete, p);
while (!sp_artistbrowse_is_loaded(tmpbrowse)) {
sp_session_process_events(p->session, &timeout);
}
RETURN_TRUE;
}
PHP_METHOD(SpotifyArtist, __toString)
{
spotifyartist_object *p = (spotifyartist_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
RETURN_STRING(sp_artist_name(p->artist), 1);
}
zend_function_entry spotifyartist_methods[] = {
PHP_ME(SpotifyArtist, __construct, NULL, ZEND_ACC_PRIVATE|ZEND_ACC_CTOR)
PHP_ME(SpotifyArtist, __destruct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_DTOR)
PHP_ME(SpotifyArtist, getName, NULL, ZEND_ACC_PUBLIC)
PHP_ME(SpotifyArtist, getURI, NULL, ZEND_ACC_PUBLIC)
PHP_ME(SpotifyArtist, getAlbums, NULL, ZEND_ACC_PUBLIC)
PHP_ME(SpotifyArtist, getPortrait, NULL, ZEND_ACC_PUBLIC)
PHP_ME(SpotifyArtist, getNumPortraits, NULL, ZEND_ACC_PUBLIC)
PHP_ME(SpotifyArtist, browse, NULL, ZEND_ACC_PRIVATE)
PHP_ME(SpotifyArtist, __toString, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
void spotifyartist_free_storage(void *object TSRMLS_DC)
{
spotifyartist_object *obj = (spotifyartist_object*)object;
zend_hash_destroy(obj->std.properties);
开发者ID:maxubd,项目名称:libspotify-php,代码行数:31,代码来源:artist.c
示例10: PHP_ME
{
NULL,
http_request_on_path,
http_request_on_query_string,
http_request_on_url,
NULL,
http_request_on_header_field,
http_request_on_header_value,
http_request_on_headers_complete,
http_request_on_body,
http_request_message_complete
};
const zend_function_entry swoole_http_server_methods[] =
{
PHP_ME(swoole_http_server, on, arginfo_swoole_http_server_on, ZEND_ACC_PUBLIC)
PHP_ME(swoole_http_server, start, NULL, ZEND_ACC_PUBLIC)
PHP_FE_END
};
const zend_function_entry swoole_http_response_methods[] =
{
PHP_ME(swoole_http_response, cookie, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_http_response, status, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_http_response, header, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_http_response, end, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_http_response, message, NULL, ZEND_ACC_PUBLIC)
PHP_FE_END
};
static int http_request_on_path(php_http_parser *parser, const char *at, size_t length)
开发者ID:swingblb,项目名称:swoole-src,代码行数:31,代码来源:swoole_http.c
示例11: FNT_PROPERTY_SET
#define FNT_PROPERTY_SET(set_function_name, set_value) \
excel_font_object* fntObj = \
(excel_font_object*) zend_object_store_get_object(this_ptr TSRMLS_CC); \
if (fntObj != NULL && fntObj->pExcelFont != NULL) \
{ \
fntObj->pExcelFont->set_function_name(set_value); \
RETURN_TRUE; \
} \
RETURN_FALSE;
extern zend_object_handlers excel_font_object_handlers;
extern zend_class_entry* excel_font_ce;
zend_function_entry excel_font_methods[] = {
PHP_ME(ExcelFont, __construct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR)
PHP_ME(ExcelFont, setWeight, NULL, ZEND_ACC_PUBLIC)
PHP_ME(ExcelFont, setColor, NULL, ZEND_ACC_PUBLIC)
PHP_ME(ExcelFont, setItalic, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
void excel_font_free_storage(void* object TSRMLS_DC)
{
excel_font_object* obj = (excel_font_object*) object;
if (obj->pExcelFont != NULL)
{
delete obj->pExcelFont;
}
zend_object_std_dtor(&obj->std TSRMLS_CC);
efree(obj);
开发者ID:gunesahmet,项目名称:PHPExcel,代码行数:30,代码来源:PHPExcelFont.cpp
示例12: zend_restore_error_handling
zend_restore_error_handling(&error_handling TSRMLS_CC);
return;
}
zend_restore_error_handling(&error_handling TSRMLS_CC);
php_mongo_api_batch_ctor(intern, zcollection, MONGODB_API_COMMAND_UPDATE, write_options TSRMLS_CC);
}
/* }}} */
ZEND_BEGIN_ARG_INFO_EX(arginfo___construct, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_OBJ_INFO(0, collection, MongoCollection, 0)
ZEND_ARG_ARRAY_INFO(0, write_options, 0)
ZEND_END_ARG_INFO()
static zend_function_entry MongoUpdateBatch_methods[] = {
PHP_ME(MongoUpdateBatch, __construct, arginfo___construct, ZEND_ACC_PUBLIC)
PHP_FE_END
};
void mongo_init_MongoUpdateBatch(TSRMLS_D)
{
zend_class_entry update_batch;
INIT_CLASS_ENTRY(update_batch, "MongoUpdateBatch", MongoUpdateBatch_methods);
update_batch.create_object = php_mongo_write_batch_object_new;
mongo_ce_UpdateBatch = zend_register_internal_class_ex(&update_batch, mongo_ce_WriteBatch, "MongoWriteBatch" TSRMLS_CC);
}
/*
* Local variables:
开发者ID:AndrewHarkusha,项目名称:mongo-php-driver,代码行数:31,代码来源:update.c
示例13: PHP_METHOD
#include "php_swoole.h"
static PHP_METHOD(swoole_lock, __construct);
static PHP_METHOD(swoole_lock, __destruct);
static PHP_METHOD(swoole_lock, lock);
static PHP_METHOD(swoole_lock, trylock);
static PHP_METHOD(swoole_lock, lock_read);
static PHP_METHOD(swoole_lock, trylock_read);
static PHP_METHOD(swoole_lock, unlock);
static zend_class_entry swoole_lock_ce;
zend_class_entry *swoole_lock_class_entry_ptr;
static const zend_function_entry swoole_lock_methods[] =
{
PHP_ME(swoole_lock, __construct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR)
PHP_ME(swoole_lock, __destruct, NULL, ZEND_ACC_PUBLIC | ZEND_ACC_DTOR)
PHP_ME(swoole_lock, lock, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_lock, trylock, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_lock, lock_read, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_lock, trylock_read, NULL, ZEND_ACC_PUBLIC)
PHP_ME(swoole_lock, unlock, NULL, ZEND_ACC_PUBLIC)
PHP_FE_END
};
void swoole_lock_init(int module_number TSRMLS_DC)
{
INIT_CLASS_ENTRY(swoole_lock_ce, "swoole_lock", swoole_lock_methods);
swoole_lock_class_entry_ptr = zend_register_internal_class(&swoole_lock_ce TSRMLS_CC);
zend_register_class_alias("Swoole\\Lock", swoole_lock_class_entry_ptr);
开发者ID:otherChild,项目名称:swoole-src,代码行数:30,代码来源:swoole_lock.c
示例14: PHP_METHOD
PHP_METHOD(MongoRegex, __toString)
{
char *field_name;
zval *zre = zend_read_property(mongo_ce_Regex, getThis(), "regex", strlen("regex"), NOISY TSRMLS_CC);
zval *zopts = zend_read_property(mongo_ce_Regex, getThis(), "flags", strlen("flags"), NOISY TSRMLS_CC);
char *re = Z_STRVAL_P(zre);
char *opts = Z_STRVAL_P(zopts);
spprintf(&field_name, 0, "/%s/%s", re, opts);
RETVAL_STRING(field_name, 0);
}
/* }}} */
static zend_function_entry MongoRegex_methods[] = {
PHP_ME(MongoRegex, __construct, NULL, ZEND_ACC_PUBLIC)
PHP_ME(MongoRegex, __toString, NULL, ZEND_ACC_PUBLIC)
PHP_FE_END
};
void mongo_init_MongoRegex(TSRMLS_D)
{
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "MongoRegex", MongoRegex_methods);
ce.create_object = php_mongo_type_object_new;
mongo_ce_Regex = zend_register_internal_class(&ce TSRMLS_CC);
zend_declare_property_string(mongo_ce_Regex, "regex", strlen("regex"), "", ZEND_ACC_PUBLIC|MONGO_ACC_READ_ONLY TSRMLS_CC);
zend_declare_property_string(mongo_ce_Regex, "flags", strlen("flags"), "", ZEND_ACC_PUBLIC|MONGO_ACC_READ_ONLY TSRMLS_CC);
}
开发者ID:AndrewHarkusha,项目名称:mongo-php-driver,代码行数:31,代码来源:regex.c
示例15: PHP_METHOD
#include "php_slim.h"
#include "slim_collection.h"
zend_class_entry *slim_collection_ce;
/** 构造函数 **/
PHP_METHOD(slim_collection, __construct)
{
}
/** 方法参数个数声明 **/
ZEND_BEGIN_ARG_INFO_EX(slim_collection_void_arginfo, 0, 0, 0)
ZEND_END_ARG_INFO()
zend_function_entry slim_collection_methods[] = {
PHP_ME(slim_collection, __construct, slim_collection_void_arginfo, ZEND_ACC_PUBLIC | ZEND_ACC_CTOR)
{NULL, NULL, NULL}
};
SLIM_MINIT_FUNCTION(collection)
{
//声明属性,设置累修饰符等
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "Slim\\Http\\Collection", slim_collection_methods);
slim_collection_ce = zend_register_internal_class_ex(&ce, NULL, NULL TSRMLS_CC);
//slim_collection_ce->ce_flags |= ZEND_ACC_FINAL_CLASS;
return SUCCESS;
}
开发者ID:eaglewu,项目名称:slim,代码行数:30,代码来源:slim_collection.c
示例16: ZEND_BEGIN_ARG_INFO_EX
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_select___construct, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_ARG_INFO(0, options)
ZEND_ARG_INFO(0, attributes)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_select_setoptions, 0, 0, 1)
ZEND_ARG_INFO(0, options)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_select_addoption, 0, 0, 1)
ZEND_ARG_INFO(0, option)
ZEND_END_ARG_INFO()
static const zend_function_entry phalcon_forms_element_select_method_entry[] = {
PHP_ME(Phalcon_Forms_Element_Select, __construct, arginfo_phalcon_forms_element_select___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(Phalcon_Forms_Element_Select, setOptions, arginfo_phalcon_forms_element_select_setoptions, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Forms_Element_Select, getOptions, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Forms_Element_Select, addOption, arginfo_phalcon_forms_element_select_addoption, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Forms_Element_Select, render, arginfo_phalcon_forms_elementinterface_render, ZEND_ACC_PUBLIC)
PHP_FE_END
};
/**
* Phalcon\Forms\Element\Select initializer
*/
PHALCON_INIT_CLASS(Phalcon_Forms_Element_Select){
PHALCON_REGISTER_CLASS_EX(Phalcon\\Forms\\Element, Select, forms_element_select, phalcon_forms_element_ce, phalcon_forms_element_select_method_entry, 0);
zend_declare_property_null(phalcon_forms_element_select_ce, SL("_optionsValues"), ZEND_ACC_PROTECTED TSRMLS_CC);
开发者ID:100851766,项目名称:cphalcon,代码行数:31,代码来源:select.c
示例17: PHP_METHOD
PHP_METHOD(Phalcon_Logger_Formatter_Firephp, labelsEnabled);
PHP_METHOD(Phalcon_Logger_Formatter_Firephp, format);
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_firephp_empty, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_firephp_setshowbacktrace, 0, 0, 0)
ZEND_ARG_INFO(0, show)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_firephp_enablelabels, 0, 0, 0)
ZEND_ARG_INFO(0, enable)
ZEND_END_ARG_INFO()
static const zend_function_entry phalcon_logger_formatter_firephp_method_entry[] = {
PHP_ME(Phalcon_Logger_Formatter_Firephp, getTypeString, arginfo_phalcon_logger_formatter_gettypestring, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Logger_Formatter_Firephp, getShowBacktrace, arginfo_phalcon_logger_formatter_firephp_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Logger_Formatter_Firephp, setShowBacktrace, arginfo_phalcon_logger_formatter_firephp_setshowbacktrace, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Logger_Formatter_Firephp, enableLabels, arginfo_phalcon_logger_formatter_firephp_enablelabels, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Logger_Formatter_Firephp, labelsEnabled, arginfo_phalcon_logger_formatter_firephp_empty, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Logger_Formatter_Firephp, format, arginfo_phalcon_logger_formatterinterface_format, ZEND_ACC_PUBLIC)
PHP_FE_END
};
/**
* Phalcon\Logger\Formatter\Firephp initializer
*/
PHALCON_INIT_CLASS(Phalcon_Logger_Formatter_Firephp){
PHALCON_REGISTER_CLASS_EX(Phalcon\\Logger\\Formatter, Firephp, logger_formatter_firephp, phalcon_logger_formatter_ce, phalcon_logger_formatter_firephp_method_entry, 0);
开发者ID:unisys12,项目名称:phalcon-hhvm,代码行数:30,代码来源:firephp.cpp
示例18: ZEND_END_ARG_INFO
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_setSlaveOkay, 0, ZEND_RETURN_VALUE, 0)
ZEND_ARG_INFO(0, slave_okay)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_dropDB, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, MongoDB_object_OR_database_name)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_setPoolSize, 0, ZEND_RETURN_VALUE, 1)
ZEND_ARG_INFO(0, maximum_pool_size)
ZEND_END_ARG_INFO()
static zend_function_entry mongo_methods[] = {
PHP_ME(Mongo, __construct, arginfo___construct, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, connect, arginfo_no_parameters, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, pairConnect, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
PHP_ME(Mongo, persistConnect, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
PHP_ME(Mongo, pairPersistConnect, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
PHP_ME(Mongo, connectUtil, arginfo_no_parameters, ZEND_ACC_PROTECTED)
PHP_ME(Mongo, __toString, arginfo_no_parameters, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, __get, arginfo___get, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, selectDB, arginfo_selectDB, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, selectCollection, arginfo_selectCollection, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, getSlaveOkay, arginfo_no_parameters, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, setSlaveOkay, arginfo_setSlaveOkay, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, dropDB, arginfo_dropDB, ZEND_ACC_PUBLIC)
PHP_ME(Mongo, lastError, arginfo_no_parameters, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
PHP_ME(Mongo, prevError, arginfo_no_parameters, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
PHP_ME(Mongo, resetError, arginfo_no_parameters, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
开发者ID:kchodorow,项目名称:mongo-php-driver,代码行数:31,代码来源:mongo.c
示例19: ZEND_END_ARG_INFO
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_crypt_afterencrypt, 0, 0, 1)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_crypt_beforedecrypt, 0, 0, 1)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_crypt_afterdecrypt, 0, 0, 1)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
static const zend_function_entry phalcon_crypt_method_entry[] = {
PHP_ME(Phalcon_Crypt, setMethod, arginfo_phalcon_cryptinterface_setmethod, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, getMethod, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, setKey, arginfo_phalcon_cryptinterface_setkey, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, getKey, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, setOptions, arginfo_phalcon_cryptinterface_setoptions, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, getOptions, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, encrypt, arginfo_phalcon_cryptinterface_encrypt, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, decrypt, arginfo_phalcon_cryptinterface_decrypt, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, encryptBase64, arginfo_phalcon_cryptinterface_encryptbase64, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, decryptBase64, arginfo_phalcon_cryptinterface_decryptbase64, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, getAvailableMethods, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, beforeEncrypt, arginfo_phalcon_crypt_beforeencrypt, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, afterEncrypt, arginfo_phalcon_crypt_afterencrypt, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, beforeDecrypt, arginfo_phalcon_crypt_beforedecrypt, ZEND_ACC_PUBLIC)
PHP_ME(Phalcon_Crypt, afterDecrypt, arginfo_phalcon_crypt_afterdecrypt, ZEND_ACC_PUBLIC)
PHP_FE_END
开发者ID:dreamsxin,项目名称:cphalcon7,代码行数:31,代码来源:crypt.c
示例20: ZEND_BEGIN_ARG_INFO_EX
ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementation_create_document, 0, 0, 3)
ZEND_ARG_INFO(0, namespaceURI)
ZEND_ARG_INFO(0, qualifiedName)
ZEND_ARG_OBJ_INFO(0, docType, DOMDocumentType, 0)
ZEND_END_ARG_INFO();
/* }}} */
/*
* class DOMImplementation
*
* URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-102161490
* Since:
*/
const zend_function_entry php_dom_domimplementation_class_functions[] = {
PHP_ME(domimplementation, getFeature, arginfo_dom_implementation_get_feature, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
PHP_ME(domimplementation, hasFeature, arginfo_dom_implementation_has_feature, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
PHP_ME(domimplementation, createDocumentType, arginfo_dom_implementation_create_documenttype, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
PHP_ME(domimplementation, createDocument, arginfo_dom_implementation_create_document, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC)
PHP_FE_END
};
/* {{{ proto boolean dom_domimplementation_has_feature(string feature, string version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-5CED94D7
Since:
*/
PHP_METHOD(domimplementation, hasFeature)
{
int feature_len, version_len;
char *feature, *version;
开发者ID:1HLtd,项目名称:php-src,代码行数:30,代码来源:domimplementation.c
注:本文中的PHP_ME函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论