
extern zend_class_entry *phalcon_html_helper_input_select_ce;

ZEPHIR_INIT_CLASS(Phalcon_Html_Helper_Input_Select);

PHP_METHOD(Phalcon_Html_Helper_Input_Select, add);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, addPlaceholder);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, fromData);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, optGroup);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, placeholder);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, selected);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, strict);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, getTag);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, optGroupEnd);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, optGroupStart);
PHP_METHOD(Phalcon_Html_Helper_Input_Select, processValue);

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_input_select_add, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, attributes, IS_ARRAY, 0, "[]")
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, raw, _IS_BOOL, 0, "false")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_input_select_addplaceholder, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, attributes, IS_ARRAY, 0, "[]")
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, raw, _IS_BOOL, 0, "false")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_input_select_fromdata, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_OBJ_INFO(0, data, Phalcon\\Contracts\\Html\\Helper\\Input\\SelectData, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_input_select_optgroup, 0, 0, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, label, IS_STRING, 1, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, attributes, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_input_select_placeholder, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_input_select_selected, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, selected, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_input_select_strict, 0, 0, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flag, _IS_BOOL, 0, "true")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_helper_input_select_gettag, 0, 0, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_helper_input_select_optgroupend, 0, 0, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_helper_input_select_optgroupstart, 0, 2, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO(0, label, IS_STRING, 0)
	ZEND_ARG_ARRAY_INFO(0, attributes, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_helper_input_select_processvalue, 0, 1, IS_ARRAY, 0)
	ZEND_ARG_ARRAY_INFO(0, attributes, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phalcon_html_helper_input_select_method_entry) {
	PHP_ME(Phalcon_Html_Helper_Input_Select, add, arginfo_phalcon_html_helper_input_select_add, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Input_Select, addPlaceholder, arginfo_phalcon_html_helper_input_select_addplaceholder, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Input_Select, fromData, arginfo_phalcon_html_helper_input_select_fromdata, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Input_Select, optGroup, arginfo_phalcon_html_helper_input_select_optgroup, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Input_Select, placeholder, arginfo_phalcon_html_helper_input_select_placeholder, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Input_Select, selected, arginfo_phalcon_html_helper_input_select_selected, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Input_Select, strict, arginfo_phalcon_html_helper_input_select_strict, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Input_Select, getTag, arginfo_phalcon_html_helper_input_select_gettag, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Html_Helper_Input_Select, optGroupEnd, arginfo_phalcon_html_helper_input_select_optgroupend, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Html_Helper_Input_Select, optGroupStart, arginfo_phalcon_html_helper_input_select_optgroupstart, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Html_Helper_Input_Select, processValue, arginfo_phalcon_html_helper_input_select_processvalue, ZEND_ACC_PRIVATE)
	PHP_FE_END
};
