From da00140ae7dd7cd1262fd314444c2f560412f153 Mon Sep 17 00:00:00 2001 From: phalcon Date: Sat, 9 Mar 2013 11:41:23 -0600 Subject: [PATCH] Regenerating build for 64bits [ci skip] --- build/64bits/phalcon.c | 850 ++++++++++--- build/64bits/phalcon.h | 2717 +++++++++++++++++++++------------------- 2 files changed, 2118 insertions(+), 1449 deletions(-) diff --git a/build/64bits/phalcon.c b/build/64bits/phalcon.c index 6471155bf66..9acb0cd8fb3 100644 --- a/build/64bits/phalcon.c +++ b/build/64bits/phalcon.c @@ -20011,6 +20011,24 @@ PHP_METHOD(Phalcon_Db_Adapter_Pdo, connect){ PHALCON_MM_RESTORE();} +PHP_METHOD(Phalcon_Db_Adapter_Pdo, prepare){ + + zval *sql_statement, *pdo, *statement; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &sql_statement) == FAILURE) { + RETURN_MM_NULL(); + } + + PHALCON_OBS_VAR(pdo); + phalcon_read_property(&pdo, this_ptr, SL("_pdo"), PH_NOISY_CC); + + PHALCON_INIT_VAR(statement); + PHALCON_CALL_METHOD_PARAMS_1_KEY(statement, pdo, "prepare", sql_statement, 7572809356827924UL); + RETURN_CCTOR(statement); +} + PHP_METHOD(Phalcon_Db_Adapter_Pdo, executePrepared){ zval *statement = NULL, *placeholders = NULL, *data_types = NULL; @@ -30338,6 +30356,60 @@ PHALCON_INIT_CLASS(Phalcon_FlashInterface){ + + +PHALCON_INIT_CLASS(Phalcon_Forms_Element_Password){ + + PHALCON_REGISTER_CLASS_EX(Phalcon\\Forms\\Element, Password, forms_element_password, "phalcon\\forms\\element", phalcon_forms_element_password_method_entry, 0); + + return SUCCESS; +} + +PHP_METHOD(Phalcon_Forms_Element_Password, render){ + + zval *attributes = NULL, *name, *widget_attributes = NULL; + zval *code; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &attributes) == FAILURE) { + RETURN_MM_NULL(); + } + + if (!attributes) { + PHALCON_INIT_VAR(attributes); + } + + PHALCON_OBS_VAR(name); + phalcon_read_property(&name, this_ptr, SL("_name"), PH_NOISY_CC); + if (Z_TYPE_P(attributes) != IS_ARRAY) { + PHALCON_INIT_VAR(widget_attributes); + array_init(widget_attributes); + } else { + PHALCON_CPY_WRT(widget_attributes, attributes); + } + + phalcon_array_update_long(&widget_attributes, 0, &name, PH_COPY | PH_SEPARATE TSRMLS_CC); + + PHALCON_INIT_VAR(code); + PHALCON_CALL_STATIC_PARAMS_1(code, "phalcon\\tag", "passwordfield", widget_attributes); + + RETURN_CCTOR(code); +} + + + + + +#ifdef HAVE_CONFIG_H +#endif + + + + + + + PHALCON_INIT_CLASS(Phalcon_Forms_Element_Text){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Forms\\Element, Text, forms_element_text, "phalcon\\forms\\element", phalcon_forms_element_text_method_entry, 0); @@ -30472,6 +30544,17 @@ PHP_METHOD(Phalcon_Forms_Element, getValidators){ RETURN_MEMBER(this_ptr, "_validators"); } +PHP_METHOD(Phalcon_Forms_Element, __toString){ + + zval *content; + + PHALCON_MM_GROW(); + + PHALCON_INIT_VAR(content); + PHALCON_CALL_METHOD(content, this_ptr, "render"); + RETURN_CCTOR(content); +} + @@ -30502,39 +30585,205 @@ PHALCON_INIT_CLASS(Phalcon_Forms_Exception){ + + PHALCON_INIT_CLASS(Phalcon_Forms_Form){ PHALCON_REGISTER_CLASS(Phalcon\\Forms, Form, forms_form, phalcon_forms_form_method_entry, 0); zend_declare_property_null(phalcon_forms_form_ce, SL("_entity"), ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_null(phalcon_forms_form_ce, SL("_elements"), ZEND_ACC_PROTECTED TSRMLS_CC); + zend_declare_property_null(phalcon_forms_form_ce, SL("_messages"), ZEND_ACC_PROTECTED TSRMLS_CC); return SUCCESS; } PHP_METHOD(Phalcon_Forms_Form, __construct){ - zval *entity; + zval *entity = NULL; PHALCON_MM_GROW(); - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &entity) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &entity) == FAILURE) { RETURN_MM_NULL(); } - if (Z_TYPE_P(entity) != IS_OBJECT) { - PHALCON_THROW_EXCEPTION_STR(phalcon_forms_exception_ce, "The base entity is not valid"); - return; + if (!entity) { + PHALCON_INIT_VAR(entity); + } + + if (Z_TYPE_P(entity) != IS_NULL) { + if (Z_TYPE_P(entity) != IS_OBJECT) { + PHALCON_THROW_EXCEPTION_STR(phalcon_forms_exception_ce, "The base entity is not valid"); + return; + } + phalcon_update_property_zval(this_ptr, SL("_entity"), entity TSRMLS_CC); } - phalcon_update_property_zval(this_ptr, SL("_entity"), entity TSRMLS_CC); PHALCON_MM_RESTORE(); } PHP_METHOD(Phalcon_Forms_Form, isValid){ + zval *data = NULL, *entity = NULL, *elements, *failed = NULL, *messages; + zval *element = NULL, *validators = NULL, *validation = NULL, *element_messages = NULL; + zval *name = NULL; + HashTable *ah0; + HashPosition hp0; + zval **hd; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zz", &data, &entity) == FAILURE) { + RETURN_MM_NULL(); + } + + if (!data) { + PHALCON_INIT_VAR(data); + } + + if (!entity) { + PHALCON_INIT_VAR(entity); + } else { + PHALCON_SEPARATE_PARAM(entity); + } + + PHALCON_OBS_VAR(elements); + phalcon_read_property(&elements, this_ptr, SL("_elements"), PH_NOISY_CC); + if (Z_TYPE_P(elements) == IS_ARRAY) { + + if (Z_TYPE_P(entity) != IS_OBJECT) { + PHALCON_OBS_NVAR(entity); + phalcon_read_property(&entity, this_ptr, SL("_entity"), PH_NOISY_CC); + } + + PHALCON_INIT_VAR(failed); + ZVAL_BOOL(failed, 0); + + PHALCON_INIT_VAR(messages); + array_init(messages); + + if (!phalcon_is_iterable(elements, &ah0, &hp0, 0, 0 TSRMLS_CC)) { + return; + } + + while (zend_hash_get_current_data_ex(ah0, (void**) &hd, &hp0) == SUCCESS) { + + PHALCON_GET_FOREACH_VALUE(element); + + PHALCON_INIT_NVAR(validators); + PHALCON_CALL_METHOD(validators, element, "getvalidators"); + if (Z_TYPE_P(validators) == IS_ARRAY) { + + PHALCON_INIT_NVAR(validation); + object_init_ex(validation, phalcon_validation_ce); + + PHALCON_INIT_NVAR(element_messages); + PHALCON_CALL_METHOD_PARAMS_2_KEY(element_messages, validation, "validate", data, entity, 249910431482794863UL); + if (phalcon_fast_count_ev(element_messages TSRMLS_CC)) { + PHALCON_INIT_NVAR(name); + PHALCON_CALL_METHOD(name, element, "getname"); + phalcon_array_update_zval(&messages, name, &element_messages, PH_COPY | PH_SEPARATE TSRMLS_CC); + + PHALCON_INIT_NVAR(failed); + ZVAL_BOOL(failed, 1); + } + } + + zend_hash_move_forward_ex(ah0, &hp0); + } + + if (zend_is_true(failed)) { + phalcon_update_property_zval(this_ptr, SL("_messages"), messages TSRMLS_CC); + } + + + RETURN_NCTOR(failed); + } + + PHALCON_MM_RESTORE(); +} + +PHP_METHOD(Phalcon_Forms_Form, getMessages){ + + zval *by_item_name = NULL, *messages, *group = NULL, *element_messages = NULL; + zval *element = NULL; + HashTable *ah0; + HashPosition hp0; + zval **hd; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &by_item_name) == FAILURE) { + RETURN_MM_NULL(); + } + + if (!by_item_name) { + PHALCON_INIT_VAR(by_item_name); + ZVAL_BOOL(by_item_name, 1); + } + + PHALCON_OBS_VAR(messages); + phalcon_read_property(&messages, this_ptr, SL("_messages"), PH_NOISY_CC); + if (zend_is_true(by_item_name)) { + if (Z_TYPE_P(messages) != IS_ARRAY) { + PHALCON_INIT_VAR(group); + object_init_ex(group, phalcon_validation_message_group_ce); + PHALCON_CALL_METHOD_NORETURN(group, "__construct"); + + RETURN_CTOR(group); + } + + RETURN_CCTOR(messages); + } + + PHALCON_INIT_NVAR(group); + object_init_ex(group, phalcon_validation_message_group_ce); + PHALCON_CALL_METHOD_NORETURN(group, "__construct"); + + + if (!phalcon_is_iterable(messages, &ah0, &hp0, 0, 0 TSRMLS_CC)) { + return; + } + + while (zend_hash_get_current_data_ex(ah0, (void**) &hd, &hp0) == SUCCESS) { + + PHALCON_GET_FOREACH_KEY(element, ah0, hp0); + PHALCON_GET_FOREACH_VALUE(element_messages); + + PHALCON_CALL_METHOD_PARAMS_1_NORETURN_KEY(group, "appendmessages", element_messages, 6403740643299079957UL); + + zend_hash_move_forward_ex(ah0, &hp0); + } + + + RETURN_CTOR(group); +} + +PHP_METHOD(Phalcon_Forms_Form, getMessagesFor){ + zval *name, *messages, *element_messages, *group; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &name) == FAILURE) { + RETURN_MM_NULL(); + } + + PHALCON_OBS_VAR(messages); + phalcon_read_property(&messages, this_ptr, SL("_messages"), PH_NOISY_CC); + if (phalcon_array_isset(messages, name)) { + PHALCON_OBS_VAR(element_messages); + phalcon_array_fetch(&element_messages, messages, name, PH_NOISY_CC); + RETURN_CCTOR(element_messages); + } + PHALCON_INIT_VAR(group); + object_init_ex(group, phalcon_validation_message_group_ce); + PHALCON_CALL_METHOD_NORETURN(group, "__construct"); + + + RETURN_CTOR(group); } PHP_METHOD(Phalcon_Forms_Form, add){ @@ -30556,7 +30805,7 @@ PHP_METHOD(Phalcon_Forms_Form, add){ PHALCON_CALL_METHOD(name, element, "getname"); phalcon_update_property_array(this_ptr, SL("_elements"), name, element TSRMLS_CC); - RETURN_CCTOR(element); + RETURN_THIS(); } PHP_METHOD(Phalcon_Forms_Form, render){ @@ -30592,6 +30841,31 @@ PHP_METHOD(Phalcon_Forms_Form, render){ RETURN_CCTOR(code); } +PHP_METHOD(Phalcon_Forms_Form, get){ + + zval *name, *elements, *exception_message, *element; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &name) == FAILURE) { + RETURN_MM_NULL(); + } + + PHALCON_OBS_VAR(elements); + phalcon_read_property(&elements, this_ptr, SL("_elements"), PH_NOISY_CC); + if (!phalcon_array_isset(elements, name)) { + PHALCON_INIT_VAR(exception_message); + PHALCON_CONCAT_SVS(exception_message, "Element with ID=", name, " is not part of the form"); + PHALCON_THROW_EXCEPTION_ZVAL(phalcon_forms_exception_ce, exception_message); + return; + } + + PHALCON_OBS_VAR(element); + phalcon_array_fetch(&element, elements, name, PH_NOISY_CC); + + RETURN_CCTOR(element); +} + @@ -61963,8 +62237,8 @@ PHP_METHOD(Phalcon_Mvc_Model, _postSaveRelatedRecords){ PHP_METHOD(Phalcon_Mvc_Model, save){ - zval *data = NULL, *meta_data, *attributes, *attribute = NULL; - zval *value = NULL, *possible_setter = NULL, *write_connection; + zval *data = NULL, *white_list = NULL, *meta_data, *attributes; + zval *attribute = NULL, *value = NULL, *possible_setter = NULL, *write_connection; zval *related, *status = NULL, *schema, *source, *table = NULL, *read_connection; zval *exists, *empty_array, *identity_field; zval *success = NULL; @@ -61975,7 +62249,7 @@ PHP_METHOD(Phalcon_Mvc_Model, save){ PHALCON_MM_GROW(); - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &data) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zz", &data, &white_list) == FAILURE) { RETURN_MM_NULL(); } @@ -61983,6 +62257,10 @@ PHP_METHOD(Phalcon_Mvc_Model, save){ PHALCON_INIT_VAR(data); } + if (!white_list) { + PHALCON_INIT_VAR(white_list); + } + PHALCON_INIT_VAR(meta_data); PHALCON_CALL_METHOD(meta_data, this_ptr, "getmodelsmetadata"); @@ -62005,6 +62283,13 @@ PHP_METHOD(Phalcon_Mvc_Model, save){ if (phalcon_array_isset(data, attribute)) { + if (Z_TYPE_P(white_list) == IS_ARRAY) { + if (!phalcon_array_isset(white_list, attribute)) { + zend_hash_move_forward_ex(ah0, &hp0); + continue; + } + } + PHALCON_OBS_NVAR(value); phalcon_array_fetch(&value, data, attribute, PH_NOISY_CC); @@ -62116,18 +62401,18 @@ PHP_METHOD(Phalcon_Mvc_Model, save){ PHP_METHOD(Phalcon_Mvc_Model, create){ - zval *data = NULL, *meta_data, *column_map = NULL, *attributes; - zval *attribute = NULL, *attribute_field = NULL, *exception_message = NULL; - zval *value = NULL, *possible_setter = NULL, *read_connection; - zval *exists, *field, *type, *message, *model_message; - zval *messages, *success; + zval *data = NULL, *white_list = NULL, *meta_data, *column_map = NULL; + zval *attributes, *attribute = NULL, *attribute_field = NULL; + zval *exception_message = NULL, *value = NULL, *possible_setter = NULL; + zval *read_connection, *exists, *field, *type, *message; + zval *model_message, *messages, *success; HashTable *ah0; HashPosition hp0; zval **hd; PHALCON_MM_GROW(); - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &data) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zz", &data, &white_list) == FAILURE) { RETURN_MM_NULL(); } @@ -62135,6 +62420,10 @@ PHP_METHOD(Phalcon_Mvc_Model, create){ PHALCON_INIT_VAR(data); } + if (!white_list) { + PHALCON_INIT_VAR(white_list); + } + PHALCON_INIT_VAR(meta_data); PHALCON_CALL_METHOD(meta_data, this_ptr, "getmodelsmetadata"); @@ -62177,6 +62466,13 @@ PHP_METHOD(Phalcon_Mvc_Model, create){ if (phalcon_array_isset(data, attribute_field)) { + if (Z_TYPE_P(white_list) == IS_ARRAY) { + if (!phalcon_array_isset(white_list, attribute_field)) { + zend_hash_move_forward_ex(ah0, &hp0); + continue; + } + } + PHALCON_OBS_NVAR(value); phalcon_array_fetch(&value, data, attribute_field, PH_NOISY_CC); @@ -62228,18 +62524,19 @@ PHP_METHOD(Phalcon_Mvc_Model, create){ PHP_METHOD(Phalcon_Mvc_Model, update){ - zval *data = NULL, *meta_data = NULL, *column_map = NULL, *attributes; - zval *attribute = NULL, *attribute_field = NULL, *exception_message = NULL; - zval *value = NULL, *possible_setter = NULL, *dirty_state; - zval *read_connection, *exists, *field, *type, *message; - zval *model_message, *messages, *success; + zval *data = NULL, *white_list = NULL, *meta_data = NULL, *column_map = NULL; + zval *attributes, *attribute = NULL, *attribute_field = NULL; + zval *exception_message = NULL, *value = NULL, *possible_setter = NULL; + zval *dirty_state, *read_connection, *exists; + zval *field, *type, *message, *model_message, *messages; + zval *success; HashTable *ah0; HashPosition hp0; zval **hd; PHALCON_MM_GROW(); - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &data) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zz", &data, &white_list) == FAILURE) { RETURN_MM_NULL(); } @@ -62247,6 +62544,10 @@ PHP_METHOD(Phalcon_Mvc_Model, update){ PHALCON_INIT_VAR(data); } + if (!white_list) { + PHALCON_INIT_VAR(white_list); + } + PHALCON_INIT_VAR(meta_data); if (Z_TYPE_P(data) != IS_NULL) { @@ -62290,6 +62591,13 @@ PHP_METHOD(Phalcon_Mvc_Model, update){ if (phalcon_array_isset(data, attribute_field)) { + if (Z_TYPE_P(white_list) == IS_ARRAY) { + if (!phalcon_array_isset(white_list, attribute_field)) { + zend_hash_move_forward_ex(ah0, &hp0); + continue; + } + } + PHALCON_OBS_NVAR(value); phalcon_array_fetch(&value, data, attribute_field, PH_NOISY_CC); @@ -65258,6 +65566,7 @@ PHALCON_INIT_CLASS(Phalcon_Mvc_Router){ PHALCON_REGISTER_CLASS(Phalcon\\Mvc, Router, mvc_router, phalcon_mvc_router_method_entry, 0); zend_declare_property_null(phalcon_mvc_router_ce, SL("_dependencyInjector"), ZEND_ACC_PROTECTED TSRMLS_CC); + zend_declare_property_null(phalcon_mvc_router_ce, SL("_uriSource"), ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_null(phalcon_mvc_router_ce, SL("_namespace"), ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_null(phalcon_mvc_router_ce, SL("_module"), ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_null(phalcon_mvc_router_ce, SL("_controller"), ZEND_ACC_PROTECTED TSRMLS_CC); @@ -65275,6 +65584,9 @@ PHALCON_INIT_CLASS(Phalcon_Mvc_Router){ zend_declare_property_bool(phalcon_mvc_router_ce, SL("_removeExtraSlashes"), 0, ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_null(phalcon_mvc_router_ce, SL("_notFoundPaths"), ZEND_ACC_PROTECTED TSRMLS_CC); + zend_declare_class_constant_long(phalcon_mvc_router_ce, SL("URI_SOURCE_GET_URL"), 0 TSRMLS_CC); + zend_declare_class_constant_long(phalcon_mvc_router_ce, SL("URI_SOURCE_SERVER_REQUEST_URI"), 1 TSRMLS_CC); + zend_class_implements(phalcon_mvc_router_ce TSRMLS_CC, 2, phalcon_mvc_routerinterface_ce, phalcon_di_injectionawareinterface_ce); return SUCCESS; @@ -65357,18 +65669,23 @@ PHP_METHOD(Phalcon_Mvc_Router, getDI){ PHP_METHOD(Phalcon_Mvc_Router, _getRewriteUri){ - zval *_GET, *url = NULL, *_SERVER, *question_mark, *url_parts; - zval *real_uri; + zval *uri_source, *_GET, *url = NULL, *_SERVER, *question_mark; + zval *url_parts, *real_uri; PHALCON_MM_GROW(); - phalcon_get_global(&_GET, SS("_GET") TSRMLS_CC); - if (phalcon_array_isset_quick_string(_GET, SS("_url"), 210704544567UL)) { + PHALCON_OBS_VAR(uri_source); + phalcon_read_property(&uri_source, this_ptr, SL("_uriSource"), PH_NOISY_CC); - PHALCON_OBS_VAR(url); - phalcon_array_fetch_quick_string(&url, _GET, SS("_url"), 210704544567UL, PH_NOISY_CC); - if (PHALCON_IS_NOT_EMPTY(url)) { - RETURN_CCTOR(url); + if (!zend_is_true(uri_source)) { + phalcon_get_global(&_GET, SS("_GET") TSRMLS_CC); + if (phalcon_array_isset_quick_string(_GET, SS("_url"), 210704544567UL)) { + + PHALCON_OBS_VAR(url); + phalcon_array_fetch_quick_string(&url, _GET, SS("_url"), 210704544567UL, PH_NOISY_CC); + if (PHALCON_IS_NOT_EMPTY(url)) { + RETURN_CCTOR(url); + } } } else { phalcon_get_global(&_SERVER, SS("_SERVER") TSRMLS_CC); @@ -65390,10 +65707,23 @@ PHP_METHOD(Phalcon_Mvc_Router, _getRewriteUri){ } } } + PHALCON_MM_RESTORE(); RETURN_STRING("/", 1); } +PHP_METHOD(Phalcon_Mvc_Router, setUriSource){ + + zval *uri_source; + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &uri_source) == FAILURE) { + RETURN_NULL(); + } + + phalcon_update_property_zval(this_ptr, SL("_uriSource"), uri_source TSRMLS_CC); + +} + PHP_METHOD(Phalcon_Mvc_Router, removeExtraSlashes){ zval *remove; @@ -76882,17 +77212,9 @@ PHP_METHOD(Phalcon_Mvc_View, _engineRender){ PHALCON_INIT_NVAR(not_exists); ZVAL_BOOL(not_exists, 0); if (Z_TYPE_P(events_manager) == IS_OBJECT) { - phalcon_update_property_zval(this_ptr, SL("_activeRenderPath"), view_engine_path TSRMLS_CC); - PHALCON_INIT_NVAR(event_name); ZVAL_STRING(event_name, "view:afterRenderView", 1); - - PHALCON_INIT_NVAR(status); - PHALCON_CALL_METHOD_PARAMS_2_KEY(status, events_manager, "fire", event_name, this_ptr, 210712414539UL); - if (PHALCON_IS_FALSE(status)) { - zend_hash_move_forward_ex(ah0, &hp0); - continue; - } + PHALCON_CALL_METHOD_PARAMS_2_NORETURN_KEY(events_manager, "fire", event_name, this_ptr, 210712414539UL); } break; @@ -76902,6 +77224,14 @@ PHP_METHOD(Phalcon_Mvc_View, _engineRender){ } if (PHALCON_IS_TRUE(not_exists)) { + + if (Z_TYPE_P(events_manager) == IS_OBJECT) { + phalcon_update_property_zval(this_ptr, SL("_activeRenderPath"), view_engine_path TSRMLS_CC); + + PHALCON_INIT_NVAR(event_name); + ZVAL_STRING(event_name, "view:notFoundView", 1); + PHALCON_CALL_METHOD_PARAMS_2_NORETURN_KEY(events_manager, "fire", event_name, this_ptr, 210712414539UL); + } if (!zend_is_true(silence)) { PHALCON_INIT_VAR(exception_message); PHALCON_CONCAT_SVS(exception_message, "View '", views_dir_path, "' was not found in the views directory"); @@ -81976,6 +82306,35 @@ PHP_METHOD(Phalcon_Validation_Message_Group, appendMessage){ PHALCON_MM_RESTORE(); } +PHP_METHOD(Phalcon_Validation_Message_Group, appendMessages){ + + zval *messages, *current_messages, *final_messages = NULL; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &messages) == FAILURE) { + RETURN_MM_NULL(); + } + + if (Z_TYPE_P(messages) != IS_ARRAY) { + PHALCON_THROW_EXCEPTION_STR(phalcon_validation_exception_ce, "The messages must be an array"); + return; + } + + PHALCON_OBS_VAR(current_messages); + phalcon_read_property(¤t_messages, this_ptr, SL("_messages"), PH_NOISY_CC); + if (Z_TYPE_P(current_messages) == IS_ARRAY) { + PHALCON_INIT_VAR(final_messages); + PHALCON_CALL_FUNC_PARAMS_2(final_messages, "array_merge", current_messages, messages); + } else { + PHALCON_CPY_WRT(final_messages, messages); + } + + phalcon_update_property_zval(this_ptr, SL("_messages"), final_messages TSRMLS_CC); + + PHALCON_MM_RESTORE(); +} + PHP_METHOD(Phalcon_Validation_Message_Group, count){ zval *messages, *number; @@ -82220,6 +82579,8 @@ PHALCON_INIT_CLASS(Phalcon_Validation_Validator_Email){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Validation\\Validator, Email, validation_validator_email, "phalcon\\validation\\validator", phalcon_validation_validator_email_method_entry, 0); + zend_class_implements(phalcon_validation_validator_email_ce TSRMLS_CC, 1, phalcon_validation_validatorinterface_ce); + return SUCCESS; } @@ -82285,6 +82646,8 @@ PHALCON_INIT_CLASS(Phalcon_Validation_Validator_ExclusionIn){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Validation\\Validator, ExclusionIn, validation_validator_exclusionin, "phalcon\\validation\\validator", phalcon_validation_validator_exclusionin_method_entry, 0); + zend_class_implements(phalcon_validation_validator_exclusionin_ce TSRMLS_CC, 1, phalcon_validation_validatorinterface_ce); + return SUCCESS; } @@ -82315,7 +82678,7 @@ PHP_METHOD(Phalcon_Validation_Validator_ExclusionIn, validate){ PHALCON_INIT_VAR(in_array); PHALCON_CALL_FUNC_PARAMS_2(in_array, "in_array", value, domain); - if (!zend_is_true(in_array)) { + if (zend_is_true(in_array)) { PHALCON_INIT_NVAR(option); ZVAL_STRING(option, "message", 1); @@ -82360,6 +82723,8 @@ PHALCON_INIT_CLASS(Phalcon_Validation_Validator_Identical){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Validation\\Validator, Identical, validation_validator_identical, "phalcon\\validation\\validator", phalcon_validation_validator_identical_method_entry, 0); + zend_class_implements(phalcon_validation_validator_identical_ce TSRMLS_CC, 1, phalcon_validation_validatorinterface_ce); + return SUCCESS; } @@ -82424,6 +82789,8 @@ PHALCON_INIT_CLASS(Phalcon_Validation_Validator_InclusionIn){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Validation\\Validator, InclusionIn, validation_validator_inclusionin, "phalcon\\validation\\validator", phalcon_validation_validator_inclusionin_method_entry, 0); + zend_class_implements(phalcon_validation_validator_inclusionin_ce TSRMLS_CC, 1, phalcon_validation_validatorinterface_ce); + return SUCCESS; } @@ -82499,6 +82866,8 @@ PHALCON_INIT_CLASS(Phalcon_Validation_Validator_PresenceOf){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Validation\\Validator, PresenceOf, validation_validator_presenceof, "phalcon\\validation\\validator", phalcon_validation_validator_presenceof_method_entry, 0); + zend_class_implements(phalcon_validation_validator_presenceof_ce TSRMLS_CC, 1, phalcon_validation_validatorinterface_ce); + return SUCCESS; } @@ -82557,6 +82926,8 @@ PHALCON_INIT_CLASS(Phalcon_Validation_Validator_Regex){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Validation\\Validator, Regex, validation_validator_regex, "phalcon\\validation\\validator", phalcon_validation_validator_regex_method_entry, 0); + zend_class_implements(phalcon_validation_validator_regex_ce TSRMLS_CC, 1, phalcon_validation_validatorinterface_ce); + return SUCCESS; } @@ -82637,6 +83008,145 @@ PHP_METHOD(Phalcon_Validation_Validator_Regex, validate){ +PHALCON_INIT_CLASS(Phalcon_Validation_Validator_StringLength){ + + PHALCON_REGISTER_CLASS_EX(Phalcon\\Validation\\Validator, StringLength, validation_validator_stringlength, "phalcon\\validation\\validator", phalcon_validation_validator_stringlength_method_entry, 0); + + zend_class_implements(phalcon_validation_validator_stringlength_ce TSRMLS_CC, 1, phalcon_validation_validatorinterface_ce); + + return SUCCESS; +} + +PHP_METHOD(Phalcon_Validation_Validator_StringLength, validate){ + + zval *validator, *attribute, *option = NULL, *is_set_min; + zval *is_set_max, *value, *length = NULL, *invalid_maximum = NULL; + zval *invalid_minimum = NULL, *maximum, *message_str = NULL; + zval *type = NULL, *message = NULL, *minimum; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &validator, &attribute) == FAILURE) { + RETURN_MM_NULL(); + } + + PHALCON_INIT_VAR(option); + ZVAL_STRING(option, "min", 1); + + PHALCON_INIT_VAR(is_set_min); + PHALCON_CALL_METHOD_PARAMS_1_KEY(is_set_min, this_ptr, "issetoption", option, 15284397366010342758UL); + + PHALCON_INIT_NVAR(option); + ZVAL_STRING(option, "max", 1); + + PHALCON_INIT_VAR(is_set_max); + PHALCON_CALL_METHOD_PARAMS_1_KEY(is_set_max, this_ptr, "issetoption", option, 15284397366010342758UL); + if (!zend_is_true(is_set_min)) { + if (!zend_is_true(is_set_max)) { + PHALCON_THROW_EXCEPTION_STR(phalcon_mvc_model_exception_ce, "A minimum or maximum must be set"); + return; + } + } + + PHALCON_INIT_VAR(value); + PHALCON_CALL_METHOD_PARAMS_1_KEY(value, validator, "getvalue", attribute, 249889516664635650UL); + + if (phalcon_function_quick_exists_ex(SS("mb_strlen"), 8246627401502195211UL TSRMLS_CC) == SUCCESS) { + PHALCON_INIT_VAR(length); + PHALCON_CALL_FUNC_PARAMS_1(length, "mb_strlen", value); + } else { + PHALCON_INIT_NVAR(length); + phalcon_fast_strlen(length, value); + } + + PHALCON_INIT_VAR(invalid_maximum); + ZVAL_BOOL(invalid_maximum, 0); + + PHALCON_INIT_VAR(invalid_minimum); + ZVAL_BOOL(invalid_minimum, 0); + + if (zend_is_true(is_set_max)) { + + PHALCON_INIT_NVAR(option); + ZVAL_STRING(option, "max", 1); + + PHALCON_INIT_VAR(maximum); + PHALCON_CALL_METHOD_PARAMS_1_KEY(maximum, this_ptr, "getoption", option, 8246354041488802206UL); + + is_smaller_function(invalid_maximum, maximum, length TSRMLS_CC); + if (PHALCON_IS_TRUE(invalid_maximum)) { + + PHALCON_INIT_NVAR(option); + ZVAL_STRING(option, "messageMaximum", 1); + + PHALCON_INIT_VAR(message_str); + PHALCON_CALL_METHOD_PARAMS_1_KEY(message_str, this_ptr, "getoption", option, 8246354041488802206UL); + if (!zend_is_true(message_str)) { + PHALCON_INIT_NVAR(message_str); + PHALCON_CONCAT_SVSVS(message_str, "Value of field '", attribute, "' exceeds the maximum ", maximum, " characters"); + } + + PHALCON_INIT_VAR(type); + ZVAL_STRING(type, "TooLong", 1); + + PHALCON_INIT_VAR(message); + object_init_ex(message, phalcon_validation_message_ce); + PHALCON_CALL_METHOD_PARAMS_3_NORETURN_KEY(message, "__construct", message_str, attribute, type, 14747615951113338888UL); + + PHALCON_CALL_METHOD_PARAMS_1_NORETURN_KEY(validator, "appendmessage", message, 2989013970055964674UL); + RETURN_MM_FALSE; + } + } + + if (zend_is_true(is_set_min)) { + + PHALCON_INIT_NVAR(option); + ZVAL_STRING(option, "min", 1); + + PHALCON_INIT_VAR(minimum); + PHALCON_CALL_METHOD_PARAMS_1_KEY(minimum, this_ptr, "getoption", option, 8246354041488802206UL); + + is_smaller_function(invalid_minimum, length, minimum TSRMLS_CC); + if (PHALCON_IS_TRUE(invalid_minimum)) { + + PHALCON_INIT_NVAR(option); + ZVAL_STRING(option, "messageMinimum", 1); + + PHALCON_INIT_NVAR(message_str); + PHALCON_CALL_METHOD_PARAMS_1_KEY(message_str, this_ptr, "getoption", option, 8246354041488802206UL); + if (!zend_is_true(message_str)) { + PHALCON_INIT_NVAR(message_str); + PHALCON_CONCAT_SVSVS(message_str, "Value of field '", attribute, "' is less than the minimum ", minimum, " characters"); + } + + PHALCON_INIT_NVAR(type); + ZVAL_STRING(type, "TooShort", 1); + + PHALCON_INIT_NVAR(message); + object_init_ex(message, phalcon_validation_message_ce); + PHALCON_CALL_METHOD_PARAMS_3_NORETURN_KEY(message, "__construct", message_str, attribute, type, 14747615951113338888UL); + + PHALCON_CALL_METHOD_PARAMS_1_NORETURN_KEY(validator, "appendmessage", message, 2989013970055964674UL); + RETURN_MM_FALSE; + } + } + + RETURN_MM_TRUE; +} + + + + + +#ifdef HAVE_CONFIG_H +#endif + + + + + + + PHALCON_INIT_CLASS(Phalcon_Validation_Validator){ PHALCON_REGISTER_CLASS(Phalcon\\Validation, Validator, validation_validator, phalcon_validation_validator_method_entry, ZEND_ACC_EXPLICIT_ABSTRACT_CLASS); @@ -82672,6 +83182,27 @@ PHP_METHOD(Phalcon_Validation_Validator, __construct){ PHALCON_MM_RESTORE(); } +PHP_METHOD(Phalcon_Validation_Validator, isSetOption){ + + zval *key, *options; + + PHALCON_MM_GROW(); + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &key) == FAILURE) { + RETURN_MM_NULL(); + } + + PHALCON_OBS_VAR(options); + phalcon_read_property(&options, this_ptr, SL("_options"), PH_NOISY_CC); + if (Z_TYPE_P(options) == IS_ARRAY) { + if (phalcon_array_isset(options, key)) { + RETURN_MM_TRUE; + } + } + + RETURN_MM_FALSE; +} + PHP_METHOD(Phalcon_Validation_Validator, getOption){ zval *key, *options, *value; @@ -82699,6 +83230,25 @@ PHP_METHOD(Phalcon_Validation_Validator, getOption){ +#ifdef HAVE_CONFIG_H +#endif + + + +PHALCON_INIT_CLASS(Phalcon_Validation_ValidatorInterface){ + + PHALCON_REGISTER_INTERFACE(Phalcon\\Validation, ValidatorInterface, validation_validatorinterface, phalcon_validation_validatorinterface_method_entry); + + return SUCCESS; +} + + + + + + + + #ifdef HAVE_CONFIG_H #endif @@ -82976,7 +83526,7 @@ PHP_METHOD(Phalcon_Version, _getVersion){ add_next_index_long(version, 0); add_next_index_long(version, 0); add_next_index_long(version, 2); - add_next_index_long(version, 1); + add_next_index_long(version, 2); RETURN_CTOR(version); } @@ -83088,25 +83638,25 @@ PHP_METHOD(Phalcon_Version, getId){ -zend_class_entry *phalcon_acl_ce; zend_class_entry *phalcon_tag_ce; zend_class_entry *phalcon_di_ce; +zend_class_entry *phalcon_acl_ce; zend_class_entry *phalcon_db_ce; zend_class_entry *phalcon_text_ce; -zend_class_entry *phalcon_cache_backend_ce; zend_class_entry *phalcon_cache_exception_ce; +zend_class_entry *phalcon_cache_backend_ce; zend_class_entry *phalcon_cache_multiple_ce; +zend_class_entry *phalcon_cache_frontend_none_ce; +zend_class_entry *phalcon_cache_frontend_data_ce; zend_class_entry *phalcon_cache_backend_mongo_ce; +zend_class_entry *phalcon_cache_backend_apc_ce; zend_class_entry *phalcon_cache_backend_memory_ce; zend_class_entry *phalcon_cache_backend_file_ce; -zend_class_entry *phalcon_cache_backend_apc_ce; -zend_class_entry *phalcon_cache_frontend_data_ce; -zend_class_entry *phalcon_cache_frontend_none_ce; zend_class_entry *phalcon_cache_frontendinterface_ce; -zend_class_entry *phalcon_cache_frontend_output_ce; zend_class_entry *phalcon_cache_frontend_base64_ce; zend_class_entry *phalcon_cache_backendinterface_ce; zend_class_entry *phalcon_cache_backend_memcache_ce; +zend_class_entry *phalcon_cache_frontend_output_ce; zend_class_entry *phalcon_tag_select_ce; zend_class_entry *phalcon_tag_exception_ce; zend_class_entry *phalcon_paginator_exception_ce; @@ -83114,33 +83664,35 @@ zend_class_entry *phalcon_paginator_adapter_model_ce; zend_class_entry *phalcon_paginator_adapterinterface_ce; zend_class_entry *phalcon_paginator_adapter_nativearray_ce; zend_class_entry *phalcon_validation_ce; -zend_class_entry *phalcon_validation_validator_ce; -zend_class_entry *phalcon_validation_message_ce; zend_class_entry *phalcon_validation_exception_ce; +zend_class_entry *phalcon_validation_message_ce; +zend_class_entry *phalcon_validation_validator_ce; zend_class_entry *phalcon_validation_message_group_ce; zend_class_entry *phalcon_validation_validator_email_ce; zend_class_entry *phalcon_validation_validator_regex_ce; -zend_class_entry *phalcon_validation_validator_inclusionin_ce; -zend_class_entry *phalcon_validation_validator_identical_ce; -zend_class_entry *phalcon_validation_validator_presenceof_ce; zend_class_entry *phalcon_validation_validator_exclusionin_ce; +zend_class_entry *phalcon_validation_validator_presenceof_ce; +zend_class_entry *phalcon_validation_validatorinterface_ce; +zend_class_entry *phalcon_validation_validator_identical_ce; +zend_class_entry *phalcon_validation_validator_inclusionin_ce; +zend_class_entry *phalcon_validation_validator_stringlength_ce; zend_class_entry *phalcon_db_index_ce; -zend_class_entry *phalcon_db_reference_ce; -zend_class_entry *phalcon_db_column_ce; zend_class_entry *phalcon_db_adapter_ce; +zend_class_entry *phalcon_db_rawvalue_ce; +zend_class_entry *phalcon_db_column_ce; zend_class_entry *phalcon_db_exception_ce; zend_class_entry *phalcon_db_dialect_ce; -zend_class_entry *phalcon_db_rawvalue_ce; zend_class_entry *phalcon_db_profiler_ce; +zend_class_entry *phalcon_db_reference_ce; zend_class_entry *phalcon_db_adapter_pdo_ce; -zend_class_entry *phalcon_db_adapterinterface_ce; zend_class_entry *phalcon_db_adapter_pdo_mysql_ce; +zend_class_entry *phalcon_db_adapterinterface_ce; zend_class_entry *phalcon_db_adapter_pdo_sqlite_ce; zend_class_entry *phalcon_db_adapter_pdo_postgresql_ce; zend_class_entry *phalcon_db_columninterface_ce; zend_class_entry *phalcon_db_dialect_mysql_ce; -zend_class_entry *phalcon_db_dialect_sqlite_ce; zend_class_entry *phalcon_db_dialectinterface_ce; +zend_class_entry *phalcon_db_dialect_sqlite_ce; zend_class_entry *phalcon_db_dialect_postgresql_ce; zend_class_entry *phalcon_db_indexinterface_ce; zend_class_entry *phalcon_db_profiler_item_ce; @@ -83157,18 +83709,18 @@ zend_class_entry *phalcon_acl_roleinterface_ce; zend_class_entry *phalcon_acl_resourceinterface_ce; zend_class_entry *phalcon_version_ce; zend_class_entry *phalcon_security_ce; -zend_class_entry *phalcon_kernel_ce; zend_class_entry *phalcon_session_ce; +zend_class_entry *phalcon_kernel_ce; zend_class_entry *phalcon_security_exception_ce; zend_class_entry *phalcon_session_bag_ce; zend_class_entry *phalcon_session_adapter_ce; -zend_class_entry *phalcon_session_baginterface_ce; zend_class_entry *phalcon_session_exception_ce; +zend_class_entry *phalcon_session_baginterface_ce; zend_class_entry *phalcon_session_adapterinterface_ce; zend_class_entry *phalcon_session_adapter_files_ce; zend_class_entry *phalcon_filter_ce; -zend_class_entry *phalcon_di_exception_ce; zend_class_entry *phalcon_di_service_ce; +zend_class_entry *phalcon_di_exception_ce; zend_class_entry *phalcon_di_factorydefault_ce; zend_class_entry *phalcon_di_factorydefault_cli_ce; zend_class_entry *phalcon_di_injectable_ce; @@ -83176,16 +83728,16 @@ zend_class_entry *phalcon_di_injectionawareinterface_ce; zend_class_entry *phalcon_di_serviceinterface_ce; zend_class_entry *phalcon_di_service_builder_ce; zend_class_entry *phalcon_diinterface_ce; -zend_class_entry *phalcon_filterinterface_ce; zend_class_entry *phalcon_filter_exception_ce; +zend_class_entry *phalcon_filterinterface_ce; zend_class_entry *phalcon_dispatcher_ce; zend_class_entry *phalcon_dispatcherinterface_ce; zend_class_entry *phalcon_flash_ce; zend_class_entry *phalcon_cli_task_ce; zend_class_entry *phalcon_flash_direct_ce; +zend_class_entry *phalcon_flash_session_ce; zend_class_entry *phalcon_flashinterface_ce; zend_class_entry *phalcon_flash_exception_ce; -zend_class_entry *phalcon_flash_session_ce; zend_class_entry *phalcon_cli_console_ce; zend_class_entry *phalcon_cli_router_ce; zend_class_entry *phalcon_cli_dispatcher_ce; @@ -83194,31 +83746,31 @@ zend_class_entry *phalcon_cli_dispatcher_exception_ce; zend_class_entry *phalcon_cli_router_exception_ce; zend_class_entry *phalcon_annotations_reader_ce; zend_class_entry *phalcon_annotations_adapter_ce; -zend_class_entry *phalcon_annotations_adapter_apc_ce; -zend_class_entry *phalcon_annotations_collection_ce; +zend_class_entry *phalcon_annotations_reflection_ce; zend_class_entry *phalcon_annotations_annotation_ce; +zend_class_entry *phalcon_annotations_collection_ce; +zend_class_entry *phalcon_annotations_adapter_apc_ce; zend_class_entry *phalcon_annotations_exception_ce; -zend_class_entry *phalcon_annotations_reflection_ce; -zend_class_entry *phalcon_annotations_adapter_memory_ce; -zend_class_entry *phalcon_annotations_adapter_files_ce; zend_class_entry *phalcon_annotations_adapterinterface_ce; +zend_class_entry *phalcon_annotations_adapter_files_ce; zend_class_entry *phalcon_annotations_readerinterface_ce; +zend_class_entry *phalcon_annotations_adapter_memory_ce; zend_class_entry *phalcon_config_ce; -zend_class_entry *phalcon_loader_ce; zend_class_entry *phalcon_logger_ce; +zend_class_entry *phalcon_loader_ce; zend_class_entry *phalcon_loader_exception_ce; zend_class_entry *phalcon_logger_item_ce; -zend_class_entry *phalcon_logger_adapter_ce; -zend_class_entry *phalcon_logger_exception_ce; zend_class_entry *phalcon_logger_formatter_ce; zend_class_entry *phalcon_logger_multiple_ce; +zend_class_entry *phalcon_logger_adapter_ce; +zend_class_entry *phalcon_logger_exception_ce; zend_class_entry *phalcon_logger_adapter_file_ce; zend_class_entry *phalcon_logger_adapterinterface_ce; zend_class_entry *phalcon_logger_formatter_syslog_ce; zend_class_entry *phalcon_logger_formatter_json_ce; -zend_class_entry *phalcon_logger_adapter_syslog_ce; zend_class_entry *phalcon_logger_formatter_line_ce; zend_class_entry *phalcon_logger_adapter_stream_ce; +zend_class_entry *phalcon_logger_adapter_syslog_ce; zend_class_entry *phalcon_logger_formatterinterface_ce; zend_class_entry *phalcon_config_exception_ce; zend_class_entry *phalcon_config_adapter_ini_ce; @@ -83227,6 +83779,7 @@ zend_class_entry *phalcon_forms_element_ce; zend_class_entry *phalcon_forms_exception_ce; zend_class_entry *phalcon_forms_manager_ce; zend_class_entry *phalcon_forms_element_text_ce; +zend_class_entry *phalcon_forms_element_password_ce; zend_class_entry *phalcon_translate_ce; zend_class_entry *phalcon_translate_adapter_ce; zend_class_entry *phalcon_translate_exception_ce; @@ -83240,12 +83793,12 @@ zend_class_entry *phalcon_http_cookie_ce; zend_class_entry *phalcon_http_response_ce; zend_class_entry *phalcon_http_request_file_ce; zend_class_entry *phalcon_http_cookie_exception_ce; +zend_class_entry *phalcon_http_requestinterface_ce; zend_class_entry *phalcon_http_responseinterface_ce; zend_class_entry *phalcon_http_response_exception_ce; -zend_class_entry *phalcon_http_requestinterface_ce; +zend_class_entry *phalcon_http_response_headers_ce; zend_class_entry *phalcon_http_request_exception_ce; zend_class_entry *phalcon_http_response_cookies_ce; -zend_class_entry *phalcon_http_response_headers_ce; zend_class_entry *phalcon_http_request_fileinterface_ce; zend_class_entry *phalcon_http_response_headersinterface_ce; zend_class_entry *phalcon_queue_beanstalk_ce; @@ -83255,75 +83808,75 @@ zend_class_entry *phalcon_mvc_url_ce; zend_class_entry *phalcon_mvc_router_ce; zend_class_entry *phalcon_mvc_model_ce; zend_class_entry *phalcon_mvc_micro_ce; -zend_class_entry *phalcon_mvc_router_group_ce; zend_class_entry *phalcon_mvc_controller_ce; -zend_class_entry *phalcon_mvc_router_route_ce; -zend_class_entry *phalcon_mvc_urlinterface_ce; +zend_class_entry *phalcon_mvc_collection_ce; +zend_class_entry *phalcon_mvc_application_ce; zend_class_entry *phalcon_mvc_view_engine_ce; +zend_class_entry *phalcon_mvc_dispatcher_ce; +zend_class_entry *phalcon_mvc_urlinterface_ce; zend_class_entry *phalcon_mvc_user_module_ce; zend_class_entry *phalcon_mvc_user_plugin_ce; -zend_class_entry *phalcon_mvc_dispatcher_ce; -zend_class_entry *phalcon_mvc_model_row_ce; +zend_class_entry *phalcon_mvc_router_group_ce; +zend_class_entry *phalcon_mvc_router_route_ce; zend_class_entry *phalcon_mvc_model_query_ce; -zend_class_entry *phalcon_mvc_application_ce; -zend_class_entry *phalcon_mvc_collection_ce; +zend_class_entry *phalcon_mvc_model_row_ce; zend_class_entry *phalcon_mvc_application_exception_ce; +zend_class_entry *phalcon_mvc_collection_exception_ce; +zend_class_entry *phalcon_mvc_controllerinterface_ce; zend_class_entry *phalcon_mvc_collectioninterface_ce; zend_class_entry *phalcon_mvc_collection_manager_ce; -zend_class_entry *phalcon_mvc_controllerinterface_ce; -zend_class_entry *phalcon_mvc_collection_exception_ce; zend_class_entry *phalcon_mvc_collection_managerinterface_ce; -zend_class_entry *phalcon_mvc_dispatcher_exception_ce; zend_class_entry *phalcon_mvc_dispatcherinterface_ce; -zend_class_entry *phalcon_mvc_model_query_lang_ce; -zend_class_entry *phalcon_mvc_model_validator_ce; -zend_class_entry *phalcon_mvc_model_resultset_ce; +zend_class_entry *phalcon_mvc_dispatcher_exception_ce; zend_class_entry *phalcon_mvc_model_exception_ce; -zend_class_entry *phalcon_mvc_modelinterface_ce; +zend_class_entry *phalcon_mvc_model_resultset_ce; zend_class_entry *phalcon_mvc_model_metadata_ce; +zend_class_entry *phalcon_mvc_model_manager_ce; zend_class_entry *phalcon_mvc_micro_exception_ce; zend_class_entry *phalcon_mvc_micro_collection_ce; -zend_class_entry *phalcon_mvc_model_manager_ce; -zend_class_entry *phalcon_mvc_model_message_ce; +zend_class_entry *phalcon_mvc_model_criteria_ce; zend_class_entry *phalcon_mvc_model_relation_ce; +zend_class_entry *phalcon_mvc_model_query_lang_ce; zend_class_entry *phalcon_mvc_model_behavior_ce; -zend_class_entry *phalcon_mvc_model_criteria_ce; +zend_class_entry *phalcon_mvc_modelinterface_ce; +zend_class_entry *phalcon_mvc_model_validator_ce; +zend_class_entry *phalcon_mvc_model_message_ce; zend_class_entry *phalcon_mvc_model_queryinterface_ce; zend_class_entry *phalcon_mvc_model_transaction_ce; -zend_class_entry *phalcon_mvc_model_query_status_ce; -zend_class_entry *phalcon_mvc_model_validator_url_ce; -zend_class_entry *phalcon_mvc_model_query_builder_ce; zend_class_entry *phalcon_mvc_model_metadata_files_ce; +zend_class_entry *phalcon_mvc_model_validator_url_ce; +zend_class_entry *phalcon_mvc_model_query_status_ce; zend_class_entry *phalcon_mvc_model_metadata_apc_ce; -zend_class_entry *phalcon_mvc_model_metadata_session_ce; -zend_class_entry *phalcon_mvc_model_managerinterface_ce; -zend_class_entry *phalcon_mvc_model_metadata_memory_ce; -zend_class_entry *phalcon_mvc_model_resultinterface_ce; +zend_class_entry *phalcon_mvc_model_query_builder_ce; zend_class_entry *phalcon_mvc_model_messageinterface_ce; -zend_class_entry *phalcon_mvc_model_behaviorinterface_ce; +zend_class_entry *phalcon_mvc_model_resultset_complex_ce; +zend_class_entry *phalcon_mvc_model_metadatainterface_ce; +zend_class_entry *phalcon_mvc_model_relationinterface_ce; +zend_class_entry *phalcon_mvc_model_metadata_memory_ce; zend_class_entry *phalcon_mvc_model_resultset_simple_ce; -zend_class_entry *phalcon_mvc_model_criteriainterface_ce; -zend_class_entry *phalcon_mvc_model_validatorinterface_ce; +zend_class_entry *phalcon_mvc_model_validator_regex_ce; +zend_class_entry *phalcon_mvc_model_metadata_session_ce; zend_class_entry *phalcon_mvc_model_transaction_failed_ce; zend_class_entry *phalcon_mvc_model_resultsetinterface_ce; -zend_class_entry *phalcon_mvc_model_metadatainterface_ce; -zend_class_entry *phalcon_mvc_model_resultset_complex_ce; +zend_class_entry *phalcon_mvc_model_validatorinterface_ce; +zend_class_entry *phalcon_mvc_model_criteriainterface_ce; +zend_class_entry *phalcon_mvc_model_managerinterface_ce; zend_class_entry *phalcon_mvc_model_validator_email_ce; -zend_class_entry *phalcon_mvc_model_relationinterface_ce; -zend_class_entry *phalcon_mvc_model_validator_regex_ce; -zend_class_entry *phalcon_mvc_model_validator_numericality_ce; +zend_class_entry *phalcon_mvc_model_resultinterface_ce; +zend_class_entry *phalcon_mvc_model_behaviorinterface_ce; zend_class_entry *phalcon_mvc_model_behavior_timestampable_ce; +zend_class_entry *phalcon_mvc_model_validator_numericality_ce; +zend_class_entry *phalcon_mvc_model_query_statusinterface_ce; +zend_class_entry *phalcon_mvc_model_validator_stringlength_ce; zend_class_entry *phalcon_mvc_model_query_builderinterface_ce; +zend_class_entry *phalcon_mvc_model_transaction_manager_ce; zend_class_entry *phalcon_mvc_model_validator_exclusionin_ce; zend_class_entry *phalcon_mvc_model_transaction_exception_ce; -zend_class_entry *phalcon_mvc_model_transaction_manager_ce; zend_class_entry *phalcon_mvc_model_validator_inclusionin_ce; -zend_class_entry *phalcon_mvc_model_validator_stringlength_ce; -zend_class_entry *phalcon_mvc_model_query_statusinterface_ce; zend_class_entry *phalcon_mvc_model_transactioninterface_ce; -zend_class_entry *phalcon_mvc_model_validator_uniqueness_ce; zend_class_entry *phalcon_mvc_model_validator_presenceof_ce; zend_class_entry *phalcon_mvc_model_behavior_softdelete_ce; +zend_class_entry *phalcon_mvc_model_validator_uniqueness_ce; zend_class_entry *phalcon_mvc_model_metadata_strategy_annotations_ce; zend_class_entry *phalcon_mvc_model_transaction_managerinterface_ce; zend_class_entry *phalcon_mvc_model_metadata_strategy_introspection_ce; @@ -83334,10 +83887,10 @@ zend_class_entry *phalcon_mvc_router_annotations_ce; zend_class_entry *phalcon_mvc_router_routeinterface_ce; zend_class_entry *phalcon_mvc_user_component_ce; zend_class_entry *phalcon_mvc_url_exception_ce; -zend_class_entry *phalcon_mvc_view_exception_ce; -zend_class_entry *phalcon_mvc_view_engine_php_ce; -zend_class_entry *phalcon_mvc_view_engine_volt_ce; zend_class_entry *phalcon_mvc_viewinterface_ce; +zend_class_entry *phalcon_mvc_view_engine_volt_ce; +zend_class_entry *phalcon_mvc_view_engine_php_ce; +zend_class_entry *phalcon_mvc_view_exception_ce; zend_class_entry *phalcon_mvc_view_engineinterface_ce; zend_class_entry *phalcon_mvc_view_engine_volt_compiler_ce; zend_class_entry *phalcon_events_event_ce; @@ -83378,6 +83931,7 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_DI_InjectionAwareInterface); PHALCON_INIT(Phalcon_Mvc_Model_ValidatorInterface); PHALCON_INIT(Phalcon_Events_EventsAwareInterface); + PHALCON_INIT(Phalcon_Validation_ValidatorInterface); PHALCON_INIT(Phalcon_Cache_BackendInterface); PHALCON_INIT(Phalcon_Mvc_Model_MetaDataInterface); PHALCON_INIT(Phalcon_Cache_FrontendInterface); @@ -83417,43 +83971,43 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_Mvc_RouterInterface); PHALCON_INIT(Phalcon_Mvc_Model_RelationInterface); PHALCON_INIT(Phalcon_Acl_ResourceInterface); - PHALCON_INIT(Phalcon_Session_BagInterface); - PHALCON_INIT(Phalcon_FilterInterface); + PHALCON_INIT(Phalcon_Annotations_ReaderInterface); + PHALCON_INIT(Phalcon_Acl_RoleInterface); PHALCON_INIT(Phalcon_Acl_AdapterInterface); + PHALCON_INIT(Phalcon_Session_BagInterface); PHALCON_INIT(Phalcon_Mvc_Model_MessageInterface); - PHALCON_INIT(Phalcon_Session_AdapterInterface); PHALCON_INIT(Phalcon_DI_ServiceInterface); - PHALCON_INIT(Phalcon_Annotations_ReaderInterface); PHALCON_INIT(Phalcon_Events_ManagerInterface); PHALCON_INIT(Phalcon_EscaperInterface); - PHALCON_INIT(Phalcon_Acl_RoleInterface); - PHALCON_INIT(Phalcon_Mvc_Model_CriteriaInterface); - PHALCON_INIT(Phalcon_Translate_AdapterInterface); + PHALCON_INIT(Phalcon_Session_AdapterInterface); + PHALCON_INIT(Phalcon_FilterInterface); PHALCON_INIT(Phalcon_Mvc_Model_Transaction_ManagerInterface); + PHALCON_INIT(Phalcon_Translate_AdapterInterface); + PHALCON_INIT(Phalcon_Mvc_Model_CriteriaInterface); PHALCON_INIT(Phalcon_Db_Adapter); PHALCON_INIT(Phalcon_DI); PHALCON_INIT(Phalcon_Mvc_Model_Validator); PHALCON_INIT(Phalcon_Validation_Validator); PHALCON_INIT(Phalcon_Cache_Backend); PHALCON_INIT(Phalcon_Mvc_Model_MetaData); - PHALCON_INIT(Phalcon_Db_Dialect); - PHALCON_INIT(Phalcon_Logger_Formatter); - PHALCON_INIT(Phalcon_Db_Adapter_Pdo); - PHALCON_INIT(Phalcon_Logger_Adapter); PHALCON_INIT(Phalcon_Annotations_Adapter); + PHALCON_INIT(Phalcon_Logger_Adapter); + PHALCON_INIT(Phalcon_Db_Adapter_Pdo); + PHALCON_INIT(Phalcon_Logger_Formatter); + PHALCON_INIT(Phalcon_Db_Dialect); PHALCON_INIT(Phalcon_Dispatcher); - PHALCON_INIT(Phalcon_Mvc_Model_Resultset); - PHALCON_INIT(Phalcon_Flash); PHALCON_INIT(Phalcon_Mvc_View_Engine); + PHALCON_INIT(Phalcon_Forms_Element); + PHALCON_INIT(Phalcon_Flash); PHALCON_INIT(Phalcon_Mvc_Model_Behavior); + PHALCON_INIT(Phalcon_Mvc_Model_Resultset); PHALCON_INIT(Phalcon_Translate_Adapter); PHALCON_INIT(Phalcon_Session_Adapter); PHALCON_INIT(Phalcon_DI_FactoryDefault); - PHALCON_INIT(Phalcon_Config); PHALCON_INIT(Phalcon_Mvc_Model_Exception); + PHALCON_INIT(Phalcon_Config); PHALCON_INIT(Phalcon_Mvc_Router); PHALCON_INIT(Phalcon_Acl_Adapter); - PHALCON_INIT(Phalcon_Forms_Element); PHALCON_INIT(Phalcon_Db); PHALCON_INIT(Phalcon_Acl); PHALCON_INIT(Phalcon_Tag); @@ -83464,10 +84018,10 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_Cache_Backend_Memory); PHALCON_INIT(Phalcon_Cache_Backend_Mongo); PHALCON_INIT(Phalcon_Cache_Backend_Memcache); + PHALCON_INIT(Phalcon_Cache_Frontend_Data); PHALCON_INIT(Phalcon_Cache_Frontend_Base64); PHALCON_INIT(Phalcon_Cache_Frontend_None); PHALCON_INIT(Phalcon_Cache_Frontend_Output); - PHALCON_INIT(Phalcon_Cache_Frontend_Data); PHALCON_INIT(Phalcon_Tag_Select); PHALCON_INIT(Phalcon_Tag_Exception); PHALCON_INIT(Phalcon_Paginator_Exception); @@ -83477,25 +84031,26 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_Validation_Message); PHALCON_INIT(Phalcon_Validation_Exception); PHALCON_INIT(Phalcon_Validation_Message_Group); - PHALCON_INIT(Phalcon_Validation_Validator_Regex); PHALCON_INIT(Phalcon_Validation_Validator_Email); + PHALCON_INIT(Phalcon_Validation_Validator_Regex); PHALCON_INIT(Phalcon_Validation_Validator_Identical); PHALCON_INIT(Phalcon_Validation_Validator_InclusionIn); + PHALCON_INIT(Phalcon_Validation_Validator_StringLength); PHALCON_INIT(Phalcon_Validation_Validator_ExclusionIn); PHALCON_INIT(Phalcon_Validation_Validator_PresenceOf); PHALCON_INIT(Phalcon_Db_Index); PHALCON_INIT(Phalcon_Db_Column); - PHALCON_INIT(Phalcon_Db_Adapter_Pdo_Mysql); PHALCON_INIT(Phalcon_Db_Adapter_Pdo_Sqlite); + PHALCON_INIT(Phalcon_Db_Adapter_Pdo_Mysql); PHALCON_INIT(Phalcon_Db_Adapter_Pdo_Postgresql); - PHALCON_INIT(Phalcon_Db_Dialect_Mysql); PHALCON_INIT(Phalcon_Db_Dialect_Sqlite); + PHALCON_INIT(Phalcon_Db_Dialect_Mysql); PHALCON_INIT(Phalcon_Db_Dialect_Postgresql); PHALCON_INIT(Phalcon_Db_Exception); PHALCON_INIT(Phalcon_Db_Profiler); PHALCON_INIT(Phalcon_Db_Profiler_Item); - PHALCON_INIT(Phalcon_Db_Reference); PHALCON_INIT(Phalcon_Db_RawValue); + PHALCON_INIT(Phalcon_Db_Reference); PHALCON_INIT(Phalcon_Db_Result_Pdo); PHALCON_INIT(Phalcon_Db_ResultInterface); PHALCON_INIT(Phalcon_Acl_Role); @@ -83518,8 +84073,8 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_DI_Service_Builder); PHALCON_INIT(Phalcon_Filter_Exception); PHALCON_INIT(Phalcon_Flash_Direct); - PHALCON_INIT(Phalcon_Flash_Session); PHALCON_INIT(Phalcon_Flash_Exception); + PHALCON_INIT(Phalcon_Flash_Session); PHALCON_INIT(Phalcon_CLI_Task); PHALCON_INIT(Phalcon_CLI_Router); PHALCON_INIT(Phalcon_CLI_Console); @@ -83530,29 +84085,30 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_Annotations_Reader); PHALCON_INIT(Phalcon_Annotations_Exception); PHALCON_INIT(Phalcon_Annotations_Adapter_Apc); - PHALCON_INIT(Phalcon_Annotations_Reflection); PHALCON_INIT(Phalcon_Annotations_Annotation); + PHALCON_INIT(Phalcon_Annotations_Reflection); PHALCON_INIT(Phalcon_Annotations_Collection); PHALCON_INIT(Phalcon_Annotations_Adapter_Files); PHALCON_INIT(Phalcon_Annotations_Adapter_Memory); - PHALCON_INIT(Phalcon_Loader); PHALCON_INIT(Phalcon_Logger); + PHALCON_INIT(Phalcon_Loader); PHALCON_INIT(Phalcon_Loader_Exception); PHALCON_INIT(Phalcon_Logger_Item); PHALCON_INIT(Phalcon_Logger_Multiple); PHALCON_INIT(Phalcon_Logger_Exception); - PHALCON_INIT(Phalcon_Logger_Formatter_Line); PHALCON_INIT(Phalcon_Logger_Formatter_Json); - PHALCON_INIT(Phalcon_Logger_Adapter_File); PHALCON_INIT(Phalcon_Logger_Adapter_Syslog); + PHALCON_INIT(Phalcon_Logger_Adapter_File); PHALCON_INIT(Phalcon_Logger_Adapter_Stream); + PHALCON_INIT(Phalcon_Logger_Formatter_Line); PHALCON_INIT(Phalcon_Logger_Formatter_Syslog); - PHALCON_INIT(Phalcon_Config_Adapter_Ini); PHALCON_INIT(Phalcon_Config_Exception); + PHALCON_INIT(Phalcon_Config_Adapter_Ini); PHALCON_INIT(Phalcon_Forms_Form); PHALCON_INIT(Phalcon_Forms_Exception); PHALCON_INIT(Phalcon_Forms_Manager); PHALCON_INIT(Phalcon_Forms_Element_Text); + PHALCON_INIT(Phalcon_Forms_Element_Password); PHALCON_INIT(Phalcon_Translate); PHALCON_INIT(Phalcon_Translate_Exception); PHALCON_INIT(Phalcon_Translate_Adapter_NativeArray); @@ -83569,10 +84125,10 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_Http_Response_Exception); PHALCON_INIT(Phalcon_Queue_Beanstalk); PHALCON_INIT(Phalcon_Queue_Beanstalk_Job); - PHALCON_INIT(Phalcon_Mvc_View); PHALCON_INIT(Phalcon_Mvc_Micro); PHALCON_INIT(Phalcon_Mvc_Model); PHALCON_INIT(Phalcon_Mvc_Url); + PHALCON_INIT(Phalcon_Mvc_View); PHALCON_INIT(Phalcon_Mvc_Application); PHALCON_INIT(Phalcon_Mvc_Application_Exception); PHALCON_INIT(Phalcon_Mvc_Collection); @@ -83593,30 +84149,30 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_Mvc_Model_Relation); PHALCON_INIT(Phalcon_Mvc_Model_Query_Lang); PHALCON_INIT(Phalcon_Mvc_Model_Transaction); + PHALCON_INIT(Phalcon_Mvc_Model_Query_Builder); + PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Files); PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Apc); PHALCON_INIT(Phalcon_Mvc_Model_Query_Status); - PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Files); - PHALCON_INIT(Phalcon_Mvc_Model_Query_Builder); PHALCON_INIT(Phalcon_Mvc_Model_Validator_Url); - PHALCON_INIT(Phalcon_Mvc_Model_Validator_Regex); PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Memory); - PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Session); PHALCON_INIT(Phalcon_Mvc_Model_Resultset_Simple); PHALCON_INIT(Phalcon_Mvc_Model_Resultset_Complex); + PHALCON_INIT(Phalcon_Mvc_Model_Validator_Regex); + PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Session); PHALCON_INIT(Phalcon_Mvc_Model_Validator_Email); - PHALCON_INIT(Phalcon_Mvc_Model_Validator_PresenceOf); - PHALCON_INIT(Phalcon_Mvc_Model_Transaction_Failed); PHALCON_INIT(Phalcon_Mvc_Model_Behavior_SoftDelete); PHALCON_INIT(Phalcon_Mvc_Model_Validator_Uniqueness); + PHALCON_INIT(Phalcon_Mvc_Model_Transaction_Failed); + PHALCON_INIT(Phalcon_Mvc_Model_Validator_PresenceOf); PHALCON_INIT(Phalcon_Mvc_Model_Transaction_Manager); PHALCON_INIT(Phalcon_Mvc_Model_Behavior_Timestampable); PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Strategy_Annotations); PHALCON_INIT(Phalcon_Mvc_Model_MetaData_Strategy_Introspection); PHALCON_INIT(Phalcon_Mvc_Model_Transaction_Exception); + PHALCON_INIT(Phalcon_Mvc_Model_Validator_Inclusionin); PHALCON_INIT(Phalcon_Mvc_Model_Validator_StringLength); PHALCON_INIT(Phalcon_Mvc_Model_Validator_Numericality); PHALCON_INIT(Phalcon_Mvc_Model_Validator_Exclusionin); - PHALCON_INIT(Phalcon_Mvc_Model_Validator_Inclusionin); PHALCON_INIT(Phalcon_Mvc_ModuleDefinitionInterface); PHALCON_INIT(Phalcon_Mvc_Router_Group); PHALCON_INIT(Phalcon_Mvc_Router_Route); @@ -83627,8 +84183,8 @@ PHP_MINIT_FUNCTION(phalcon){ PHALCON_INIT(Phalcon_Mvc_Url_Exception); PHALCON_INIT(Phalcon_Mvc_User_Component); PHALCON_INIT(Phalcon_Mvc_View_Exception); - PHALCON_INIT(Phalcon_Mvc_View_Engine_Php); PHALCON_INIT(Phalcon_Mvc_View_Engine_Volt); + PHALCON_INIT(Phalcon_Mvc_View_Engine_Php); PHALCON_INIT(Phalcon_Mvc_View_Engine_Volt_Compiler); PHALCON_INIT(Phalcon_Events_Event); PHALCON_INIT(Phalcon_Events_Manager); diff --git a/build/64bits/phalcon.h b/build/64bits/phalcon.h index 684c45a0237..e75456d879f 100644 --- a/build/64bits/phalcon.h +++ b/build/64bits/phalcon.h @@ -67,6 +67,32 @@ PHALCON_INIT_FUNCS(phalcon_events_eventsawareinterface_method_entry){ +zend_class_entry *phalcon_validation_validatorinterface_ce; + +PHALCON_INIT_CLASS(Phalcon_Validation_ValidatorInterface); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validatorinterface_issetoption, 0, 0, 1) + ZEND_ARG_INFO(0, key) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validatorinterface_getoption, 0, 0, 1) + ZEND_ARG_INFO(0, key) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validatorinterface_validate, 0, 0, 2) + ZEND_ARG_INFO(0, validator) + ZEND_ARG_INFO(0, attribute) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_validation_validatorinterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_Validation_ValidatorInterface, isSetOption, arginfo_phalcon_validation_validatorinterface_issetoption) + PHP_ABSTRACT_ME(Phalcon_Validation_ValidatorInterface, getOption, arginfo_phalcon_validation_validatorinterface_getoption) + PHP_ABSTRACT_ME(Phalcon_Validation_ValidatorInterface, validate, arginfo_phalcon_validation_validatorinterface_validate) + PHP_FE_END +}; + + + zend_class_entry *phalcon_cache_backendinterface_ce; PHALCON_INIT_CLASS(Phalcon_Cache_BackendInterface); @@ -2398,69 +2424,42 @@ PHALCON_INIT_FUNCS(phalcon_acl_resourceinterface_method_entry){ -zend_class_entry *phalcon_session_baginterface_ce; - -PHALCON_INIT_CLASS(Phalcon_Session_BagInterface); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface_set, 0, 0, 2) - ZEND_ARG_INFO(0, property) - ZEND_ARG_INFO(0, value) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface_get, 0, 0, 1) - ZEND_ARG_INFO(0, property) - ZEND_ARG_INFO(0, defaultValue) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface_has, 0, 0, 1) - ZEND_ARG_INFO(0, property) -ZEND_END_ARG_INFO() +zend_class_entry *phalcon_annotations_readerinterface_ce; -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface___set, 0, 0, 2) - ZEND_ARG_INFO(0, property) - ZEND_ARG_INFO(0, value) -ZEND_END_ARG_INFO() +PHALCON_INIT_CLASS(Phalcon_Annotations_ReaderInterface); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface___get, 0, 0, 1) - ZEND_ARG_INFO(0, property) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_readerinterface_parse, 0, 0, 1) + ZEND_ARG_INFO(0, className) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface___isset, 0, 0, 1) - ZEND_ARG_INFO(0, property) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_readerinterface_parsedocblock, 0, 0, 1) + ZEND_ARG_INFO(0, docBlock) + ZEND_ARG_INFO(0, file) + ZEND_ARG_INFO(0, line) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_session_baginterface_method_entry){ - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, initialize, NULL) - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, destroy, NULL) - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, set, arginfo_phalcon_session_baginterface_set) - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, get, arginfo_phalcon_session_baginterface_get) - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, has, arginfo_phalcon_session_baginterface_has) - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, __set, arginfo_phalcon_session_baginterface___set) - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, __get, arginfo_phalcon_session_baginterface___get) - PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, __isset, arginfo_phalcon_session_baginterface___isset) +PHALCON_INIT_FUNCS(phalcon_annotations_readerinterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_Annotations_ReaderInterface, parse, arginfo_phalcon_annotations_readerinterface_parse) + ZEND_FENTRY(parseDocBlock, NULL, arginfo_phalcon_annotations_readerinterface_parsedocblock, ZEND_ACC_STATIC|ZEND_ACC_ABSTRACT|ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_filterinterface_ce; +zend_class_entry *phalcon_acl_roleinterface_ce; -PHALCON_INIT_CLASS(Phalcon_FilterInterface); +PHALCON_INIT_CLASS(Phalcon_Acl_RoleInterface); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filterinterface_add, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_acl_roleinterface___construct, 0, 0, 1) ZEND_ARG_INFO(0, name) - ZEND_ARG_INFO(0, handler) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filterinterface_sanitize, 0, 0, 2) - ZEND_ARG_INFO(0, value) - ZEND_ARG_INFO(0, filters) + ZEND_ARG_INFO(0, description) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_filterinterface_method_entry){ - PHP_ABSTRACT_ME(Phalcon_FilterInterface, add, arginfo_phalcon_filterinterface_add) - PHP_ABSTRACT_ME(Phalcon_FilterInterface, sanitize, arginfo_phalcon_filterinterface_sanitize) - PHP_ABSTRACT_ME(Phalcon_FilterInterface, getFilters, NULL) +PHALCON_INIT_FUNCS(phalcon_acl_roleinterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, __construct, arginfo_phalcon_acl_roleinterface___construct) + PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, getName, NULL) + PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, getDescription, NULL) + PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, __toString, NULL) PHP_FE_END }; @@ -2548,6 +2547,51 @@ PHALCON_INIT_FUNCS(phalcon_acl_adapterinterface_method_entry){ +zend_class_entry *phalcon_session_baginterface_ce; + +PHALCON_INIT_CLASS(Phalcon_Session_BagInterface); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface_set, 0, 0, 2) + ZEND_ARG_INFO(0, property) + ZEND_ARG_INFO(0, value) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface_get, 0, 0, 1) + ZEND_ARG_INFO(0, property) + ZEND_ARG_INFO(0, defaultValue) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface_has, 0, 0, 1) + ZEND_ARG_INFO(0, property) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface___set, 0, 0, 2) + ZEND_ARG_INFO(0, property) + ZEND_ARG_INFO(0, value) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface___get, 0, 0, 1) + ZEND_ARG_INFO(0, property) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_baginterface___isset, 0, 0, 1) + ZEND_ARG_INFO(0, property) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_session_baginterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, initialize, NULL) + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, destroy, NULL) + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, set, arginfo_phalcon_session_baginterface_set) + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, get, arginfo_phalcon_session_baginterface_get) + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, has, arginfo_phalcon_session_baginterface_has) + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, __set, arginfo_phalcon_session_baginterface___set) + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, __get, arginfo_phalcon_session_baginterface___get) + PHP_ABSTRACT_ME(Phalcon_Session_BagInterface, __isset, arginfo_phalcon_session_baginterface___isset) + PHP_FE_END +}; + + + zend_class_entry *phalcon_mvc_model_messageinterface_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_Model_MessageInterface); @@ -2589,53 +2633,6 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_messageinterface_method_entry){ -zend_class_entry *phalcon_session_adapterinterface_ce; - -PHALCON_INIT_CLASS(Phalcon_Session_AdapterInterface); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface___construct, 0, 0, 0) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_setoptions, 0, 0, 1) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_get, 0, 0, 1) - ZEND_ARG_INFO(0, index) - ZEND_ARG_INFO(0, defaultValue) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_set, 0, 0, 2) - ZEND_ARG_INFO(0, index) - ZEND_ARG_INFO(0, value) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_has, 0, 0, 1) - ZEND_ARG_INFO(0, index) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_remove, 0, 0, 1) - ZEND_ARG_INFO(0, index) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_session_adapterinterface_method_entry){ - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, __construct, arginfo_phalcon_session_adapterinterface___construct) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, start, NULL) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, setOptions, arginfo_phalcon_session_adapterinterface_setoptions) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, getOptions, NULL) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, get, arginfo_phalcon_session_adapterinterface_get) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, set, arginfo_phalcon_session_adapterinterface_set) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, has, arginfo_phalcon_session_adapterinterface_has) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, remove, arginfo_phalcon_session_adapterinterface_remove) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, getId, NULL) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, isStarted, NULL) - PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, destroy, NULL) - PHP_FE_END -}; - - - zend_class_entry *phalcon_di_serviceinterface_ce; PHALCON_INIT_CLASS(Phalcon_DI_ServiceInterface); @@ -2677,28 +2674,6 @@ PHALCON_INIT_FUNCS(phalcon_di_serviceinterface_method_entry){ -zend_class_entry *phalcon_annotations_readerinterface_ce; - -PHALCON_INIT_CLASS(Phalcon_Annotations_ReaderInterface); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_readerinterface_parse, 0, 0, 1) - ZEND_ARG_INFO(0, className) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_readerinterface_parsedocblock, 0, 0, 1) - ZEND_ARG_INFO(0, docBlock) - ZEND_ARG_INFO(0, file) - ZEND_ARG_INFO(0, line) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_annotations_readerinterface_method_entry){ - PHP_ABSTRACT_ME(Phalcon_Annotations_ReaderInterface, parse, arginfo_phalcon_annotations_readerinterface_parse) - ZEND_FENTRY(parseDocBlock, NULL, arginfo_phalcon_annotations_readerinterface_parsedocblock, ZEND_ACC_STATIC|ZEND_ACC_ABSTRACT|ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_events_managerinterface_ce; PHALCON_INIT_CLASS(Phalcon_Events_ManagerInterface); @@ -2778,95 +2753,110 @@ PHALCON_INIT_FUNCS(phalcon_escaperinterface_method_entry){ -zend_class_entry *phalcon_acl_roleinterface_ce; - -PHALCON_INIT_CLASS(Phalcon_Acl_RoleInterface); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_acl_roleinterface___construct, 0, 0, 1) - ZEND_ARG_INFO(0, name) - ZEND_ARG_INFO(0, description) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_acl_roleinterface_method_entry){ - PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, __construct, arginfo_phalcon_acl_roleinterface___construct) - PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, getName, NULL) - PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, getDescription, NULL) - PHP_ABSTRACT_ME(Phalcon_Acl_RoleInterface, __toString, NULL) - PHP_FE_END -}; - - - -zend_class_entry *phalcon_mvc_model_criteriainterface_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_CriteriaInterface); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_setmodelname, 0, 0, 1) - ZEND_ARG_INFO(0, modelName) -ZEND_END_ARG_INFO() +zend_class_entry *phalcon_session_adapterinterface_ce; -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_bind, 0, 0, 1) - ZEND_ARG_INFO(0, bindParams) -ZEND_END_ARG_INFO() +PHALCON_INIT_CLASS(Phalcon_Session_AdapterInterface); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_where, 0, 0, 1) - ZEND_ARG_INFO(0, conditions) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface___construct, 0, 0, 0) + ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_conditions, 0, 0, 1) - ZEND_ARG_INFO(0, conditions) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_setoptions, 0, 0, 1) + ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_order, 0, 0, 1) - ZEND_ARG_INFO(0, orderColumns) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_get, 0, 0, 1) + ZEND_ARG_INFO(0, index) + ZEND_ARG_INFO(0, defaultValue) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_limit, 0, 0, 1) - ZEND_ARG_INFO(0, limit) - ZEND_ARG_INFO(0, offset) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_set, 0, 0, 2) + ZEND_ARG_INFO(0, index) + ZEND_ARG_INFO(0, value) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_forupdate, 0, 0, 0) - ZEND_ARG_INFO(0, forUpdate) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_has, 0, 0, 1) + ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_sharedlock, 0, 0, 0) - ZEND_ARG_INFO(0, sharedLock) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_session_adapterinterface_remove, 0, 0, 1) + ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_andwhere, 0, 0, 1) - ZEND_ARG_INFO(0, conditions) +PHALCON_INIT_FUNCS(phalcon_session_adapterinterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, __construct, arginfo_phalcon_session_adapterinterface___construct) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, start, NULL) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, setOptions, arginfo_phalcon_session_adapterinterface_setoptions) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, getOptions, NULL) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, get, arginfo_phalcon_session_adapterinterface_get) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, set, arginfo_phalcon_session_adapterinterface_set) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, has, arginfo_phalcon_session_adapterinterface_has) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, remove, arginfo_phalcon_session_adapterinterface_remove) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, getId, NULL) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, isStarted, NULL) + PHP_ABSTRACT_ME(Phalcon_Session_AdapterInterface, destroy, NULL) + PHP_FE_END +}; + + + +zend_class_entry *phalcon_filterinterface_ce; + +PHALCON_INIT_CLASS(Phalcon_FilterInterface); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filterinterface_add, 0, 0, 2) + ZEND_ARG_INFO(0, name) + ZEND_ARG_INFO(0, handler) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_orwhere, 0, 0, 1) - ZEND_ARG_INFO(0, conditions) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filterinterface_sanitize, 0, 0, 2) + ZEND_ARG_INFO(0, value) + ZEND_ARG_INFO(0, filters) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_frominput, 0, 0, 3) +PHALCON_INIT_FUNCS(phalcon_filterinterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_FilterInterface, add, arginfo_phalcon_filterinterface_add) + PHP_ABSTRACT_ME(Phalcon_FilterInterface, sanitize, arginfo_phalcon_filterinterface_sanitize) + PHP_ABSTRACT_ME(Phalcon_FilterInterface, getFilters, NULL) + PHP_FE_END +}; + + + +zend_class_entry *phalcon_mvc_model_transaction_managerinterface_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Transaction_ManagerInterface); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface___construct, 0, 0, 0) ZEND_ARG_INFO(0, dependencyInjector) - ZEND_ARG_INFO(0, modelName) - ZEND_ARG_INFO(0, data) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_criteriainterface_method_entry){ - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, setModelName, arginfo_phalcon_mvc_model_criteriainterface_setmodelname) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getModelName, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, bind, arginfo_phalcon_mvc_model_criteriainterface_bind) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, where, arginfo_phalcon_mvc_model_criteriainterface_where) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, conditions, arginfo_phalcon_mvc_model_criteriainterface_conditions) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, order, arginfo_phalcon_mvc_model_criteriainterface_order) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, limit, arginfo_phalcon_mvc_model_criteriainterface_limit) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, forUpdate, arginfo_phalcon_mvc_model_criteriainterface_forupdate) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, sharedLock, arginfo_phalcon_mvc_model_criteriainterface_sharedlock) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, andWhere, arginfo_phalcon_mvc_model_criteriainterface_andwhere) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, orWhere, arginfo_phalcon_mvc_model_criteriainterface_orwhere) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getWhere, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getConditions, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getLimit, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getOrder, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getParams, NULL) - ZEND_FENTRY(fromInput, NULL, arginfo_phalcon_mvc_model_criteriainterface_frominput, ZEND_ACC_STATIC|ZEND_ACC_ABSTRACT|ZEND_ACC_PUBLIC) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, execute, NULL) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_get, 0, 0, 0) + ZEND_ARG_INFO(0, autoBegin) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_rollback, 0, 0, 0) + ZEND_ARG_INFO(0, collect) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_notifyrollback, 0, 0, 1) + ZEND_ARG_INFO(0, transaction) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_notifycommit, 0, 0, 1) + ZEND_ARG_INFO(0, transaction) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_transaction_managerinterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, __construct, arginfo_phalcon_mvc_model_transaction_managerinterface___construct) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, has, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, get, arginfo_phalcon_mvc_model_transaction_managerinterface_get) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, rollbackPendent, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, commit, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, rollback, arginfo_phalcon_mvc_model_transaction_managerinterface_rollback) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, notifyRollback, arginfo_phalcon_mvc_model_transaction_managerinterface_notifyrollback) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, notifyCommit, arginfo_phalcon_mvc_model_transaction_managerinterface_notifycommit) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, collectTransactions, NULL) PHP_FE_END }; @@ -2904,40 +2894,76 @@ PHALCON_INIT_FUNCS(phalcon_translate_adapterinterface_method_entry){ -zend_class_entry *phalcon_mvc_model_transaction_managerinterface_ce; +zend_class_entry *phalcon_mvc_model_criteriainterface_ce; -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Transaction_ManagerInterface); +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_CriteriaInterface); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface___construct, 0, 0, 0) - ZEND_ARG_INFO(0, dependencyInjector) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_setmodelname, 0, 0, 1) + ZEND_ARG_INFO(0, modelName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_get, 0, 0, 0) - ZEND_ARG_INFO(0, autoBegin) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_bind, 0, 0, 1) + ZEND_ARG_INFO(0, bindParams) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_rollback, 0, 0, 0) - ZEND_ARG_INFO(0, collect) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_where, 0, 0, 1) + ZEND_ARG_INFO(0, conditions) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_notifyrollback, 0, 0, 1) - ZEND_ARG_INFO(0, transaction) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_conditions, 0, 0, 1) + ZEND_ARG_INFO(0, conditions) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_managerinterface_notifycommit, 0, 0, 1) - ZEND_ARG_INFO(0, transaction) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_order, 0, 0, 1) + ZEND_ARG_INFO(0, orderColumns) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_transaction_managerinterface_method_entry){ - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, __construct, arginfo_phalcon_mvc_model_transaction_managerinterface___construct) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, has, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, get, arginfo_phalcon_mvc_model_transaction_managerinterface_get) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, rollbackPendent, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, commit, NULL) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, rollback, arginfo_phalcon_mvc_model_transaction_managerinterface_rollback) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, notifyRollback, arginfo_phalcon_mvc_model_transaction_managerinterface_notifyrollback) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, notifyCommit, arginfo_phalcon_mvc_model_transaction_managerinterface_notifycommit) - PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Transaction_ManagerInterface, collectTransactions, NULL) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_limit, 0, 0, 1) + ZEND_ARG_INFO(0, limit) + ZEND_ARG_INFO(0, offset) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_forupdate, 0, 0, 0) + ZEND_ARG_INFO(0, forUpdate) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_sharedlock, 0, 0, 0) + ZEND_ARG_INFO(0, sharedLock) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_andwhere, 0, 0, 1) + ZEND_ARG_INFO(0, conditions) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_orwhere, 0, 0, 1) + ZEND_ARG_INFO(0, conditions) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_criteriainterface_frominput, 0, 0, 3) + ZEND_ARG_INFO(0, dependencyInjector) + ZEND_ARG_INFO(0, modelName) + ZEND_ARG_INFO(0, data) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_criteriainterface_method_entry){ + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, setModelName, arginfo_phalcon_mvc_model_criteriainterface_setmodelname) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getModelName, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, bind, arginfo_phalcon_mvc_model_criteriainterface_bind) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, where, arginfo_phalcon_mvc_model_criteriainterface_where) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, conditions, arginfo_phalcon_mvc_model_criteriainterface_conditions) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, order, arginfo_phalcon_mvc_model_criteriainterface_order) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, limit, arginfo_phalcon_mvc_model_criteriainterface_limit) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, forUpdate, arginfo_phalcon_mvc_model_criteriainterface_forupdate) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, sharedLock, arginfo_phalcon_mvc_model_criteriainterface_sharedlock) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, andWhere, arginfo_phalcon_mvc_model_criteriainterface_andwhere) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, orWhere, arginfo_phalcon_mvc_model_criteriainterface_orwhere) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getWhere, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getConditions, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getLimit, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getOrder, NULL) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, getParams, NULL) + ZEND_FENTRY(fromInput, NULL, arginfo_phalcon_mvc_model_criteriainterface_frominput, ZEND_ACC_STATIC|ZEND_ACC_ABSTRACT|ZEND_ACC_PUBLIC) + PHP_ABSTRACT_ME(Phalcon_Mvc_Model_CriteriaInterface, execute, NULL) PHP_FE_END }; @@ -3325,18 +3351,24 @@ zend_class_entry *phalcon_validation_validator_ce; PHALCON_INIT_CLASS(Phalcon_Validation_Validator); PHP_METHOD(Phalcon_Validation_Validator, __construct); +PHP_METHOD(Phalcon_Validation_Validator, isSetOption); PHP_METHOD(Phalcon_Validation_Validator, getOption); ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator___construct, 0, 0, 0) ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator_issetoption, 0, 0, 1) + ZEND_ARG_INFO(0, key) +ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator_getoption, 0, 0, 1) ZEND_ARG_INFO(0, key) ZEND_END_ARG_INFO() PHALCON_INIT_FUNCS(phalcon_validation_validator_method_entry){ PHP_ME(Phalcon_Validation_Validator, __construct, arginfo_phalcon_validation_validator___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Validation_Validator, isSetOption, arginfo_phalcon_validation_validator_issetoption, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Validation_Validator, getOption, arginfo_phalcon_validation_validator_getoption, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -3550,75 +3582,133 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_method_entry){ -zend_class_entry *phalcon_db_dialect_ce; - -PHALCON_INIT_CLASS(Phalcon_Db_Dialect); +zend_class_entry *phalcon_annotations_adapter_ce; -PHP_METHOD(Phalcon_Db_Dialect, limit); -PHP_METHOD(Phalcon_Db_Dialect, forUpdate); -PHP_METHOD(Phalcon_Db_Dialect, sharedLock); -PHP_METHOD(Phalcon_Db_Dialect, getColumnList); -PHP_METHOD(Phalcon_Db_Dialect, getSqlExpression); -PHP_METHOD(Phalcon_Db_Dialect, getSqlTable); -PHP_METHOD(Phalcon_Db_Dialect, select); +PHALCON_INIT_CLASS(Phalcon_Annotations_Adapter); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_limit, 0, 0, 2) - ZEND_ARG_INFO(0, sqlQuery) - ZEND_ARG_INFO(0, number) -ZEND_END_ARG_INFO() +PHP_METHOD(Phalcon_Annotations_Adapter, setReader); +PHP_METHOD(Phalcon_Annotations_Adapter, getReader); +PHP_METHOD(Phalcon_Annotations_Adapter, get); +PHP_METHOD(Phalcon_Annotations_Adapter, getMethods); +PHP_METHOD(Phalcon_Annotations_Adapter, getMethod); +PHP_METHOD(Phalcon_Annotations_Adapter, getProperties); +PHP_METHOD(Phalcon_Annotations_Adapter, getProperty); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_forupdate, 0, 0, 1) - ZEND_ARG_INFO(0, sqlQuery) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_setreader, 0, 0, 1) + ZEND_ARG_INFO(0, reader) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sharedlock, 0, 0, 1) - ZEND_ARG_INFO(0, sqlQuery) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_get, 0, 0, 1) + ZEND_ARG_INFO(0, className) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_getcolumnlist, 0, 0, 1) - ZEND_ARG_INFO(0, columnList) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getmethods, 0, 0, 1) + ZEND_ARG_INFO(0, className) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_getsqlexpression, 0, 0, 1) - ZEND_ARG_INFO(0, expression) - ZEND_ARG_INFO(0, escapeChar) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getmethod, 0, 0, 2) + ZEND_ARG_INFO(0, className) + ZEND_ARG_INFO(0, methodName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_getsqltable, 0, 0, 1) - ZEND_ARG_INFO(0, table) - ZEND_ARG_INFO(0, escapeChar) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getproperties, 0, 0, 1) + ZEND_ARG_INFO(0, className) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_select, 0, 0, 1) - ZEND_ARG_INFO(0, definition) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getproperty, 0, 0, 2) + ZEND_ARG_INFO(0, className) + ZEND_ARG_INFO(0, propertyName) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_db_dialect_method_entry){ - PHP_ME(Phalcon_Db_Dialect, limit, arginfo_phalcon_db_dialect_limit, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect, forUpdate, arginfo_phalcon_db_dialect_forupdate, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect, sharedLock, arginfo_phalcon_db_dialect_sharedlock, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect, getColumnList, arginfo_phalcon_db_dialect_getcolumnlist, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect, getSqlExpression, arginfo_phalcon_db_dialect_getsqlexpression, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect, getSqlTable, arginfo_phalcon_db_dialect_getsqltable, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect, select, arginfo_phalcon_db_dialect_select, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_annotations_adapter_method_entry){ + PHP_ME(Phalcon_Annotations_Adapter, setReader, arginfo_phalcon_annotations_adapter_setreader, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Adapter, getReader, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Adapter, get, arginfo_phalcon_annotations_adapter_get, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Adapter, getMethods, arginfo_phalcon_annotations_adapter_getmethods, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Adapter, getMethod, arginfo_phalcon_annotations_adapter_getmethod, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Adapter, getProperties, arginfo_phalcon_annotations_adapter_getproperties, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Adapter, getProperty, arginfo_phalcon_annotations_adapter_getproperty, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_logger_formatter_ce; - -PHALCON_INIT_CLASS(Phalcon_Logger_Formatter); - -PHP_METHOD(Phalcon_Logger_Formatter, getTypeString); +zend_class_entry *phalcon_logger_adapter_ce; -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_gettypestring, 0, 0, 1) - ZEND_ARG_INFO(0, type) -ZEND_END_ARG_INFO() +PHALCON_INIT_CLASS(Phalcon_Logger_Adapter); -PHALCON_INIT_FUNCS(phalcon_logger_formatter_method_entry){ - PHP_ME(Phalcon_Logger_Formatter, getTypeString, arginfo_phalcon_logger_formatter_gettypestring, ZEND_ACC_PUBLIC) - PHP_FE_END +PHP_METHOD(Phalcon_Logger_Adapter, setLogLevel); +PHP_METHOD(Phalcon_Logger_Adapter, getLogLevel); +PHP_METHOD(Phalcon_Logger_Adapter, setFormatter); +PHP_METHOD(Phalcon_Logger_Adapter, begin); +PHP_METHOD(Phalcon_Logger_Adapter, commit); +PHP_METHOD(Phalcon_Logger_Adapter, rollback); +PHP_METHOD(Phalcon_Logger_Adapter, emergence); +PHP_METHOD(Phalcon_Logger_Adapter, debug); +PHP_METHOD(Phalcon_Logger_Adapter, error); +PHP_METHOD(Phalcon_Logger_Adapter, info); +PHP_METHOD(Phalcon_Logger_Adapter, notice); +PHP_METHOD(Phalcon_Logger_Adapter, warning); +PHP_METHOD(Phalcon_Logger_Adapter, alert); +PHP_METHOD(Phalcon_Logger_Adapter, log); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_setloglevel, 0, 0, 1) + ZEND_ARG_INFO(0, level) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_setformatter, 0, 0, 1) + ZEND_ARG_INFO(0, formatter) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_emergence, 0, 0, 1) + ZEND_ARG_INFO(0, message) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_debug, 0, 0, 1) + ZEND_ARG_INFO(0, message) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_error, 0, 0, 1) + ZEND_ARG_INFO(0, message) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_info, 0, 0, 1) + ZEND_ARG_INFO(0, message) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_notice, 0, 0, 1) + ZEND_ARG_INFO(0, message) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_warning, 0, 0, 1) + ZEND_ARG_INFO(0, message) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_alert, 0, 0, 1) + ZEND_ARG_INFO(0, message) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_log, 0, 0, 1) + ZEND_ARG_INFO(0, message) + ZEND_ARG_INFO(0, type) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_logger_adapter_method_entry){ + PHP_ME(Phalcon_Logger_Adapter, setLogLevel, arginfo_phalcon_logger_adapter_setloglevel, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, getLogLevel, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, setFormatter, arginfo_phalcon_logger_adapter_setformatter, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, begin, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, commit, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, rollback, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, emergence, arginfo_phalcon_logger_adapter_emergence, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, debug, arginfo_phalcon_logger_adapter_debug, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, error, arginfo_phalcon_logger_adapter_error, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, info, arginfo_phalcon_logger_adapter_info, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, notice, arginfo_phalcon_logger_adapter_notice, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, warning, arginfo_phalcon_logger_adapter_warning, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, alert, arginfo_phalcon_logger_adapter_alert, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter, log, arginfo_phalcon_logger_adapter_log, ZEND_ACC_PUBLIC) + PHP_FE_END }; @@ -3629,6 +3719,7 @@ PHALCON_INIT_CLASS(Phalcon_Db_Adapter_Pdo); PHP_METHOD(Phalcon_Db_Adapter_Pdo, __construct); PHP_METHOD(Phalcon_Db_Adapter_Pdo, connect); +PHP_METHOD(Phalcon_Db_Adapter_Pdo, prepare); PHP_METHOD(Phalcon_Db_Adapter_Pdo, executePrepared); PHP_METHOD(Phalcon_Db_Adapter_Pdo, query); PHP_METHOD(Phalcon_Db_Adapter_Pdo, execute); @@ -3658,6 +3749,10 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapter_pdo_connect, 0, 0, 0) ZEND_ARG_INFO(0, descriptor) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapter_pdo_prepare, 0, 0, 1) + ZEND_ARG_INFO(0, sqlStatement) +ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapter_pdo_executeprepared, 0, 0, 3) ZEND_ARG_INFO(0, statement) ZEND_ARG_INFO(0, placeholders) @@ -3716,6 +3811,7 @@ ZEND_END_ARG_INFO() PHALCON_INIT_FUNCS(phalcon_db_adapter_pdo_method_entry){ PHP_ME(Phalcon_Db_Adapter_Pdo, __construct, arginfo_phalcon_db_adapter_pdo___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) PHP_ME(Phalcon_Db_Adapter_Pdo, connect, arginfo_phalcon_db_adapter_pdo_connect, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Adapter_Pdo, prepare, arginfo_phalcon_db_adapter_pdo_prepare, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Db_Adapter_Pdo, executePrepared, arginfo_phalcon_db_adapter_pdo_executeprepared, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Db_Adapter_Pdo, query, arginfo_phalcon_db_adapter_pdo_query, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Db_Adapter_Pdo, execute, arginfo_phalcon_db_adapter_pdo_execute, ZEND_ACC_PUBLIC) @@ -3741,132 +3837,74 @@ PHALCON_INIT_FUNCS(phalcon_db_adapter_pdo_method_entry){ -zend_class_entry *phalcon_logger_adapter_ce; - -PHALCON_INIT_CLASS(Phalcon_Logger_Adapter); - -PHP_METHOD(Phalcon_Logger_Adapter, setLogLevel); -PHP_METHOD(Phalcon_Logger_Adapter, getLogLevel); -PHP_METHOD(Phalcon_Logger_Adapter, setFormatter); -PHP_METHOD(Phalcon_Logger_Adapter, begin); -PHP_METHOD(Phalcon_Logger_Adapter, commit); -PHP_METHOD(Phalcon_Logger_Adapter, rollback); -PHP_METHOD(Phalcon_Logger_Adapter, emergence); -PHP_METHOD(Phalcon_Logger_Adapter, debug); -PHP_METHOD(Phalcon_Logger_Adapter, error); -PHP_METHOD(Phalcon_Logger_Adapter, info); -PHP_METHOD(Phalcon_Logger_Adapter, notice); -PHP_METHOD(Phalcon_Logger_Adapter, warning); -PHP_METHOD(Phalcon_Logger_Adapter, alert); -PHP_METHOD(Phalcon_Logger_Adapter, log); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_setloglevel, 0, 0, 1) - ZEND_ARG_INFO(0, level) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_setformatter, 0, 0, 1) - ZEND_ARG_INFO(0, formatter) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_emergence, 0, 0, 1) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_debug, 0, 0, 1) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_error, 0, 0, 1) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_info, 0, 0, 1) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_notice, 0, 0, 1) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() +zend_class_entry *phalcon_logger_formatter_ce; -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_warning, 0, 0, 1) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() +PHALCON_INIT_CLASS(Phalcon_Logger_Formatter); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_alert, 0, 0, 1) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() +PHP_METHOD(Phalcon_Logger_Formatter, getTypeString); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_log, 0, 0, 1) - ZEND_ARG_INFO(0, message) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_gettypestring, 0, 0, 1) ZEND_ARG_INFO(0, type) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_logger_adapter_method_entry){ - PHP_ME(Phalcon_Logger_Adapter, setLogLevel, arginfo_phalcon_logger_adapter_setloglevel, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, getLogLevel, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, setFormatter, arginfo_phalcon_logger_adapter_setformatter, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, begin, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, commit, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, rollback, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, emergence, arginfo_phalcon_logger_adapter_emergence, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, debug, arginfo_phalcon_logger_adapter_debug, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, error, arginfo_phalcon_logger_adapter_error, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, info, arginfo_phalcon_logger_adapter_info, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, notice, arginfo_phalcon_logger_adapter_notice, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, warning, arginfo_phalcon_logger_adapter_warning, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, alert, arginfo_phalcon_logger_adapter_alert, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter, log, arginfo_phalcon_logger_adapter_log, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_logger_formatter_method_entry){ + PHP_ME(Phalcon_Logger_Formatter, getTypeString, arginfo_phalcon_logger_formatter_gettypestring, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_annotations_adapter_ce; +zend_class_entry *phalcon_db_dialect_ce; -PHALCON_INIT_CLASS(Phalcon_Annotations_Adapter); +PHALCON_INIT_CLASS(Phalcon_Db_Dialect); -PHP_METHOD(Phalcon_Annotations_Adapter, setReader); -PHP_METHOD(Phalcon_Annotations_Adapter, getReader); -PHP_METHOD(Phalcon_Annotations_Adapter, get); -PHP_METHOD(Phalcon_Annotations_Adapter, getMethods); -PHP_METHOD(Phalcon_Annotations_Adapter, getMethod); -PHP_METHOD(Phalcon_Annotations_Adapter, getProperties); -PHP_METHOD(Phalcon_Annotations_Adapter, getProperty); +PHP_METHOD(Phalcon_Db_Dialect, limit); +PHP_METHOD(Phalcon_Db_Dialect, forUpdate); +PHP_METHOD(Phalcon_Db_Dialect, sharedLock); +PHP_METHOD(Phalcon_Db_Dialect, getColumnList); +PHP_METHOD(Phalcon_Db_Dialect, getSqlExpression); +PHP_METHOD(Phalcon_Db_Dialect, getSqlTable); +PHP_METHOD(Phalcon_Db_Dialect, select); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_setreader, 0, 0, 1) - ZEND_ARG_INFO(0, reader) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_limit, 0, 0, 2) + ZEND_ARG_INFO(0, sqlQuery) + ZEND_ARG_INFO(0, number) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_get, 0, 0, 1) - ZEND_ARG_INFO(0, className) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_forupdate, 0, 0, 1) + ZEND_ARG_INFO(0, sqlQuery) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getmethods, 0, 0, 1) - ZEND_ARG_INFO(0, className) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sharedlock, 0, 0, 1) + ZEND_ARG_INFO(0, sqlQuery) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getmethod, 0, 0, 2) - ZEND_ARG_INFO(0, className) - ZEND_ARG_INFO(0, methodName) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_getcolumnlist, 0, 0, 1) + ZEND_ARG_INFO(0, columnList) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getproperties, 0, 0, 1) - ZEND_ARG_INFO(0, className) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_getsqlexpression, 0, 0, 1) + ZEND_ARG_INFO(0, expression) + ZEND_ARG_INFO(0, escapeChar) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_getproperty, 0, 0, 2) - ZEND_ARG_INFO(0, className) - ZEND_ARG_INFO(0, propertyName) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_getsqltable, 0, 0, 1) + ZEND_ARG_INFO(0, table) + ZEND_ARG_INFO(0, escapeChar) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_annotations_adapter_method_entry){ - PHP_ME(Phalcon_Annotations_Adapter, setReader, arginfo_phalcon_annotations_adapter_setreader, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Adapter, getReader, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Adapter, get, arginfo_phalcon_annotations_adapter_get, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Adapter, getMethods, arginfo_phalcon_annotations_adapter_getmethods, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Adapter, getMethod, arginfo_phalcon_annotations_adapter_getmethod, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Adapter, getProperties, arginfo_phalcon_annotations_adapter_getproperties, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Adapter, getProperty, arginfo_phalcon_annotations_adapter_getproperty, ZEND_ACC_PUBLIC) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_select, 0, 0, 1) + ZEND_ARG_INFO(0, definition) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_db_dialect_method_entry){ + PHP_ME(Phalcon_Db_Dialect, limit, arginfo_phalcon_db_dialect_limit, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect, forUpdate, arginfo_phalcon_db_dialect_forupdate, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect, sharedLock, arginfo_phalcon_db_dialect_sharedlock, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect, getColumnList, arginfo_phalcon_db_dialect_getcolumnlist, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect, getSqlExpression, arginfo_phalcon_db_dialect_getsqlexpression, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect, getSqlTable, arginfo_phalcon_db_dialect_getsqltable, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect, select, arginfo_phalcon_db_dialect_select, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -3980,85 +4018,70 @@ PHALCON_INIT_FUNCS(phalcon_dispatcher_method_entry){ -zend_class_entry *phalcon_mvc_model_resultset_ce; +zend_class_entry *phalcon_mvc_view_engine_ce; -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Resultset); +PHALCON_INIT_CLASS(Phalcon_Mvc_View_Engine); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, next); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, key); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, rewind); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, seek); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, count); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetExists); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetGet); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetSet); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetUnset); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, getType); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, getFirst); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, getLast); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, setIsFresh); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, isFresh); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, setHydrateMode); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, getHydrateMode); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, getCache); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, current); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, getMessages); -PHP_METHOD(Phalcon_Mvc_Model_Resultset, delete); +PHP_METHOD(Phalcon_Mvc_View_Engine, __construct); +PHP_METHOD(Phalcon_Mvc_View_Engine, getContent); +PHP_METHOD(Phalcon_Mvc_View_Engine, partial); +PHP_METHOD(Phalcon_Mvc_View_Engine, getView); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_seek, 0, 0, 1) - ZEND_ARG_INFO(0, position) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_engine___construct, 0, 0, 1) + ZEND_ARG_INFO(0, view) + ZEND_ARG_INFO(0, dependencyInjector) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetexists, 0, 0, 1) - ZEND_ARG_INFO(0, index) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_engine_partial, 0, 0, 1) + ZEND_ARG_INFO(0, partialPath) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetget, 0, 0, 1) - ZEND_ARG_INFO(0, index) -ZEND_END_ARG_INFO() +PHALCON_INIT_FUNCS(phalcon_mvc_view_engine_method_entry){ + PHP_ME(Phalcon_Mvc_View_Engine, __construct, arginfo_phalcon_mvc_view_engine___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Mvc_View_Engine, getContent, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View_Engine, partial, arginfo_phalcon_mvc_view_engine_partial, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View_Engine, getView, NULL, ZEND_ACC_PUBLIC) + PHP_FE_END +}; -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetset, 0, 0, 2) - ZEND_ARG_INFO(0, index) - ZEND_ARG_INFO(0, value) -ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetunset, 0, 0, 1) - ZEND_ARG_INFO(0, offset) + +zend_class_entry *phalcon_forms_element_ce; + +PHALCON_INIT_CLASS(Phalcon_Forms_Element); + +PHP_METHOD(Phalcon_Forms_Element, __construct); +PHP_METHOD(Phalcon_Forms_Element, setName); +PHP_METHOD(Phalcon_Forms_Element, getName); +PHP_METHOD(Phalcon_Forms_Element, addValidators); +PHP_METHOD(Phalcon_Forms_Element, addValidator); +PHP_METHOD(Phalcon_Forms_Element, getValidators); +PHP_METHOD(Phalcon_Forms_Element, __toString); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element___construct, 0, 0, 1) + ZEND_ARG_INFO(0, name) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_setisfresh, 0, 0, 1) - ZEND_ARG_INFO(0, isFresh) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_setname, 0, 0, 1) + ZEND_ARG_INFO(0, name) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_sethydratemode, 0, 0, 1) - ZEND_ARG_INFO(0, hydrateMode) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_addvalidators, 0, 0, 1) + ZEND_ARG_INFO(0, validators) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_delete, 0, 0, 0) - ZEND_ARG_INFO(0, conditionCallback) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_addvalidator, 0, 0, 1) + ZEND_ARG_INFO(0, validator) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_resultset_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Resultset, next, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, key, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, rewind, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, seek, arginfo_phalcon_mvc_model_resultset_seek, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, count, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, offsetExists, arginfo_phalcon_mvc_model_resultset_offsetexists, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, offsetGet, arginfo_phalcon_mvc_model_resultset_offsetget, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, offsetSet, arginfo_phalcon_mvc_model_resultset_offsetset, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, offsetUnset, arginfo_phalcon_mvc_model_resultset_offsetunset, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, getType, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, getFirst, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, getLast, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, setIsFresh, arginfo_phalcon_mvc_model_resultset_setisfresh, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, isFresh, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, setHydrateMode, arginfo_phalcon_mvc_model_resultset_sethydratemode, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, getHydrateMode, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, getCache, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, current, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, getMessages, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Resultset, delete, arginfo_phalcon_mvc_model_resultset_delete, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_forms_element_method_entry){ + PHP_ME(Phalcon_Forms_Element, __construct, arginfo_phalcon_forms_element___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Forms_Element, setName, arginfo_phalcon_forms_element_setname, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Element, getName, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Element, addValidators, arginfo_phalcon_forms_element_addvalidators, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Element, addValidator, arginfo_phalcon_forms_element_addvalidator, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Element, getValidators, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Element, __toString, NULL, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -4111,48 +4134,20 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_flash_warning, 0, 0, 1) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_flash_outputmessage, 0, 0, 2) - ZEND_ARG_INFO(0, type) - ZEND_ARG_INFO(0, message) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_flash_method_entry){ - PHP_ME(Phalcon_Flash, __construct, arginfo_phalcon_flash___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Flash, setImplicitFlush, arginfo_phalcon_flash_setimplicitflush, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Flash, setAutomaticHtml, arginfo_phalcon_flash_setautomatichtml, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Flash, setCssClasses, arginfo_phalcon_flash_setcssclasses, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Flash, error, arginfo_phalcon_flash_error, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Flash, notice, arginfo_phalcon_flash_notice, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Flash, success, arginfo_phalcon_flash_success, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Flash, warning, arginfo_phalcon_flash_warning, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Flash, outputMessage, arginfo_phalcon_flash_outputmessage, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - -zend_class_entry *phalcon_mvc_view_engine_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_View_Engine); - -PHP_METHOD(Phalcon_Mvc_View_Engine, __construct); -PHP_METHOD(Phalcon_Mvc_View_Engine, getContent); -PHP_METHOD(Phalcon_Mvc_View_Engine, partial); -PHP_METHOD(Phalcon_Mvc_View_Engine, getView); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_engine___construct, 0, 0, 1) - ZEND_ARG_INFO(0, view) - ZEND_ARG_INFO(0, dependencyInjector) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_engine_partial, 0, 0, 1) - ZEND_ARG_INFO(0, partialPath) + ZEND_ARG_INFO(0, type) + ZEND_ARG_INFO(0, message) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_view_engine_method_entry){ - PHP_ME(Phalcon_Mvc_View_Engine, __construct, arginfo_phalcon_mvc_view_engine___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Mvc_View_Engine, getContent, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View_Engine, partial, arginfo_phalcon_mvc_view_engine_partial, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View_Engine, getView, NULL, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_flash_method_entry){ + PHP_ME(Phalcon_Flash, __construct, arginfo_phalcon_flash___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Flash, setImplicitFlush, arginfo_phalcon_flash_setimplicitflush, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Flash, setAutomaticHtml, arginfo_phalcon_flash_setautomatichtml, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Flash, setCssClasses, arginfo_phalcon_flash_setcssclasses, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Flash, error, arginfo_phalcon_flash_error, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Flash, notice, arginfo_phalcon_flash_notice, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Flash, success, arginfo_phalcon_flash_success, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Flash, warning, arginfo_phalcon_flash_warning, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Flash, outputMessage, arginfo_phalcon_flash_outputmessage, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -4194,6 +4189,90 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_behavior_method_entry){ +zend_class_entry *phalcon_mvc_model_resultset_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Resultset); + +PHP_METHOD(Phalcon_Mvc_Model_Resultset, next); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, key); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, rewind); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, seek); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, count); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetExists); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetGet); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetSet); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, offsetUnset); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, getType); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, getFirst); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, getLast); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, setIsFresh); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, isFresh); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, setHydrateMode); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, getHydrateMode); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, getCache); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, current); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, getMessages); +PHP_METHOD(Phalcon_Mvc_Model_Resultset, delete); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_seek, 0, 0, 1) + ZEND_ARG_INFO(0, position) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetexists, 0, 0, 1) + ZEND_ARG_INFO(0, index) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetget, 0, 0, 1) + ZEND_ARG_INFO(0, index) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetset, 0, 0, 2) + ZEND_ARG_INFO(0, index) + ZEND_ARG_INFO(0, value) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_offsetunset, 0, 0, 1) + ZEND_ARG_INFO(0, offset) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_setisfresh, 0, 0, 1) + ZEND_ARG_INFO(0, isFresh) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_sethydratemode, 0, 0, 1) + ZEND_ARG_INFO(0, hydrateMode) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultset_delete, 0, 0, 0) + ZEND_ARG_INFO(0, conditionCallback) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_resultset_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Resultset, next, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, key, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, rewind, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, seek, arginfo_phalcon_mvc_model_resultset_seek, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, count, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, offsetExists, arginfo_phalcon_mvc_model_resultset_offsetexists, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, offsetGet, arginfo_phalcon_mvc_model_resultset_offsetget, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, offsetSet, arginfo_phalcon_mvc_model_resultset_offsetset, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, offsetUnset, arginfo_phalcon_mvc_model_resultset_offsetunset, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, getType, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, getFirst, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, getLast, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, setIsFresh, arginfo_phalcon_mvc_model_resultset_setisfresh, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, isFresh, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, setHydrateMode, arginfo_phalcon_mvc_model_resultset_sethydratemode, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, getHydrateMode, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, getCache, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, current, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, getMessages, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Resultset, delete, arginfo_phalcon_mvc_model_resultset_delete, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_translate_adapter_ce; PHALCON_INIT_CLASS(Phalcon_Translate_Adapter); @@ -4309,6 +4388,11 @@ PHALCON_INIT_FUNCS(phalcon_di_factorydefault_method_entry){ +zend_class_entry *phalcon_mvc_model_exception_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Exception); + + zend_class_entry *phalcon_config_ce; PHALCON_INIT_CLASS(Phalcon_Config); @@ -4372,11 +4456,6 @@ PHALCON_INIT_FUNCS(phalcon_config_method_entry){ -zend_class_entry *phalcon_mvc_model_exception_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Exception); - - zend_class_entry *phalcon_mvc_router_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_Router); @@ -4385,6 +4464,7 @@ PHP_METHOD(Phalcon_Mvc_Router, __construct); PHP_METHOD(Phalcon_Mvc_Router, setDI); PHP_METHOD(Phalcon_Mvc_Router, getDI); PHP_METHOD(Phalcon_Mvc_Router, _getRewriteUri); +PHP_METHOD(Phalcon_Mvc_Router, setUriSource); PHP_METHOD(Phalcon_Mvc_Router, removeExtraSlashes); PHP_METHOD(Phalcon_Mvc_Router, setDefaultNamespace); PHP_METHOD(Phalcon_Mvc_Router, setDefaultModule); @@ -4423,6 +4503,10 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_router_setdi, 0, 0, 1) ZEND_ARG_INFO(0, dependencyInjector) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_router_seturisource, 0, 0, 1) + ZEND_ARG_INFO(0, uriSource) +ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_router_removeextraslashes, 0, 0, 1) ZEND_ARG_INFO(0, remove) ZEND_END_ARG_INFO() @@ -4513,6 +4597,7 @@ PHALCON_INIT_FUNCS(phalcon_mvc_router_method_entry){ PHP_ME(Phalcon_Mvc_Router, setDI, arginfo_phalcon_mvc_router_setdi, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Mvc_Router, getDI, NULL, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Mvc_Router, _getRewriteUri, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Mvc_Router, setUriSource, arginfo_phalcon_mvc_router_seturisource, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Mvc_Router, removeExtraSlashes, arginfo_phalcon_mvc_router_removeextraslashes, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Mvc_Router, setDefaultNamespace, arginfo_phalcon_mvc_router_setdefaultnamespace, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Mvc_Router, setDefaultModule, arginfo_phalcon_mvc_router_setdefaultmodule, ZEND_ACC_PUBLIC) @@ -4580,45 +4665,6 @@ PHALCON_INIT_FUNCS(phalcon_acl_adapter_method_entry){ -zend_class_entry *phalcon_forms_element_ce; - -PHALCON_INIT_CLASS(Phalcon_Forms_Element); - -PHP_METHOD(Phalcon_Forms_Element, __construct); -PHP_METHOD(Phalcon_Forms_Element, setName); -PHP_METHOD(Phalcon_Forms_Element, getName); -PHP_METHOD(Phalcon_Forms_Element, addValidators); -PHP_METHOD(Phalcon_Forms_Element, addValidator); -PHP_METHOD(Phalcon_Forms_Element, getValidators); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element___construct, 0, 0, 1) - ZEND_ARG_INFO(0, name) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_setname, 0, 0, 1) - ZEND_ARG_INFO(0, name) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_addvalidators, 0, 0, 1) - ZEND_ARG_INFO(0, validators) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_addvalidator, 0, 0, 1) - ZEND_ARG_INFO(0, validator) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_forms_element_method_entry){ - PHP_ME(Phalcon_Forms_Element, __construct, arginfo_phalcon_forms_element___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Forms_Element, setName, arginfo_phalcon_forms_element_setname, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Forms_Element, getName, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Forms_Element, addValidators, arginfo_phalcon_forms_element_addvalidators, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Forms_Element, addValidator, arginfo_phalcon_forms_element_addvalidator, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Forms_Element, getValidators, NULL, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_db_ce; PHALCON_INIT_CLASS(Phalcon_Db); @@ -5165,6 +5211,45 @@ PHALCON_INIT_FUNCS(phalcon_cache_backend_memcache_method_entry){ +zend_class_entry *phalcon_cache_frontend_data_ce; + +PHALCON_INIT_CLASS(Phalcon_Cache_Frontend_Data); + +PHP_METHOD(Phalcon_Cache_Frontend_Data, __construct); +PHP_METHOD(Phalcon_Cache_Frontend_Data, getLifetime); +PHP_METHOD(Phalcon_Cache_Frontend_Data, isBuffering); +PHP_METHOD(Phalcon_Cache_Frontend_Data, start); +PHP_METHOD(Phalcon_Cache_Frontend_Data, getContent); +PHP_METHOD(Phalcon_Cache_Frontend_Data, stop); +PHP_METHOD(Phalcon_Cache_Frontend_Data, beforeStore); +PHP_METHOD(Phalcon_Cache_Frontend_Data, afterRetrieve); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_cache_frontend_data___construct, 0, 0, 0) + ZEND_ARG_INFO(0, frontendOptions) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_cache_frontend_data_beforestore, 0, 0, 1) + ZEND_ARG_INFO(0, data) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_cache_frontend_data_afterretrieve, 0, 0, 1) + ZEND_ARG_INFO(0, data) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_cache_frontend_data_method_entry){ + PHP_ME(Phalcon_Cache_Frontend_Data, __construct, arginfo_phalcon_cache_frontend_data___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Cache_Frontend_Data, getLifetime, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Cache_Frontend_Data, isBuffering, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Cache_Frontend_Data, start, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Cache_Frontend_Data, getContent, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Cache_Frontend_Data, stop, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Cache_Frontend_Data, beforeStore, arginfo_phalcon_cache_frontend_data_beforestore, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Cache_Frontend_Data, afterRetrieve, arginfo_phalcon_cache_frontend_data_afterretrieve, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_cache_frontend_base64_ce; PHALCON_INIT_CLASS(Phalcon_Cache_Frontend_Base64); @@ -5282,45 +5367,6 @@ PHALCON_INIT_FUNCS(phalcon_cache_frontend_output_method_entry){ -zend_class_entry *phalcon_cache_frontend_data_ce; - -PHALCON_INIT_CLASS(Phalcon_Cache_Frontend_Data); - -PHP_METHOD(Phalcon_Cache_Frontend_Data, __construct); -PHP_METHOD(Phalcon_Cache_Frontend_Data, getLifetime); -PHP_METHOD(Phalcon_Cache_Frontend_Data, isBuffering); -PHP_METHOD(Phalcon_Cache_Frontend_Data, start); -PHP_METHOD(Phalcon_Cache_Frontend_Data, getContent); -PHP_METHOD(Phalcon_Cache_Frontend_Data, stop); -PHP_METHOD(Phalcon_Cache_Frontend_Data, beforeStore); -PHP_METHOD(Phalcon_Cache_Frontend_Data, afterRetrieve); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_cache_frontend_data___construct, 0, 0, 0) - ZEND_ARG_INFO(0, frontendOptions) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_cache_frontend_data_beforestore, 0, 0, 1) - ZEND_ARG_INFO(0, data) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_cache_frontend_data_afterretrieve, 0, 0, 1) - ZEND_ARG_INFO(0, data) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_cache_frontend_data_method_entry){ - PHP_ME(Phalcon_Cache_Frontend_Data, __construct, arginfo_phalcon_cache_frontend_data___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Cache_Frontend_Data, getLifetime, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Cache_Frontend_Data, isBuffering, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Cache_Frontend_Data, start, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Cache_Frontend_Data, getContent, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Cache_Frontend_Data, stop, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Cache_Frontend_Data, beforeStore, arginfo_phalcon_cache_frontend_data_beforestore, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Cache_Frontend_Data, afterRetrieve, arginfo_phalcon_cache_frontend_data_afterretrieve, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_tag_select_ce; PHALCON_INIT_CLASS(Phalcon_Tag_Select); @@ -5519,6 +5565,7 @@ PHP_METHOD(Phalcon_Validation_Message_Group, offsetSet); PHP_METHOD(Phalcon_Validation_Message_Group, offsetExists); PHP_METHOD(Phalcon_Validation_Message_Group, offsetUnset); PHP_METHOD(Phalcon_Validation_Message_Group, appendMessage); +PHP_METHOD(Phalcon_Validation_Message_Group, appendMessages); PHP_METHOD(Phalcon_Validation_Message_Group, count); PHP_METHOD(Phalcon_Validation_Message_Group, rewind); PHP_METHOD(Phalcon_Validation_Message_Group, current); @@ -5552,6 +5599,10 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_message_group_appendmessage, 0 ZEND_ARG_INFO(0, message) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_message_group_appendmessages, 0, 0, 1) + ZEND_ARG_INFO(0, messages) +ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_message_group___set_state, 0, 0, 1) ZEND_ARG_INFO(0, group) ZEND_END_ARG_INFO() @@ -5563,6 +5614,7 @@ PHALCON_INIT_FUNCS(phalcon_validation_message_group_method_entry){ PHP_ME(Phalcon_Validation_Message_Group, offsetExists, arginfo_phalcon_validation_message_group_offsetexists, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Validation_Message_Group, offsetUnset, arginfo_phalcon_validation_message_group_offsetunset, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Validation_Message_Group, appendMessage, arginfo_phalcon_validation_message_group_appendmessage, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Validation_Message_Group, appendMessages, arginfo_phalcon_validation_message_group_appendmessages, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Validation_Message_Group, count, NULL, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Validation_Message_Group, rewind, NULL, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Validation_Message_Group, current, NULL, ZEND_ACC_PUBLIC) @@ -5575,37 +5627,37 @@ PHALCON_INIT_FUNCS(phalcon_validation_message_group_method_entry){ -zend_class_entry *phalcon_validation_validator_regex_ce; +zend_class_entry *phalcon_validation_validator_email_ce; -PHALCON_INIT_CLASS(Phalcon_Validation_Validator_Regex); +PHALCON_INIT_CLASS(Phalcon_Validation_Validator_Email); -PHP_METHOD(Phalcon_Validation_Validator_Regex, validate); +PHP_METHOD(Phalcon_Validation_Validator_Email, validate); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator_regex_validate, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator_email_validate, 0, 0, 2) ZEND_ARG_INFO(0, validator) ZEND_ARG_INFO(0, attribute) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_validation_validator_regex_method_entry){ - PHP_ME(Phalcon_Validation_Validator_Regex, validate, arginfo_phalcon_validation_validator_regex_validate, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_validation_validator_email_method_entry){ + PHP_ME(Phalcon_Validation_Validator_Email, validate, arginfo_phalcon_validation_validator_email_validate, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_validation_validator_email_ce; +zend_class_entry *phalcon_validation_validator_regex_ce; -PHALCON_INIT_CLASS(Phalcon_Validation_Validator_Email); +PHALCON_INIT_CLASS(Phalcon_Validation_Validator_Regex); -PHP_METHOD(Phalcon_Validation_Validator_Email, validate); +PHP_METHOD(Phalcon_Validation_Validator_Regex, validate); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator_email_validate, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator_regex_validate, 0, 0, 2) ZEND_ARG_INFO(0, validator) ZEND_ARG_INFO(0, attribute) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_validation_validator_email_method_entry){ - PHP_ME(Phalcon_Validation_Validator_Email, validate, arginfo_phalcon_validation_validator_email_validate, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_validation_validator_regex_method_entry){ + PHP_ME(Phalcon_Validation_Validator_Regex, validate, arginfo_phalcon_validation_validator_regex_validate, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -5647,6 +5699,24 @@ PHALCON_INIT_FUNCS(phalcon_validation_validator_inclusionin_method_entry){ +zend_class_entry *phalcon_validation_validator_stringlength_ce; + +PHALCON_INIT_CLASS(Phalcon_Validation_Validator_StringLength); + +PHP_METHOD(Phalcon_Validation_Validator_StringLength, validate); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_validation_validator_stringlength_validate, 0, 0, 2) + ZEND_ARG_INFO(0, validator) + ZEND_ARG_INFO(0, attribute) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_validation_validator_stringlength_method_entry){ + PHP_ME(Phalcon_Validation_Validator_StringLength, validate, arginfo_phalcon_validation_validator_stringlength_validate, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_validation_validator_exclusionin_ce; PHALCON_INIT_CLASS(Phalcon_Validation_Validator_ExclusionIn); @@ -5761,30 +5831,6 @@ PHALCON_INIT_FUNCS(phalcon_db_column_method_entry){ -zend_class_entry *phalcon_db_adapter_pdo_mysql_ce; - -PHALCON_INIT_CLASS(Phalcon_Db_Adapter_Pdo_Mysql); - -PHP_METHOD(Phalcon_Db_Adapter_Pdo_Mysql, escapeIdentifier); -PHP_METHOD(Phalcon_Db_Adapter_Pdo_Mysql, describeColumns); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapter_pdo_mysql_escapeidentifier, 0, 0, 1) - ZEND_ARG_INFO(0, identifier) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapter_pdo_mysql_describecolumns, 0, 0, 1) - ZEND_ARG_INFO(0, table) - ZEND_ARG_INFO(0, schema) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_db_adapter_pdo_mysql_method_entry){ - PHP_ME(Phalcon_Db_Adapter_Pdo_Mysql, escapeIdentifier, arginfo_phalcon_db_adapter_pdo_mysql_escapeidentifier, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Adapter_Pdo_Mysql, describeColumns, arginfo_phalcon_db_adapter_pdo_mysql_describecolumns, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_db_adapter_pdo_sqlite_ce; PHALCON_INIT_CLASS(Phalcon_Db_Adapter_Pdo_Sqlite); @@ -5823,6 +5869,30 @@ PHALCON_INIT_FUNCS(phalcon_db_adapter_pdo_sqlite_method_entry){ +zend_class_entry *phalcon_db_adapter_pdo_mysql_ce; + +PHALCON_INIT_CLASS(Phalcon_Db_Adapter_Pdo_Mysql); + +PHP_METHOD(Phalcon_Db_Adapter_Pdo_Mysql, escapeIdentifier); +PHP_METHOD(Phalcon_Db_Adapter_Pdo_Mysql, describeColumns); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapter_pdo_mysql_escapeidentifier, 0, 0, 1) + ZEND_ARG_INFO(0, identifier) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapter_pdo_mysql_describecolumns, 0, 0, 1) + ZEND_ARG_INFO(0, table) + ZEND_ARG_INFO(0, schema) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_db_adapter_pdo_mysql_method_entry){ + PHP_ME(Phalcon_Db_Adapter_Pdo_Mysql, escapeIdentifier, arginfo_phalcon_db_adapter_pdo_mysql_escapeidentifier, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Adapter_Pdo_Mysql, describeColumns, arginfo_phalcon_db_adapter_pdo_mysql_describecolumns, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_db_adapter_pdo_postgresql_ce; PHALCON_INIT_CLASS(Phalcon_Db_Adapter_Pdo_Postgresql); @@ -5851,301 +5921,301 @@ PHALCON_INIT_FUNCS(phalcon_db_adapter_pdo_postgresql_method_entry){ -zend_class_entry *phalcon_db_dialect_mysql_ce; +zend_class_entry *phalcon_db_dialect_sqlite_ce; -PHALCON_INIT_CLASS(Phalcon_Db_Dialect_Mysql); +PHALCON_INIT_CLASS(Phalcon_Db_Dialect_Sqlite); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, getColumnDefinition); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, addColumn); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, modifyColumn); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropColumn); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, addIndex); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropIndex); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, addPrimaryKey); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropPrimaryKey); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, addForeignKey); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropForeignKey); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, _getTableOptions); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, createTable); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropTable); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, tableExists); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, describeColumns); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, listTables); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, describeIndexes); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, describeReferences); -PHP_METHOD(Phalcon_Db_Dialect_Mysql, tableOptions); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, getColumnDefinition); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addColumn); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, modifyColumn); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropColumn); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addIndex); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropIndex); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addPrimaryKey); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropPrimaryKey); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addForeignKey); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropForeignKey); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, _getTableOptions); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, createTable); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropTable); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, tableExists); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeColumns); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, listTables); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeIndexes); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeIndex); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeReferences); +PHP_METHOD(Phalcon_Db_Dialect_Sqlite, tableOptions); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_getcolumndefinition, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_getcolumndefinition, 0, 0, 1) ZEND_ARG_INFO(0, column) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addcolumn, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addcolumn, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, column) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_modifycolumn, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_modifycolumn, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, column) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropcolumn, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropcolumn, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, columnName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addindex, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addindex, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropindex, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropindex, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, indexName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addprimarykey, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addprimarykey, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropprimarykey, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropprimarykey, 0, 0, 2) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addforeignkey, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addforeignkey, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, reference) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropforeignkey, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropforeignkey, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, referenceName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_createtable, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_createtable, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, definition) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_droptable, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_droptable, 0, 0, 2) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, ifExists) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_tableexists, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_tableexists, 0, 0, 1) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_describecolumns, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describecolumns, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_listtables, 0, 0, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_listtables, 0, 0, 0) ZEND_ARG_INFO(0, schemaName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_describeindexes, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describeindexes, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_describereferences, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describeindex, 0, 0, 1) + ZEND_ARG_INFO(0, indexName) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describereferences, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_tableoptions, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_tableoptions, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_db_dialect_mysql_method_entry){ - PHP_ME(Phalcon_Db_Dialect_Mysql, getColumnDefinition, arginfo_phalcon_db_dialect_mysql_getcolumndefinition, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, addColumn, arginfo_phalcon_db_dialect_mysql_addcolumn, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, modifyColumn, arginfo_phalcon_db_dialect_mysql_modifycolumn, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, dropColumn, arginfo_phalcon_db_dialect_mysql_dropcolumn, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, addIndex, arginfo_phalcon_db_dialect_mysql_addindex, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, dropIndex, arginfo_phalcon_db_dialect_mysql_dropindex, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, addPrimaryKey, arginfo_phalcon_db_dialect_mysql_addprimarykey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, dropPrimaryKey, arginfo_phalcon_db_dialect_mysql_dropprimarykey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, addForeignKey, arginfo_phalcon_db_dialect_mysql_addforeignkey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, dropForeignKey, arginfo_phalcon_db_dialect_mysql_dropforeignkey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, _getTableOptions, NULL, ZEND_ACC_PROTECTED) - PHP_ME(Phalcon_Db_Dialect_Mysql, createTable, arginfo_phalcon_db_dialect_mysql_createtable, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, dropTable, arginfo_phalcon_db_dialect_mysql_droptable, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, tableExists, arginfo_phalcon_db_dialect_mysql_tableexists, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, describeColumns, arginfo_phalcon_db_dialect_mysql_describecolumns, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, listTables, arginfo_phalcon_db_dialect_mysql_listtables, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, describeIndexes, arginfo_phalcon_db_dialect_mysql_describeindexes, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, describeReferences, arginfo_phalcon_db_dialect_mysql_describereferences, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Mysql, tableOptions, arginfo_phalcon_db_dialect_mysql_tableoptions, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_db_dialect_sqlite_method_entry){ + PHP_ME(Phalcon_Db_Dialect_Sqlite, getColumnDefinition, arginfo_phalcon_db_dialect_sqlite_getcolumndefinition, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, addColumn, arginfo_phalcon_db_dialect_sqlite_addcolumn, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, modifyColumn, arginfo_phalcon_db_dialect_sqlite_modifycolumn, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, dropColumn, arginfo_phalcon_db_dialect_sqlite_dropcolumn, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, addIndex, arginfo_phalcon_db_dialect_sqlite_addindex, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, dropIndex, arginfo_phalcon_db_dialect_sqlite_dropindex, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, addPrimaryKey, arginfo_phalcon_db_dialect_sqlite_addprimarykey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, dropPrimaryKey, arginfo_phalcon_db_dialect_sqlite_dropprimarykey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, addForeignKey, arginfo_phalcon_db_dialect_sqlite_addforeignkey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, dropForeignKey, arginfo_phalcon_db_dialect_sqlite_dropforeignkey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, _getTableOptions, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Db_Dialect_Sqlite, createTable, arginfo_phalcon_db_dialect_sqlite_createtable, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, dropTable, arginfo_phalcon_db_dialect_sqlite_droptable, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, tableExists, arginfo_phalcon_db_dialect_sqlite_tableexists, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, describeColumns, arginfo_phalcon_db_dialect_sqlite_describecolumns, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, listTables, arginfo_phalcon_db_dialect_sqlite_listtables, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, describeIndexes, arginfo_phalcon_db_dialect_sqlite_describeindexes, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, describeIndex, arginfo_phalcon_db_dialect_sqlite_describeindex, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, describeReferences, arginfo_phalcon_db_dialect_sqlite_describereferences, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Sqlite, tableOptions, arginfo_phalcon_db_dialect_sqlite_tableoptions, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_db_dialect_sqlite_ce; +zend_class_entry *phalcon_db_dialect_mysql_ce; -PHALCON_INIT_CLASS(Phalcon_Db_Dialect_Sqlite); +PHALCON_INIT_CLASS(Phalcon_Db_Dialect_Mysql); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, getColumnDefinition); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addColumn); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, modifyColumn); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropColumn); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addIndex); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropIndex); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addPrimaryKey); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropPrimaryKey); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, addForeignKey); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropForeignKey); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, _getTableOptions); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, createTable); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, dropTable); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, tableExists); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeColumns); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, listTables); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeIndexes); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeIndex); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, describeReferences); -PHP_METHOD(Phalcon_Db_Dialect_Sqlite, tableOptions); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, getColumnDefinition); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, addColumn); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, modifyColumn); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropColumn); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, addIndex); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropIndex); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, addPrimaryKey); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropPrimaryKey); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, addForeignKey); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropForeignKey); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, _getTableOptions); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, createTable); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, dropTable); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, tableExists); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, describeColumns); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, listTables); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, describeIndexes); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, describeReferences); +PHP_METHOD(Phalcon_Db_Dialect_Mysql, tableOptions); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_getcolumndefinition, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_getcolumndefinition, 0, 0, 1) ZEND_ARG_INFO(0, column) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addcolumn, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addcolumn, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, column) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_modifycolumn, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_modifycolumn, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, column) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropcolumn, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropcolumn, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, columnName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addindex, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addindex, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropindex, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropindex, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, indexName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addprimarykey, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addprimarykey, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, index) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropprimarykey, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropprimarykey, 0, 0, 2) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_addforeignkey, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_addforeignkey, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, reference) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_dropforeignkey, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_dropforeignkey, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, referenceName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_createtable, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_createtable, 0, 0, 3) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, definition) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_droptable, 0, 0, 2) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_droptable, 0, 0, 2) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_ARG_INFO(0, ifExists) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_tableexists, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_tableexists, 0, 0, 1) ZEND_ARG_INFO(0, tableName) ZEND_ARG_INFO(0, schemaName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describecolumns, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_describecolumns, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_listtables, 0, 0, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_listtables, 0, 0, 0) ZEND_ARG_INFO(0, schemaName) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describeindexes, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_describeindexes, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describeindex, 0, 0, 1) - ZEND_ARG_INFO(0, indexName) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_describereferences, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_describereferences, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_sqlite_tableoptions, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_dialect_mysql_tableoptions, 0, 0, 1) ZEND_ARG_INFO(0, table) ZEND_ARG_INFO(0, schema) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_db_dialect_sqlite_method_entry){ - PHP_ME(Phalcon_Db_Dialect_Sqlite, getColumnDefinition, arginfo_phalcon_db_dialect_sqlite_getcolumndefinition, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, addColumn, arginfo_phalcon_db_dialect_sqlite_addcolumn, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, modifyColumn, arginfo_phalcon_db_dialect_sqlite_modifycolumn, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, dropColumn, arginfo_phalcon_db_dialect_sqlite_dropcolumn, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, addIndex, arginfo_phalcon_db_dialect_sqlite_addindex, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, dropIndex, arginfo_phalcon_db_dialect_sqlite_dropindex, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, addPrimaryKey, arginfo_phalcon_db_dialect_sqlite_addprimarykey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, dropPrimaryKey, arginfo_phalcon_db_dialect_sqlite_dropprimarykey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, addForeignKey, arginfo_phalcon_db_dialect_sqlite_addforeignkey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, dropForeignKey, arginfo_phalcon_db_dialect_sqlite_dropforeignkey, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, _getTableOptions, NULL, ZEND_ACC_PROTECTED) - PHP_ME(Phalcon_Db_Dialect_Sqlite, createTable, arginfo_phalcon_db_dialect_sqlite_createtable, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, dropTable, arginfo_phalcon_db_dialect_sqlite_droptable, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, tableExists, arginfo_phalcon_db_dialect_sqlite_tableexists, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, describeColumns, arginfo_phalcon_db_dialect_sqlite_describecolumns, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, listTables, arginfo_phalcon_db_dialect_sqlite_listtables, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, describeIndexes, arginfo_phalcon_db_dialect_sqlite_describeindexes, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, describeIndex, arginfo_phalcon_db_dialect_sqlite_describeindex, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, describeReferences, arginfo_phalcon_db_dialect_sqlite_describereferences, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_Dialect_Sqlite, tableOptions, arginfo_phalcon_db_dialect_sqlite_tableoptions, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_db_dialect_mysql_method_entry){ + PHP_ME(Phalcon_Db_Dialect_Mysql, getColumnDefinition, arginfo_phalcon_db_dialect_mysql_getcolumndefinition, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, addColumn, arginfo_phalcon_db_dialect_mysql_addcolumn, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, modifyColumn, arginfo_phalcon_db_dialect_mysql_modifycolumn, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, dropColumn, arginfo_phalcon_db_dialect_mysql_dropcolumn, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, addIndex, arginfo_phalcon_db_dialect_mysql_addindex, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, dropIndex, arginfo_phalcon_db_dialect_mysql_dropindex, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, addPrimaryKey, arginfo_phalcon_db_dialect_mysql_addprimarykey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, dropPrimaryKey, arginfo_phalcon_db_dialect_mysql_dropprimarykey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, addForeignKey, arginfo_phalcon_db_dialect_mysql_addforeignkey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, dropForeignKey, arginfo_phalcon_db_dialect_mysql_dropforeignkey, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, _getTableOptions, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Db_Dialect_Mysql, createTable, arginfo_phalcon_db_dialect_mysql_createtable, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, dropTable, arginfo_phalcon_db_dialect_mysql_droptable, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, tableExists, arginfo_phalcon_db_dialect_mysql_tableexists, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, describeColumns, arginfo_phalcon_db_dialect_mysql_describecolumns, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, listTables, arginfo_phalcon_db_dialect_mysql_listtables, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, describeIndexes, arginfo_phalcon_db_dialect_mysql_describeindexes, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, describeReferences, arginfo_phalcon_db_dialect_mysql_describereferences, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_Dialect_Mysql, tableOptions, arginfo_phalcon_db_dialect_mysql_tableoptions, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -6371,6 +6441,27 @@ PHALCON_INIT_FUNCS(phalcon_db_profiler_item_method_entry){ +zend_class_entry *phalcon_db_rawvalue_ce; + +PHALCON_INIT_CLASS(Phalcon_Db_RawValue); + +PHP_METHOD(Phalcon_Db_RawValue, __construct); +PHP_METHOD(Phalcon_Db_RawValue, getValue); +PHP_METHOD(Phalcon_Db_RawValue, __toString); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_rawvalue___construct, 0, 0, 1) + ZEND_ARG_INFO(0, value) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_db_rawvalue_method_entry){ + PHP_ME(Phalcon_Db_RawValue, __construct, arginfo_phalcon_db_rawvalue___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Db_RawValue, getValue, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Db_RawValue, __toString, NULL, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_db_reference_ce; PHALCON_INIT_CLASS(Phalcon_Db_Reference); @@ -6407,27 +6498,6 @@ PHALCON_INIT_FUNCS(phalcon_db_reference_method_entry){ -zend_class_entry *phalcon_db_rawvalue_ce; - -PHALCON_INIT_CLASS(Phalcon_Db_RawValue); - -PHP_METHOD(Phalcon_Db_RawValue, __construct); -PHP_METHOD(Phalcon_Db_RawValue, getValue); -PHP_METHOD(Phalcon_Db_RawValue, __toString); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_rawvalue___construct, 0, 0, 1) - ZEND_ARG_INFO(0, value) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_db_rawvalue_method_entry){ - PHP_ME(Phalcon_Db_RawValue, __construct, arginfo_phalcon_db_rawvalue___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Db_RawValue, getValue, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Db_RawValue, __toString, NULL, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_db_result_pdo_ce; PHALCON_INIT_CLASS(Phalcon_Db_Result_Pdo); @@ -7094,6 +7164,11 @@ PHALCON_INIT_FUNCS(phalcon_flash_direct_method_entry){ +zend_class_entry *phalcon_flash_exception_ce; + +PHALCON_INIT_CLASS(Phalcon_Flash_Exception); + + zend_class_entry *phalcon_flash_session_ce; PHALCON_INIT_CLASS(Phalcon_Flash_Session); @@ -7137,11 +7212,6 @@ PHALCON_INIT_FUNCS(phalcon_flash_session_method_entry){ -zend_class_entry *phalcon_flash_exception_ce; - -PHALCON_INIT_CLASS(Phalcon_Flash_Exception); - - zend_class_entry *phalcon_cli_task_ce; PHALCON_INIT_CLASS(Phalcon_CLI_Task); @@ -7361,37 +7431,6 @@ PHALCON_INIT_FUNCS(phalcon_annotations_adapter_apc_method_entry){ -zend_class_entry *phalcon_annotations_reflection_ce; - -PHALCON_INIT_CLASS(Phalcon_Annotations_Reflection); - -PHP_METHOD(Phalcon_Annotations_Reflection, __construct); -PHP_METHOD(Phalcon_Annotations_Reflection, getClassAnnotations); -PHP_METHOD(Phalcon_Annotations_Reflection, getMethodsAnnotations); -PHP_METHOD(Phalcon_Annotations_Reflection, getPropertiesAnnotations); -PHP_METHOD(Phalcon_Annotations_Reflection, getReflectionData); -PHP_METHOD(Phalcon_Annotations_Reflection, __set_state); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_reflection___construct, 0, 0, 0) - ZEND_ARG_INFO(0, reflectionData) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_reflection___set_state, 0, 0, 1) - ZEND_ARG_INFO(0, data) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_annotations_reflection_method_entry){ - PHP_ME(Phalcon_Annotations_Reflection, __construct, arginfo_phalcon_annotations_reflection___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Annotations_Reflection, getClassAnnotations, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Reflection, getMethodsAnnotations, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Reflection, getPropertiesAnnotations, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Reflection, getReflectionData, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Annotations_Reflection, __set_state, arginfo_phalcon_annotations_reflection___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_annotations_annotation_ce; PHALCON_INIT_CLASS(Phalcon_Annotations_Annotation); @@ -7447,6 +7486,37 @@ PHALCON_INIT_FUNCS(phalcon_annotations_annotation_method_entry){ +zend_class_entry *phalcon_annotations_reflection_ce; + +PHALCON_INIT_CLASS(Phalcon_Annotations_Reflection); + +PHP_METHOD(Phalcon_Annotations_Reflection, __construct); +PHP_METHOD(Phalcon_Annotations_Reflection, getClassAnnotations); +PHP_METHOD(Phalcon_Annotations_Reflection, getMethodsAnnotations); +PHP_METHOD(Phalcon_Annotations_Reflection, getPropertiesAnnotations); +PHP_METHOD(Phalcon_Annotations_Reflection, getReflectionData); +PHP_METHOD(Phalcon_Annotations_Reflection, __set_state); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_reflection___construct, 0, 0, 0) + ZEND_ARG_INFO(0, reflectionData) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_reflection___set_state, 0, 0, 1) + ZEND_ARG_INFO(0, data) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_annotations_reflection_method_entry){ + PHP_ME(Phalcon_Annotations_Reflection, __construct, arginfo_phalcon_annotations_reflection___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Annotations_Reflection, getClassAnnotations, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Reflection, getMethodsAnnotations, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Reflection, getPropertiesAnnotations, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Reflection, getReflectionData, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Annotations_Reflection, __set_state, arginfo_phalcon_annotations_reflection___set_state, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_annotations_collection_ce; PHALCON_INIT_CLASS(Phalcon_Annotations_Collection); @@ -7544,6 +7614,11 @@ PHALCON_INIT_FUNCS(phalcon_annotations_adapter_memory_method_entry){ +zend_class_entry *phalcon_logger_ce; + +PHALCON_INIT_CLASS(Phalcon_Logger); + + zend_class_entry *phalcon_loader_ce; PHALCON_INIT_CLASS(Phalcon_Loader); @@ -7623,11 +7698,6 @@ PHALCON_INIT_FUNCS(phalcon_loader_method_entry){ -zend_class_entry *phalcon_logger_ce; - -PHALCON_INIT_CLASS(Phalcon_Logger); - - zend_class_entry *phalcon_loader_exception_ce; PHALCON_INIT_CLASS(Phalcon_Loader_Exception); @@ -7739,48 +7809,6 @@ zend_class_entry *phalcon_logger_exception_ce; PHALCON_INIT_CLASS(Phalcon_Logger_Exception); -zend_class_entry *phalcon_logger_formatter_line_ce; - -PHALCON_INIT_CLASS(Phalcon_Logger_Formatter_Line); - -PHP_METHOD(Phalcon_Logger_Formatter_Line, __construct); -PHP_METHOD(Phalcon_Logger_Formatter_Line, setFormat); -PHP_METHOD(Phalcon_Logger_Formatter_Line, getFormat); -PHP_METHOD(Phalcon_Logger_Formatter_Line, setDateFormat); -PHP_METHOD(Phalcon_Logger_Formatter_Line, getDateFormat); -PHP_METHOD(Phalcon_Logger_Formatter_Line, format); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line___construct, 0, 0, 0) - ZEND_ARG_INFO(0, format) - ZEND_ARG_INFO(0, dateFormat) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line_setformat, 0, 0, 1) - ZEND_ARG_INFO(0, format) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line_setdateformat, 0, 0, 1) - ZEND_ARG_INFO(0, date) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line_format, 0, 0, 3) - ZEND_ARG_INFO(0, message) - ZEND_ARG_INFO(0, type) - ZEND_ARG_INFO(0, timestamp) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_logger_formatter_line_method_entry){ - PHP_ME(Phalcon_Logger_Formatter_Line, __construct, arginfo_phalcon_logger_formatter_line___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Logger_Formatter_Line, setFormat, arginfo_phalcon_logger_formatter_line_setformat, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Formatter_Line, getFormat, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Formatter_Line, setDateFormat, arginfo_phalcon_logger_formatter_line_setdateformat, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Formatter_Line, getDateFormat, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Formatter_Line, format, arginfo_phalcon_logger_formatter_line_format, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_logger_formatter_json_ce; PHALCON_INIT_CLASS(Phalcon_Logger_Formatter_Json); @@ -7800,63 +7828,63 @@ PHALCON_INIT_FUNCS(phalcon_logger_formatter_json_method_entry){ -zend_class_entry *phalcon_logger_adapter_file_ce; +zend_class_entry *phalcon_logger_adapter_syslog_ce; -PHALCON_INIT_CLASS(Phalcon_Logger_Adapter_File); +PHALCON_INIT_CLASS(Phalcon_Logger_Adapter_Syslog); -PHP_METHOD(Phalcon_Logger_Adapter_File, __construct); -PHP_METHOD(Phalcon_Logger_Adapter_File, getFormatter); -PHP_METHOD(Phalcon_Logger_Adapter_File, logInternal); -PHP_METHOD(Phalcon_Logger_Adapter_File, close); -PHP_METHOD(Phalcon_Logger_Adapter_File, __wakeup); +PHP_METHOD(Phalcon_Logger_Adapter_Syslog, __construct); +PHP_METHOD(Phalcon_Logger_Adapter_Syslog, getFormatter); +PHP_METHOD(Phalcon_Logger_Adapter_Syslog, logInternal); +PHP_METHOD(Phalcon_Logger_Adapter_Syslog, close); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_file___construct, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_syslog___construct, 0, 0, 1) ZEND_ARG_INFO(0, name) ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_file_loginternal, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_syslog_loginternal, 0, 0, 3) ZEND_ARG_INFO(0, message) ZEND_ARG_INFO(0, type) ZEND_ARG_INFO(0, time) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_logger_adapter_file_method_entry){ - PHP_ME(Phalcon_Logger_Adapter_File, __construct, arginfo_phalcon_logger_adapter_file___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Logger_Adapter_File, getFormatter, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter_File, logInternal, arginfo_phalcon_logger_adapter_file_loginternal, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter_File, close, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter_File, __wakeup, NULL, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_logger_adapter_syslog_method_entry){ + PHP_ME(Phalcon_Logger_Adapter_Syslog, __construct, arginfo_phalcon_logger_adapter_syslog___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Logger_Adapter_Syslog, getFormatter, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter_Syslog, logInternal, arginfo_phalcon_logger_adapter_syslog_loginternal, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter_Syslog, close, NULL, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_logger_adapter_syslog_ce; - -PHALCON_INIT_CLASS(Phalcon_Logger_Adapter_Syslog); +zend_class_entry *phalcon_logger_adapter_file_ce; -PHP_METHOD(Phalcon_Logger_Adapter_Syslog, __construct); -PHP_METHOD(Phalcon_Logger_Adapter_Syslog, getFormatter); -PHP_METHOD(Phalcon_Logger_Adapter_Syslog, logInternal); -PHP_METHOD(Phalcon_Logger_Adapter_Syslog, close); +PHALCON_INIT_CLASS(Phalcon_Logger_Adapter_File); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_syslog___construct, 0, 0, 1) +PHP_METHOD(Phalcon_Logger_Adapter_File, __construct); +PHP_METHOD(Phalcon_Logger_Adapter_File, getFormatter); +PHP_METHOD(Phalcon_Logger_Adapter_File, logInternal); +PHP_METHOD(Phalcon_Logger_Adapter_File, close); +PHP_METHOD(Phalcon_Logger_Adapter_File, __wakeup); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_file___construct, 0, 0, 1) ZEND_ARG_INFO(0, name) ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_syslog_loginternal, 0, 0, 3) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_adapter_file_loginternal, 0, 0, 3) ZEND_ARG_INFO(0, message) ZEND_ARG_INFO(0, type) ZEND_ARG_INFO(0, time) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_logger_adapter_syslog_method_entry){ - PHP_ME(Phalcon_Logger_Adapter_Syslog, __construct, arginfo_phalcon_logger_adapter_syslog___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Logger_Adapter_Syslog, getFormatter, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter_Syslog, logInternal, arginfo_phalcon_logger_adapter_syslog_loginternal, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Logger_Adapter_Syslog, close, NULL, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_logger_adapter_file_method_entry){ + PHP_ME(Phalcon_Logger_Adapter_File, __construct, arginfo_phalcon_logger_adapter_file___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Logger_Adapter_File, getFormatter, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter_File, logInternal, arginfo_phalcon_logger_adapter_file_loginternal, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter_File, close, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Adapter_File, __wakeup, NULL, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -7892,6 +7920,48 @@ PHALCON_INIT_FUNCS(phalcon_logger_adapter_stream_method_entry){ +zend_class_entry *phalcon_logger_formatter_line_ce; + +PHALCON_INIT_CLASS(Phalcon_Logger_Formatter_Line); + +PHP_METHOD(Phalcon_Logger_Formatter_Line, __construct); +PHP_METHOD(Phalcon_Logger_Formatter_Line, setFormat); +PHP_METHOD(Phalcon_Logger_Formatter_Line, getFormat); +PHP_METHOD(Phalcon_Logger_Formatter_Line, setDateFormat); +PHP_METHOD(Phalcon_Logger_Formatter_Line, getDateFormat); +PHP_METHOD(Phalcon_Logger_Formatter_Line, format); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line___construct, 0, 0, 0) + ZEND_ARG_INFO(0, format) + ZEND_ARG_INFO(0, dateFormat) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line_setformat, 0, 0, 1) + ZEND_ARG_INFO(0, format) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line_setdateformat, 0, 0, 1) + ZEND_ARG_INFO(0, date) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_logger_formatter_line_format, 0, 0, 3) + ZEND_ARG_INFO(0, message) + ZEND_ARG_INFO(0, type) + ZEND_ARG_INFO(0, timestamp) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_logger_formatter_line_method_entry){ + PHP_ME(Phalcon_Logger_Formatter_Line, __construct, arginfo_phalcon_logger_formatter_line___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Logger_Formatter_Line, setFormat, arginfo_phalcon_logger_formatter_line_setformat, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Formatter_Line, getFormat, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Formatter_Line, setDateFormat, arginfo_phalcon_logger_formatter_line_setdateformat, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Formatter_Line, getDateFormat, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Logger_Formatter_Line, format, arginfo_phalcon_logger_formatter_line_format, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_logger_formatter_syslog_ce; PHALCON_INIT_CLASS(Phalcon_Logger_Formatter_Syslog); @@ -7911,6 +7981,11 @@ PHALCON_INIT_FUNCS(phalcon_logger_formatter_syslog_method_entry){ +zend_class_entry *phalcon_config_exception_ce; + +PHALCON_INIT_CLASS(Phalcon_Config_Exception); + + zend_class_entry *phalcon_config_adapter_ini_ce; PHALCON_INIT_CLASS(Phalcon_Config_Adapter_Ini); @@ -7928,24 +8003,35 @@ PHALCON_INIT_FUNCS(phalcon_config_adapter_ini_method_entry){ -zend_class_entry *phalcon_config_exception_ce; - -PHALCON_INIT_CLASS(Phalcon_Config_Exception); - - zend_class_entry *phalcon_forms_form_ce; PHALCON_INIT_CLASS(Phalcon_Forms_Form); PHP_METHOD(Phalcon_Forms_Form, __construct); PHP_METHOD(Phalcon_Forms_Form, isValid); +PHP_METHOD(Phalcon_Forms_Form, getMessages); +PHP_METHOD(Phalcon_Forms_Form, getMessagesFor); PHP_METHOD(Phalcon_Forms_Form, add); PHP_METHOD(Phalcon_Forms_Form, render); +PHP_METHOD(Phalcon_Forms_Form, get); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form___construct, 0, 0, 0) + ZEND_ARG_INFO(0, entity) +ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form___construct, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form_isvalid, 0, 0, 0) + ZEND_ARG_INFO(0, data) ZEND_ARG_INFO(0, entity) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form_getmessages, 0, 0, 0) + ZEND_ARG_INFO(0, byItemName) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form_getmessagesfor, 0, 0, 1) + ZEND_ARG_INFO(0, name) +ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form_add, 0, 0, 1) ZEND_ARG_INFO(0, element) ZEND_END_ARG_INFO() @@ -7955,11 +8041,18 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form_render, 0, 0, 1) ZEND_ARG_INFO(0, attributes) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_form_get, 0, 0, 1) + ZEND_ARG_INFO(0, name) +ZEND_END_ARG_INFO() + PHALCON_INIT_FUNCS(phalcon_forms_form_method_entry){ PHP_ME(Phalcon_Forms_Form, __construct, arginfo_phalcon_forms_form___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Forms_Form, isValid, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Form, isValid, arginfo_phalcon_forms_form_isvalid, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Form, getMessages, arginfo_phalcon_forms_form_getmessages, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Form, getMessagesFor, arginfo_phalcon_forms_form_getmessagesfor, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Forms_Form, add, arginfo_phalcon_forms_form_add, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Forms_Form, render, arginfo_phalcon_forms_form_render, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Forms_Form, get, arginfo_phalcon_forms_form_get, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -8004,6 +8097,23 @@ PHALCON_INIT_FUNCS(phalcon_forms_element_text_method_entry){ +zend_class_entry *phalcon_forms_element_password_ce; + +PHALCON_INIT_CLASS(Phalcon_Forms_Element_Password); + +PHP_METHOD(Phalcon_Forms_Element_Password, render); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_forms_element_password_render, 0, 0, 0) + ZEND_ARG_INFO(0, attributes) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_forms_element_password_method_entry){ + PHP_ME(Phalcon_Forms_Element_Password, render, arginfo_phalcon_forms_element_password_render, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_translate_ce; PHALCON_INIT_CLASS(Phalcon_Translate); @@ -8574,275 +8684,66 @@ PHP_METHOD(Phalcon_Queue_Beanstalk, peekReady); PHP_METHOD(Phalcon_Queue_Beanstalk, readStatus); PHP_METHOD(Phalcon_Queue_Beanstalk, read); PHP_METHOD(Phalcon_Queue_Beanstalk, write); -PHP_METHOD(Phalcon_Queue_Beanstalk, disconnect); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk___construct, 0, 0, 0) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_put, 0, 0, 1) - ZEND_ARG_INFO(0, data) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_reserve, 0, 0, 0) - ZEND_ARG_INFO(0, timeout) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_choose, 0, 0, 1) - ZEND_ARG_INFO(0, tube) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_watch, 0, 0, 1) - ZEND_ARG_INFO(0, tube) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_read, 0, 0, 0) - ZEND_ARG_INFO(0, length) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_queue_beanstalk_method_entry){ - PHP_ME(Phalcon_Queue_Beanstalk, __construct, arginfo_phalcon_queue_beanstalk___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Queue_Beanstalk, connect, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Queue_Beanstalk, put, arginfo_phalcon_queue_beanstalk_put, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Queue_Beanstalk, reserve, arginfo_phalcon_queue_beanstalk_reserve, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Queue_Beanstalk, choose, arginfo_phalcon_queue_beanstalk_choose, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Queue_Beanstalk, watch, arginfo_phalcon_queue_beanstalk_watch, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Queue_Beanstalk, peekReady, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Queue_Beanstalk, readStatus, NULL, ZEND_ACC_PROTECTED) - PHP_ME(Phalcon_Queue_Beanstalk, read, arginfo_phalcon_queue_beanstalk_read, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Queue_Beanstalk, write, NULL, ZEND_ACC_PROTECTED) - PHP_ME(Phalcon_Queue_Beanstalk, disconnect, NULL, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - -zend_class_entry *phalcon_queue_beanstalk_job_ce; - -PHALCON_INIT_CLASS(Phalcon_Queue_Beanstalk_Job); - -PHP_METHOD(Phalcon_Queue_Beanstalk_Job, __construct); -PHP_METHOD(Phalcon_Queue_Beanstalk_Job, delete); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_job___construct, 0, 0, 3) - ZEND_ARG_INFO(0, queue) - ZEND_ARG_INFO(0, id) - ZEND_ARG_INFO(0, body) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_queue_beanstalk_job_method_entry){ - PHP_ME(Phalcon_Queue_Beanstalk_Job, __construct, arginfo_phalcon_queue_beanstalk_job___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Queue_Beanstalk_Job, delete, NULL, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - -zend_class_entry *phalcon_mvc_view_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_View); - -PHP_METHOD(Phalcon_Mvc_View, __construct); -PHP_METHOD(Phalcon_Mvc_View, setViewsDir); -PHP_METHOD(Phalcon_Mvc_View, getViewsDir); -PHP_METHOD(Phalcon_Mvc_View, setLayoutsDir); -PHP_METHOD(Phalcon_Mvc_View, getLayoutsDir); -PHP_METHOD(Phalcon_Mvc_View, setPartialsDir); -PHP_METHOD(Phalcon_Mvc_View, getPartialsDir); -PHP_METHOD(Phalcon_Mvc_View, setBasePath); -PHP_METHOD(Phalcon_Mvc_View, setRenderLevel); -PHP_METHOD(Phalcon_Mvc_View, disableLevel); -PHP_METHOD(Phalcon_Mvc_View, setMainView); -PHP_METHOD(Phalcon_Mvc_View, getMainView); -PHP_METHOD(Phalcon_Mvc_View, setLayout); -PHP_METHOD(Phalcon_Mvc_View, getLayout); -PHP_METHOD(Phalcon_Mvc_View, setTemplateBefore); -PHP_METHOD(Phalcon_Mvc_View, cleanTemplateBefore); -PHP_METHOD(Phalcon_Mvc_View, setTemplateAfter); -PHP_METHOD(Phalcon_Mvc_View, cleanTemplateAfter); -PHP_METHOD(Phalcon_Mvc_View, setParamToView); -PHP_METHOD(Phalcon_Mvc_View, setVars); -PHP_METHOD(Phalcon_Mvc_View, setVar); -PHP_METHOD(Phalcon_Mvc_View, getVar); -PHP_METHOD(Phalcon_Mvc_View, getParamsToView); -PHP_METHOD(Phalcon_Mvc_View, getControllerName); -PHP_METHOD(Phalcon_Mvc_View, getActionName); -PHP_METHOD(Phalcon_Mvc_View, getParams); -PHP_METHOD(Phalcon_Mvc_View, start); -PHP_METHOD(Phalcon_Mvc_View, _loadTemplateEngines); -PHP_METHOD(Phalcon_Mvc_View, _engineRender); -PHP_METHOD(Phalcon_Mvc_View, registerEngines); -PHP_METHOD(Phalcon_Mvc_View, render); -PHP_METHOD(Phalcon_Mvc_View, pick); -PHP_METHOD(Phalcon_Mvc_View, partial); -PHP_METHOD(Phalcon_Mvc_View, getRender); -PHP_METHOD(Phalcon_Mvc_View, finish); -PHP_METHOD(Phalcon_Mvc_View, _createCache); -PHP_METHOD(Phalcon_Mvc_View, isCaching); -PHP_METHOD(Phalcon_Mvc_View, getCache); -PHP_METHOD(Phalcon_Mvc_View, cache); -PHP_METHOD(Phalcon_Mvc_View, setContent); -PHP_METHOD(Phalcon_Mvc_View, getContent); -PHP_METHOD(Phalcon_Mvc_View, getActiveRenderPath); -PHP_METHOD(Phalcon_Mvc_View, disable); -PHP_METHOD(Phalcon_Mvc_View, enable); -PHP_METHOD(Phalcon_Mvc_View, reset); -PHP_METHOD(Phalcon_Mvc_View, __set); -PHP_METHOD(Phalcon_Mvc_View, __get); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view___construct, 0, 0, 0) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setviewsdir, 0, 0, 1) - ZEND_ARG_INFO(0, viewsDir) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setlayoutsdir, 0, 0, 1) - ZEND_ARG_INFO(0, layoutsDir) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setpartialsdir, 0, 0, 1) - ZEND_ARG_INFO(0, partialsDir) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setbasepath, 0, 0, 1) - ZEND_ARG_INFO(0, basePath) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setrenderlevel, 0, 0, 1) - ZEND_ARG_INFO(0, level) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_disablelevel, 0, 0, 1) - ZEND_ARG_INFO(0, level) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setmainview, 0, 0, 1) - ZEND_ARG_INFO(0, viewPath) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setlayout, 0, 0, 1) - ZEND_ARG_INFO(0, layout) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_settemplatebefore, 0, 0, 1) - ZEND_ARG_INFO(0, templateBefore) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_settemplateafter, 0, 0, 1) - ZEND_ARG_INFO(0, templateAfter) -ZEND_END_ARG_INFO() +PHP_METHOD(Phalcon_Queue_Beanstalk, disconnect); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setparamtoview, 0, 0, 2) - ZEND_ARG_INFO(0, key) - ZEND_ARG_INFO(0, value) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk___construct, 0, 0, 0) + ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setvars, 0, 0, 1) - ZEND_ARG_INFO(0, params) - ZEND_ARG_INFO(0, merge) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_put, 0, 0, 1) + ZEND_ARG_INFO(0, data) + ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setvar, 0, 0, 2) - ZEND_ARG_INFO(0, key) - ZEND_ARG_INFO(0, value) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_reserve, 0, 0, 0) + ZEND_ARG_INFO(0, timeout) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_getvar, 0, 0, 1) - ZEND_ARG_INFO(0, key) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_choose, 0, 0, 1) + ZEND_ARG_INFO(0, tube) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_registerengines, 0, 0, 1) - ZEND_ARG_INFO(0, engines) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_watch, 0, 0, 1) + ZEND_ARG_INFO(0, tube) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_render, 0, 0, 2) - ZEND_ARG_INFO(0, controllerName) - ZEND_ARG_INFO(0, actionName) - ZEND_ARG_INFO(0, params) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_read, 0, 0, 0) + ZEND_ARG_INFO(0, length) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_pick, 0, 0, 1) - ZEND_ARG_INFO(0, renderView) -ZEND_END_ARG_INFO() +PHALCON_INIT_FUNCS(phalcon_queue_beanstalk_method_entry){ + PHP_ME(Phalcon_Queue_Beanstalk, __construct, arginfo_phalcon_queue_beanstalk___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Queue_Beanstalk, connect, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Queue_Beanstalk, put, arginfo_phalcon_queue_beanstalk_put, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Queue_Beanstalk, reserve, arginfo_phalcon_queue_beanstalk_reserve, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Queue_Beanstalk, choose, arginfo_phalcon_queue_beanstalk_choose, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Queue_Beanstalk, watch, arginfo_phalcon_queue_beanstalk_watch, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Queue_Beanstalk, peekReady, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Queue_Beanstalk, readStatus, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Queue_Beanstalk, read, arginfo_phalcon_queue_beanstalk_read, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Queue_Beanstalk, write, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Queue_Beanstalk, disconnect, NULL, ZEND_ACC_PUBLIC) + PHP_FE_END +}; -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_partial, 0, 0, 1) - ZEND_ARG_INFO(0, partialPath) -ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_getrender, 0, 0, 2) - ZEND_ARG_INFO(0, controllerName) - ZEND_ARG_INFO(0, actionName) - ZEND_ARG_INFO(0, params) -ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_cache, 0, 0, 0) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() +zend_class_entry *phalcon_queue_beanstalk_job_ce; -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setcontent, 0, 0, 1) - ZEND_ARG_INFO(0, content) -ZEND_END_ARG_INFO() +PHALCON_INIT_CLASS(Phalcon_Queue_Beanstalk_Job); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view___set, 0, 0, 2) - ZEND_ARG_INFO(0, key) - ZEND_ARG_INFO(0, value) -ZEND_END_ARG_INFO() +PHP_METHOD(Phalcon_Queue_Beanstalk_Job, __construct); +PHP_METHOD(Phalcon_Queue_Beanstalk_Job, delete); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view___get, 0, 0, 1) - ZEND_ARG_INFO(0, key) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_beanstalk_job___construct, 0, 0, 3) + ZEND_ARG_INFO(0, queue) + ZEND_ARG_INFO(0, id) + ZEND_ARG_INFO(0, body) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_view_method_entry){ - PHP_ME(Phalcon_Mvc_View, __construct, arginfo_phalcon_mvc_view___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Mvc_View, setViewsDir, arginfo_phalcon_mvc_view_setviewsdir, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getViewsDir, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setLayoutsDir, arginfo_phalcon_mvc_view_setlayoutsdir, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getLayoutsDir, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setPartialsDir, arginfo_phalcon_mvc_view_setpartialsdir, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getPartialsDir, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setBasePath, arginfo_phalcon_mvc_view_setbasepath, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setRenderLevel, arginfo_phalcon_mvc_view_setrenderlevel, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, disableLevel, arginfo_phalcon_mvc_view_disablelevel, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setMainView, arginfo_phalcon_mvc_view_setmainview, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getMainView, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setLayout, arginfo_phalcon_mvc_view_setlayout, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getLayout, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setTemplateBefore, arginfo_phalcon_mvc_view_settemplatebefore, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, cleanTemplateBefore, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setTemplateAfter, arginfo_phalcon_mvc_view_settemplateafter, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, cleanTemplateAfter, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setParamToView, arginfo_phalcon_mvc_view_setparamtoview, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setVars, arginfo_phalcon_mvc_view_setvars, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setVar, arginfo_phalcon_mvc_view_setvar, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getVar, arginfo_phalcon_mvc_view_getvar, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getParamsToView, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getControllerName, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getActionName, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getParams, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, start, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, _loadTemplateEngines, NULL, ZEND_ACC_PROTECTED) - PHP_ME(Phalcon_Mvc_View, _engineRender, NULL, ZEND_ACC_PROTECTED) - PHP_ME(Phalcon_Mvc_View, registerEngines, arginfo_phalcon_mvc_view_registerengines, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, render, arginfo_phalcon_mvc_view_render, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, pick, arginfo_phalcon_mvc_view_pick, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, partial, arginfo_phalcon_mvc_view_partial, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getRender, arginfo_phalcon_mvc_view_getrender, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, finish, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, _createCache, NULL, ZEND_ACC_PROTECTED) - PHP_ME(Phalcon_Mvc_View, isCaching, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getCache, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, cache, arginfo_phalcon_mvc_view_cache, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, setContent, arginfo_phalcon_mvc_view_setcontent, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getContent, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, getActiveRenderPath, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, disable, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, enable, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, reset, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, __set, arginfo_phalcon_mvc_view___set, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_View, __get, arginfo_phalcon_mvc_view___get, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_queue_beanstalk_job_method_entry){ + PHP_ME(Phalcon_Queue_Beanstalk_Job, __construct, arginfo_phalcon_queue_beanstalk_job___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Queue_Beanstalk_Job, delete, NULL, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -9205,14 +9106,17 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_save, 0, 0, 0) ZEND_ARG_INFO(0, data) + ZEND_ARG_INFO(0, whiteList) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_create, 0, 0, 0) ZEND_ARG_INFO(0, data) + ZEND_ARG_INFO(0, whiteList) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_update, 0, 0, 0) ZEND_ARG_INFO(0, data) + ZEND_ARG_INFO(0, whiteList) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_skipoperation, 0, 0, 1) @@ -9365,48 +9269,257 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_method_entry){ -zend_class_entry *phalcon_mvc_url_ce; +zend_class_entry *phalcon_mvc_url_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Url); + +PHP_METHOD(Phalcon_Mvc_Url, setDI); +PHP_METHOD(Phalcon_Mvc_Url, getDI); +PHP_METHOD(Phalcon_Mvc_Url, setBaseUri); +PHP_METHOD(Phalcon_Mvc_Url, getBaseUri); +PHP_METHOD(Phalcon_Mvc_Url, setBasePath); +PHP_METHOD(Phalcon_Mvc_Url, getBasePath); +PHP_METHOD(Phalcon_Mvc_Url, get); +PHP_METHOD(Phalcon_Mvc_Url, path); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_setdi, 0, 0, 1) + ZEND_ARG_INFO(0, dependencyInjector) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_setbaseuri, 0, 0, 1) + ZEND_ARG_INFO(0, baseUri) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_setbasepath, 0, 0, 1) + ZEND_ARG_INFO(0, basePath) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_get, 0, 0, 0) + ZEND_ARG_INFO(0, uri) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_path, 0, 0, 0) + ZEND_ARG_INFO(0, path) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_url_method_entry){ + PHP_ME(Phalcon_Mvc_Url, setDI, arginfo_phalcon_mvc_url_setdi, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Url, getDI, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Url, setBaseUri, arginfo_phalcon_mvc_url_setbaseuri, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Url, getBaseUri, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Url, setBasePath, arginfo_phalcon_mvc_url_setbasepath, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Url, getBasePath, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Url, get, arginfo_phalcon_mvc_url_get, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Url, path, arginfo_phalcon_mvc_url_path, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + +zend_class_entry *phalcon_mvc_view_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_View); + +PHP_METHOD(Phalcon_Mvc_View, __construct); +PHP_METHOD(Phalcon_Mvc_View, setViewsDir); +PHP_METHOD(Phalcon_Mvc_View, getViewsDir); +PHP_METHOD(Phalcon_Mvc_View, setLayoutsDir); +PHP_METHOD(Phalcon_Mvc_View, getLayoutsDir); +PHP_METHOD(Phalcon_Mvc_View, setPartialsDir); +PHP_METHOD(Phalcon_Mvc_View, getPartialsDir); +PHP_METHOD(Phalcon_Mvc_View, setBasePath); +PHP_METHOD(Phalcon_Mvc_View, setRenderLevel); +PHP_METHOD(Phalcon_Mvc_View, disableLevel); +PHP_METHOD(Phalcon_Mvc_View, setMainView); +PHP_METHOD(Phalcon_Mvc_View, getMainView); +PHP_METHOD(Phalcon_Mvc_View, setLayout); +PHP_METHOD(Phalcon_Mvc_View, getLayout); +PHP_METHOD(Phalcon_Mvc_View, setTemplateBefore); +PHP_METHOD(Phalcon_Mvc_View, cleanTemplateBefore); +PHP_METHOD(Phalcon_Mvc_View, setTemplateAfter); +PHP_METHOD(Phalcon_Mvc_View, cleanTemplateAfter); +PHP_METHOD(Phalcon_Mvc_View, setParamToView); +PHP_METHOD(Phalcon_Mvc_View, setVars); +PHP_METHOD(Phalcon_Mvc_View, setVar); +PHP_METHOD(Phalcon_Mvc_View, getVar); +PHP_METHOD(Phalcon_Mvc_View, getParamsToView); +PHP_METHOD(Phalcon_Mvc_View, getControllerName); +PHP_METHOD(Phalcon_Mvc_View, getActionName); +PHP_METHOD(Phalcon_Mvc_View, getParams); +PHP_METHOD(Phalcon_Mvc_View, start); +PHP_METHOD(Phalcon_Mvc_View, _loadTemplateEngines); +PHP_METHOD(Phalcon_Mvc_View, _engineRender); +PHP_METHOD(Phalcon_Mvc_View, registerEngines); +PHP_METHOD(Phalcon_Mvc_View, render); +PHP_METHOD(Phalcon_Mvc_View, pick); +PHP_METHOD(Phalcon_Mvc_View, partial); +PHP_METHOD(Phalcon_Mvc_View, getRender); +PHP_METHOD(Phalcon_Mvc_View, finish); +PHP_METHOD(Phalcon_Mvc_View, _createCache); +PHP_METHOD(Phalcon_Mvc_View, isCaching); +PHP_METHOD(Phalcon_Mvc_View, getCache); +PHP_METHOD(Phalcon_Mvc_View, cache); +PHP_METHOD(Phalcon_Mvc_View, setContent); +PHP_METHOD(Phalcon_Mvc_View, getContent); +PHP_METHOD(Phalcon_Mvc_View, getActiveRenderPath); +PHP_METHOD(Phalcon_Mvc_View, disable); +PHP_METHOD(Phalcon_Mvc_View, enable); +PHP_METHOD(Phalcon_Mvc_View, reset); +PHP_METHOD(Phalcon_Mvc_View, __set); +PHP_METHOD(Phalcon_Mvc_View, __get); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view___construct, 0, 0, 0) + ZEND_ARG_INFO(0, options) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setviewsdir, 0, 0, 1) + ZEND_ARG_INFO(0, viewsDir) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setlayoutsdir, 0, 0, 1) + ZEND_ARG_INFO(0, layoutsDir) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setpartialsdir, 0, 0, 1) + ZEND_ARG_INFO(0, partialsDir) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setbasepath, 0, 0, 1) + ZEND_ARG_INFO(0, basePath) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setrenderlevel, 0, 0, 1) + ZEND_ARG_INFO(0, level) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_disablelevel, 0, 0, 1) + ZEND_ARG_INFO(0, level) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setmainview, 0, 0, 1) + ZEND_ARG_INFO(0, viewPath) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setlayout, 0, 0, 1) + ZEND_ARG_INFO(0, layout) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_settemplatebefore, 0, 0, 1) + ZEND_ARG_INFO(0, templateBefore) +ZEND_END_ARG_INFO() -PHALCON_INIT_CLASS(Phalcon_Mvc_Url); +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_settemplateafter, 0, 0, 1) + ZEND_ARG_INFO(0, templateAfter) +ZEND_END_ARG_INFO() -PHP_METHOD(Phalcon_Mvc_Url, setDI); -PHP_METHOD(Phalcon_Mvc_Url, getDI); -PHP_METHOD(Phalcon_Mvc_Url, setBaseUri); -PHP_METHOD(Phalcon_Mvc_Url, getBaseUri); -PHP_METHOD(Phalcon_Mvc_Url, setBasePath); -PHP_METHOD(Phalcon_Mvc_Url, getBasePath); -PHP_METHOD(Phalcon_Mvc_Url, get); -PHP_METHOD(Phalcon_Mvc_Url, path); +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setparamtoview, 0, 0, 2) + ZEND_ARG_INFO(0, key) + ZEND_ARG_INFO(0, value) +ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_setdi, 0, 0, 1) - ZEND_ARG_INFO(0, dependencyInjector) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setvars, 0, 0, 1) + ZEND_ARG_INFO(0, params) + ZEND_ARG_INFO(0, merge) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_setbaseuri, 0, 0, 1) - ZEND_ARG_INFO(0, baseUri) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setvar, 0, 0, 2) + ZEND_ARG_INFO(0, key) + ZEND_ARG_INFO(0, value) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_setbasepath, 0, 0, 1) - ZEND_ARG_INFO(0, basePath) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_getvar, 0, 0, 1) + ZEND_ARG_INFO(0, key) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_get, 0, 0, 0) - ZEND_ARG_INFO(0, uri) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_registerengines, 0, 0, 1) + ZEND_ARG_INFO(0, engines) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_url_path, 0, 0, 0) - ZEND_ARG_INFO(0, path) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_render, 0, 0, 2) + ZEND_ARG_INFO(0, controllerName) + ZEND_ARG_INFO(0, actionName) + ZEND_ARG_INFO(0, params) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_url_method_entry){ - PHP_ME(Phalcon_Mvc_Url, setDI, arginfo_phalcon_mvc_url_setdi, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Url, getDI, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Url, setBaseUri, arginfo_phalcon_mvc_url_setbaseuri, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Url, getBaseUri, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Url, setBasePath, arginfo_phalcon_mvc_url_setbasepath, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Url, getBasePath, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Url, get, arginfo_phalcon_mvc_url_get, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Url, path, arginfo_phalcon_mvc_url_path, ZEND_ACC_PUBLIC) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_pick, 0, 0, 1) + ZEND_ARG_INFO(0, renderView) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_partial, 0, 0, 1) + ZEND_ARG_INFO(0, partialPath) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_getrender, 0, 0, 2) + ZEND_ARG_INFO(0, controllerName) + ZEND_ARG_INFO(0, actionName) + ZEND_ARG_INFO(0, params) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_cache, 0, 0, 0) + ZEND_ARG_INFO(0, options) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_setcontent, 0, 0, 1) + ZEND_ARG_INFO(0, content) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view___set, 0, 0, 2) + ZEND_ARG_INFO(0, key) + ZEND_ARG_INFO(0, value) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view___get, 0, 0, 1) + ZEND_ARG_INFO(0, key) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_view_method_entry){ + PHP_ME(Phalcon_Mvc_View, __construct, arginfo_phalcon_mvc_view___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Mvc_View, setViewsDir, arginfo_phalcon_mvc_view_setviewsdir, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getViewsDir, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setLayoutsDir, arginfo_phalcon_mvc_view_setlayoutsdir, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getLayoutsDir, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setPartialsDir, arginfo_phalcon_mvc_view_setpartialsdir, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getPartialsDir, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setBasePath, arginfo_phalcon_mvc_view_setbasepath, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setRenderLevel, arginfo_phalcon_mvc_view_setrenderlevel, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, disableLevel, arginfo_phalcon_mvc_view_disablelevel, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setMainView, arginfo_phalcon_mvc_view_setmainview, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getMainView, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setLayout, arginfo_phalcon_mvc_view_setlayout, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getLayout, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setTemplateBefore, arginfo_phalcon_mvc_view_settemplatebefore, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, cleanTemplateBefore, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setTemplateAfter, arginfo_phalcon_mvc_view_settemplateafter, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, cleanTemplateAfter, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setParamToView, arginfo_phalcon_mvc_view_setparamtoview, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setVars, arginfo_phalcon_mvc_view_setvars, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setVar, arginfo_phalcon_mvc_view_setvar, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getVar, arginfo_phalcon_mvc_view_getvar, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getParamsToView, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getControllerName, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getActionName, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getParams, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, start, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, _loadTemplateEngines, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Mvc_View, _engineRender, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Mvc_View, registerEngines, arginfo_phalcon_mvc_view_registerengines, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, render, arginfo_phalcon_mvc_view_render, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, pick, arginfo_phalcon_mvc_view_pick, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, partial, arginfo_phalcon_mvc_view_partial, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getRender, arginfo_phalcon_mvc_view_getrender, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, finish, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, _createCache, NULL, ZEND_ACC_PROTECTED) + PHP_ME(Phalcon_Mvc_View, isCaching, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getCache, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, cache, arginfo_phalcon_mvc_view_cache, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, setContent, arginfo_phalcon_mvc_view_setcontent, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getContent, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, getActiveRenderPath, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, disable, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, enable, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, reset, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, __set, arginfo_phalcon_mvc_view___set, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_View, __get, arginfo_phalcon_mvc_view___get, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -10687,90 +10800,6 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_transaction_method_entry){ -zend_class_entry *phalcon_mvc_model_metadata_apc_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_MetaData_Apc); - -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Apc, __construct); -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Apc, read); -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Apc, write); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_apc___construct, 0, 0, 0) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_apc_read, 0, 0, 1) - ZEND_ARG_INFO(0, key) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_apc_write, 0, 0, 2) - ZEND_ARG_INFO(0, key) - ZEND_ARG_INFO(0, data) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_apc_method_entry){ - PHP_ME(Phalcon_Mvc_Model_MetaData_Apc, __construct, arginfo_phalcon_mvc_model_metadata_apc___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Mvc_Model_MetaData_Apc, read, arginfo_phalcon_mvc_model_metadata_apc_read, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_MetaData_Apc, write, arginfo_phalcon_mvc_model_metadata_apc_write, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - -zend_class_entry *phalcon_mvc_model_query_status_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Query_Status); - -PHP_METHOD(Phalcon_Mvc_Model_Query_Status, __construct); -PHP_METHOD(Phalcon_Mvc_Model_Query_Status, getModel); -PHP_METHOD(Phalcon_Mvc_Model_Query_Status, getMessages); -PHP_METHOD(Phalcon_Mvc_Model_Query_Status, success); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_query_status___construct, 0, 0, 2) - ZEND_ARG_INFO(0, success) - ZEND_ARG_INFO(0, model) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_mvc_model_query_status_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Query_Status, __construct, arginfo_phalcon_mvc_model_query_status___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Mvc_Model_Query_Status, getModel, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Query_Status, getMessages, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Query_Status, success, NULL, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - -zend_class_entry *phalcon_mvc_model_metadata_files_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_MetaData_Files); - -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Files, __construct); -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Files, read); -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Files, write); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_files___construct, 0, 0, 0) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_files_read, 0, 0, 1) - ZEND_ARG_INFO(0, key) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_files_write, 0, 0, 2) - ZEND_ARG_INFO(0, key) - ZEND_ARG_INFO(0, data) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_files_method_entry){ - PHP_ME(Phalcon_Mvc_Model_MetaData_Files, __construct, arginfo_phalcon_mvc_model_metadata_files___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Mvc_Model_MetaData_Files, read, arginfo_phalcon_mvc_model_metadata_files_read, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_MetaData_Files, write, arginfo_phalcon_mvc_model_metadata_files_write, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_mvc_model_query_builder_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Query_Builder); @@ -10892,35 +10921,102 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_query_builder_method_entry){ -zend_class_entry *phalcon_mvc_model_validator_url_ce; +zend_class_entry *phalcon_mvc_model_metadata_files_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_MetaData_Files); + +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Files, __construct); +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Files, read); +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Files, write); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_files___construct, 0, 0, 0) + ZEND_ARG_INFO(0, options) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_files_read, 0, 0, 1) + ZEND_ARG_INFO(0, key) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_files_write, 0, 0, 2) + ZEND_ARG_INFO(0, key) + ZEND_ARG_INFO(0, data) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_files_method_entry){ + PHP_ME(Phalcon_Mvc_Model_MetaData_Files, __construct, arginfo_phalcon_mvc_model_metadata_files___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Mvc_Model_MetaData_Files, read, arginfo_phalcon_mvc_model_metadata_files_read, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_MetaData_Files, write, arginfo_phalcon_mvc_model_metadata_files_write, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + +zend_class_entry *phalcon_mvc_model_metadata_apc_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_MetaData_Apc); + +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Apc, __construct); +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Apc, read); +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Apc, write); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_apc___construct, 0, 0, 0) + ZEND_ARG_INFO(0, options) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_apc_read, 0, 0, 1) + ZEND_ARG_INFO(0, key) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_apc_write, 0, 0, 2) + ZEND_ARG_INFO(0, key) + ZEND_ARG_INFO(0, data) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_apc_method_entry){ + PHP_ME(Phalcon_Mvc_Model_MetaData_Apc, __construct, arginfo_phalcon_mvc_model_metadata_apc___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Mvc_Model_MetaData_Apc, read, arginfo_phalcon_mvc_model_metadata_apc_read, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_MetaData_Apc, write, arginfo_phalcon_mvc_model_metadata_apc_write, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + +zend_class_entry *phalcon_mvc_model_query_status_ce; -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Url); +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Query_Status); -PHP_METHOD(Phalcon_Mvc_Model_Validator_Url, validate); +PHP_METHOD(Phalcon_Mvc_Model_Query_Status, __construct); +PHP_METHOD(Phalcon_Mvc_Model_Query_Status, getModel); +PHP_METHOD(Phalcon_Mvc_Model_Query_Status, getMessages); +PHP_METHOD(Phalcon_Mvc_Model_Query_Status, success); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_url_validate, 0, 0, 1) - ZEND_ARG_INFO(0, record) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_query_status___construct, 0, 0, 2) + ZEND_ARG_INFO(0, success) + ZEND_ARG_INFO(0, model) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_url_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Validator_Url, validate, arginfo_phalcon_mvc_model_validator_url_validate, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_mvc_model_query_status_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Query_Status, __construct, arginfo_phalcon_mvc_model_query_status___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Mvc_Model_Query_Status, getModel, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Query_Status, getMessages, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Query_Status, success, NULL, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_mvc_model_validator_regex_ce; +zend_class_entry *phalcon_mvc_model_validator_url_ce; -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Regex); +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Url); -PHP_METHOD(Phalcon_Mvc_Model_Validator_Regex, validate); +PHP_METHOD(Phalcon_Mvc_Model_Validator_Url, validate); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_regex_validate, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_url_validate, 0, 0, 1) ZEND_ARG_INFO(0, record) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_regex_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Validator_Regex, validate, arginfo_phalcon_mvc_model_validator_regex_validate, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_url_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Validator_Url, validate, arginfo_phalcon_mvc_model_validator_url_validate, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -10956,36 +11052,6 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_memory_method_entry){ -zend_class_entry *phalcon_mvc_model_metadata_session_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_MetaData_Session); - -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Session, __construct); -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Session, read); -PHP_METHOD(Phalcon_Mvc_Model_MetaData_Session, write); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_session___construct, 0, 0, 0) - ZEND_ARG_INFO(0, options) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_session_read, 0, 0, 1) - ZEND_ARG_INFO(0, key) -ZEND_END_ARG_INFO() - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_session_write, 0, 0, 2) - ZEND_ARG_INFO(0, key) - ZEND_ARG_INFO(0, data) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_session_method_entry){ - PHP_ME(Phalcon_Mvc_Model_MetaData_Session, __construct, arginfo_phalcon_mvc_model_metadata_session___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Mvc_Model_MetaData_Session, read, arginfo_phalcon_mvc_model_metadata_session_read, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_MetaData_Session, write, arginfo_phalcon_mvc_model_metadata_session_write, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_mvc_model_resultset_simple_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Resultset_Simple); @@ -11050,57 +11116,65 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_resultset_complex_method_entry){ -zend_class_entry *phalcon_mvc_model_validator_email_ce; +zend_class_entry *phalcon_mvc_model_validator_regex_ce; -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Email); +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Regex); -PHP_METHOD(Phalcon_Mvc_Model_Validator_Email, validate); +PHP_METHOD(Phalcon_Mvc_Model_Validator_Regex, validate); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_email_validate, 0, 0, 1) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_regex_validate, 0, 0, 1) ZEND_ARG_INFO(0, record) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_email_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Validator_Email, validate, arginfo_phalcon_mvc_model_validator_email_validate, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_regex_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Validator_Regex, validate, arginfo_phalcon_mvc_model_validator_regex_validate, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_mvc_model_validator_presenceof_ce; +zend_class_entry *phalcon_mvc_model_metadata_session_ce; -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_PresenceOf); +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_MetaData_Session); -PHP_METHOD(Phalcon_Mvc_Model_Validator_PresenceOf, validate); +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Session, __construct); +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Session, read); +PHP_METHOD(Phalcon_Mvc_Model_MetaData_Session, write); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_presenceof_validate, 0, 0, 1) - ZEND_ARG_INFO(0, record) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_session___construct, 0, 0, 0) + ZEND_ARG_INFO(0, options) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_presenceof_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Validator_PresenceOf, validate, arginfo_phalcon_mvc_model_validator_presenceof_validate, ZEND_ACC_PUBLIC) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_session_read, 0, 0, 1) + ZEND_ARG_INFO(0, key) +ZEND_END_ARG_INFO() + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_metadata_session_write, 0, 0, 2) + ZEND_ARG_INFO(0, key) + ZEND_ARG_INFO(0, data) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_metadata_session_method_entry){ + PHP_ME(Phalcon_Mvc_Model_MetaData_Session, __construct, arginfo_phalcon_mvc_model_metadata_session___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Mvc_Model_MetaData_Session, read, arginfo_phalcon_mvc_model_metadata_session_read, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_MetaData_Session, write, arginfo_phalcon_mvc_model_metadata_session_write, ZEND_ACC_PUBLIC) PHP_FE_END }; -zend_class_entry *phalcon_mvc_model_transaction_failed_ce; +zend_class_entry *phalcon_mvc_model_validator_email_ce; -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Transaction_Failed); +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Email); -PHP_METHOD(Phalcon_Mvc_Model_Transaction_Failed, __construct); -PHP_METHOD(Phalcon_Mvc_Model_Transaction_Failed, getRecordMessages); -PHP_METHOD(Phalcon_Mvc_Model_Transaction_Failed, getRecord); +PHP_METHOD(Phalcon_Mvc_Model_Validator_Email, validate); -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_failed___construct, 0, 0, 2) - ZEND_ARG_INFO(0, message) +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_email_validate, 0, 0, 1) ZEND_ARG_INFO(0, record) ZEND_END_ARG_INFO() -PHALCON_INIT_FUNCS(phalcon_mvc_model_transaction_failed_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Transaction_Failed, __construct, arginfo_phalcon_mvc_model_transaction_failed___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) - PHP_ME(Phalcon_Mvc_Model_Transaction_Failed, getRecordMessages, NULL, ZEND_ACC_PUBLIC) - PHP_ME(Phalcon_Mvc_Model_Transaction_Failed, getRecord, NULL, ZEND_ACC_PUBLIC) +PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_email_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Validator_Email, validate, arginfo_phalcon_mvc_model_validator_email_validate, ZEND_ACC_PUBLIC) PHP_FE_END }; @@ -11141,6 +11215,45 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_uniqueness_method_entry){ +zend_class_entry *phalcon_mvc_model_transaction_failed_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Transaction_Failed); + +PHP_METHOD(Phalcon_Mvc_Model_Transaction_Failed, __construct); +PHP_METHOD(Phalcon_Mvc_Model_Transaction_Failed, getRecordMessages); +PHP_METHOD(Phalcon_Mvc_Model_Transaction_Failed, getRecord); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_transaction_failed___construct, 0, 0, 2) + ZEND_ARG_INFO(0, message) + ZEND_ARG_INFO(0, record) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_transaction_failed_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Transaction_Failed, __construct, arginfo_phalcon_mvc_model_transaction_failed___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(Phalcon_Mvc_Model_Transaction_Failed, getRecordMessages, NULL, ZEND_ACC_PUBLIC) + PHP_ME(Phalcon_Mvc_Model_Transaction_Failed, getRecord, NULL, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + +zend_class_entry *phalcon_mvc_model_validator_presenceof_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_PresenceOf); + +PHP_METHOD(Phalcon_Mvc_Model_Validator_PresenceOf, validate); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_presenceof_validate, 0, 0, 1) + ZEND_ARG_INFO(0, record) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_presenceof_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Validator_PresenceOf, validate, arginfo_phalcon_mvc_model_validator_presenceof_validate, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_mvc_model_transaction_manager_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Transaction_Manager); @@ -11290,6 +11403,23 @@ zend_class_entry *phalcon_mvc_model_transaction_exception_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Transaction_Exception); +zend_class_entry *phalcon_mvc_model_validator_inclusionin_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Inclusionin); + +PHP_METHOD(Phalcon_Mvc_Model_Validator_Inclusionin, validate); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_inclusionin_validate, 0, 0, 1) + ZEND_ARG_INFO(0, record) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_inclusionin_method_entry){ + PHP_ME(Phalcon_Mvc_Model_Validator_Inclusionin, validate, arginfo_phalcon_mvc_model_validator_inclusionin_validate, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_mvc_model_validator_stringlength_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_StringLength); @@ -11341,23 +11471,6 @@ PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_exclusionin_method_entry){ -zend_class_entry *phalcon_mvc_model_validator_inclusionin_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_Model_Validator_Inclusionin); - -PHP_METHOD(Phalcon_Mvc_Model_Validator_Inclusionin, validate); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_validator_inclusionin_validate, 0, 0, 1) - ZEND_ARG_INFO(0, record) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_mvc_model_validator_inclusionin_method_entry){ - PHP_ME(Phalcon_Mvc_Model_Validator_Inclusionin, validate, arginfo_phalcon_mvc_model_validator_inclusionin_validate, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_mvc_moduledefinitioninterface_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_ModuleDefinitionInterface); @@ -11638,25 +11751,6 @@ zend_class_entry *phalcon_mvc_view_exception_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_View_Exception); -zend_class_entry *phalcon_mvc_view_engine_php_ce; - -PHALCON_INIT_CLASS(Phalcon_Mvc_View_Engine_Php); - -PHP_METHOD(Phalcon_Mvc_View_Engine_Php, render); - -ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_engine_php_render, 0, 0, 2) - ZEND_ARG_INFO(0, path) - ZEND_ARG_INFO(0, params) - ZEND_ARG_INFO(0, mustClean) -ZEND_END_ARG_INFO() - -PHALCON_INIT_FUNCS(phalcon_mvc_view_engine_php_method_entry){ - PHP_ME(Phalcon_Mvc_View_Engine_Php, render, arginfo_phalcon_mvc_view_engine_php_render, ZEND_ACC_PUBLIC) - PHP_FE_END -}; - - - zend_class_entry *phalcon_mvc_view_engine_volt_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_View_Engine_Volt); @@ -11715,6 +11809,25 @@ PHALCON_INIT_FUNCS(phalcon_mvc_view_engine_volt_method_entry){ +zend_class_entry *phalcon_mvc_view_engine_php_ce; + +PHALCON_INIT_CLASS(Phalcon_Mvc_View_Engine_Php); + +PHP_METHOD(Phalcon_Mvc_View_Engine_Php, render); + +ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_view_engine_php_render, 0, 0, 2) + ZEND_ARG_INFO(0, path) + ZEND_ARG_INFO(0, params) + ZEND_ARG_INFO(0, mustClean) +ZEND_END_ARG_INFO() + +PHALCON_INIT_FUNCS(phalcon_mvc_view_engine_php_method_entry){ + PHP_ME(Phalcon_Mvc_View_Engine_Php, render, arginfo_phalcon_mvc_view_engine_php_render, ZEND_ACC_PUBLIC) + PHP_FE_END +}; + + + zend_class_entry *phalcon_mvc_view_engine_volt_compiler_ce; PHALCON_INIT_CLASS(Phalcon_Mvc_View_Engine_Volt_Compiler);