Skip to content

Commit

Permalink
Merge pull request #625 from xboston/master
Browse files Browse the repository at this point in the history
fix Interfaces
  • Loading branch information
Phalcon committed May 9, 2013
2 parents 2511ff2 + c3aaf69 commit 79345bb
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
12 changes: 5 additions & 7 deletions ext/db/adapterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,18 @@ extern zend_class_entry *phalcon_db_adapterinterface_ce;

PHALCON_INIT_CLASS(Phalcon_Db_AdapterInterface);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapterinterface___construct, 0, 0, 1)
ZEND_ARG_INFO(0, descriptor)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapterinterface_fetchone, 0, 0, 1)
ZEND_ARG_INFO(0, sqlQuery)
ZEND_ARG_INFO(0, fetchMode)
ZEND_ARG_INFO(0, placeholders)
ZEND_ARG_INFO(0, bindParams)
ZEND_ARG_INFO(0, bindTypes)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapterinterface_fetchall, 0, 0, 1)
ZEND_ARG_INFO(0, sqlQuery)
ZEND_ARG_INFO(0, fetchMode)
ZEND_ARG_INFO(0, placeholders)
ZEND_ARG_INFO(0, bindParams)
ZEND_ARG_INFO(0, bindTypes)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapterinterface_insert, 0, 0, 2)
Expand Down Expand Up @@ -213,7 +211,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_db_adapterinterface_describecolumns, 0, 0
ZEND_END_ARG_INFO()

PHALCON_INIT_FUNCS(phalcon_db_adapterinterface_method_entry){
PHP_ABSTRACT_ME(Phalcon_Db_AdapterInterface, __construct, arginfo_phalcon_db_adapterinterface___construct)
PHP_ABSTRACT_ME(Phalcon_Db_AdapterInterface, __construct, NULL)
PHP_ABSTRACT_ME(Phalcon_Db_AdapterInterface, fetchOne, arginfo_phalcon_db_adapterinterface_fetchone)
PHP_ABSTRACT_ME(Phalcon_Db_AdapterInterface, fetchAll, arginfo_phalcon_db_adapterinterface_fetchall)
PHP_ABSTRACT_ME(Phalcon_Db_AdapterInterface, insert, arginfo_phalcon_db_adapterinterface_insert)
Expand Down
1 change: 1 addition & 0 deletions ext/dispatcherinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_dispatcherinterface_getparam, 0, 0, 1)
ZEND_ARG_INFO(0, param)
ZEND_ARG_INFO(0, filters)
ZEND_ARG_INFO(0, defaultValue)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_dispatcherinterface_forward, 0, 0, 1)
Expand Down
2 changes: 1 addition & 1 deletion ext/escaperinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_escaperinterface_escapehtml, 0, 0, 1)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_escaperinterface_escapehtmlattr, 0, 0, 1)
ZEND_ARG_INFO(0, text)
ZEND_ARG_INFO(0, attribute)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_escaperinterface_escapecss, 0, 0, 1)
Expand Down
2 changes: 2 additions & 0 deletions ext/events/managerinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ PHALCON_INIT_CLASS(Phalcon_Events_ManagerInterface);
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_events_managerinterface_attach, 0, 0, 2)
ZEND_ARG_INFO(0, eventType)
ZEND_ARG_INFO(0, handler)
ZEND_ARG_INFO(0, priority)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_events_managerinterface_dettachall, 0, 0, 0)
Expand All @@ -34,6 +35,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_events_managerinterface_fire, 0, 0, 2)
ZEND_ARG_INFO(0, eventType)
ZEND_ARG_INFO(0, source)
ZEND_ARG_INFO(0, data)
ZEND_ARG_INFO(0, cancelable)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_events_managerinterface_getlisteners, 0, 0, 1)
Expand Down
1 change: 1 addition & 0 deletions ext/mvc/collectioninterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ PHALCON_INIT_CLASS(Phalcon_Mvc_CollectionInterface);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_collectioninterface___construct, 0, 0, 0)
ZEND_ARG_INFO(0, dependencyInjector)
ZEND_ARG_INFO(0, modelsManager)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_collectioninterface_setid, 0, 0, 1)
Expand Down
1 change: 1 addition & 0 deletions ext/mvc/model/messageinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_messageinterface___construct, 0
ZEND_ARG_INFO(0, message)
ZEND_ARG_INFO(0, field)
ZEND_ARG_INFO(0, type)
ZEND_ARG_INFO(0, model)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_messageinterface_settype, 0, 0, 1)
Expand Down
2 changes: 1 addition & 1 deletion ext/mvc/model/queryinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extern zend_class_entry *phalcon_mvc_model_queryinterface_ce;

PHALCON_INIT_CLASS(Phalcon_Mvc_Model_QueryInterface);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_queryinterface___construct, 0, 0, 1)
ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_queryinterface___construct, 0, 0, 0)
ZEND_ARG_INFO(0, phql)
ZEND_END_ARG_INFO()

Expand Down

0 comments on commit 79345bb

Please sign in to comment.