
extern zend_class_entry *phalcon_html_helper_meta_ce;

ZEPHIR_INIT_CLASS(Phalcon_Html_Helper_Meta);

PHP_METHOD(Phalcon_Html_Helper_Meta, add);
PHP_METHOD(Phalcon_Html_Helper_Meta, addHttp);
PHP_METHOD(Phalcon_Html_Helper_Meta, addName);
PHP_METHOD(Phalcon_Html_Helper_Meta, addProperty);
PHP_METHOD(Phalcon_Html_Helper_Meta, getTag);
PHP_METHOD(Phalcon_Html_Helper_Meta, addElement);

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_meta_add, 0, 0, MAY_BE_STATIC)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, attributes, IS_ARRAY, 0, "[]")
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, position, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_meta_addhttp, 0, 2, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, httpEquiv, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, position, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_meta_addname, 0, 2, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, position, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_meta_addproperty, 0, 2, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, position, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_helper_meta_gettag, 0, 0, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_helper_meta_addelement, 0, 3, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, position, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phalcon_html_helper_meta_method_entry) {
	PHP_ME(Phalcon_Html_Helper_Meta, add, arginfo_phalcon_html_helper_meta_add, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Meta, addHttp, arginfo_phalcon_html_helper_meta_addhttp, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Meta, addName, arginfo_phalcon_html_helper_meta_addname, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Meta, addProperty, arginfo_phalcon_html_helper_meta_addproperty, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_Helper_Meta, getTag, arginfo_phalcon_html_helper_meta_gettag, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Html_Helper_Meta, addElement, arginfo_phalcon_html_helper_meta_addelement, ZEND_ACC_PRIVATE)
	PHP_FE_END
};
