X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_querystring_object.h;h=0b77c3df482db54266829c7b834884c59e9cf074;hb=687515f3fa8863f97fd281152a80171ad438532d;hp=90e9f09c59e8d45c5e3cdd9e2db8bb932463de30;hpb=2dd36fa14a60e5bde382f0035810520db25a3ea2;p=m6w6%2Fext-http diff --git a/php_http_querystring_object.h b/php_http_querystring_object.h index 90e9f09..0b77c3d 100644 --- a/php_http_querystring_object.h +++ b/php_http_querystring_object.h @@ -16,7 +16,7 @@ #define PHP_HTTP_QUERYSTRING_OBJECT_H #ifdef ZEND_ENGINE_2 -typedef struct { +typedef struct _http_querystring_object_t { zend_object zo; } http_querystring_object; @@ -40,18 +40,24 @@ extern zend_object_value _http_querystring_object_new_ex(zend_class_entry *ce, h extern void _http_querystring_object_free(zend_object *object TSRMLS_DC); PHP_METHOD(HttpQueryString, __construct); -PHP_METHOD(HttpQueryString, __toString); +PHP_METHOD(HttpQueryString, toString); +PHP_METHOD(HttpQueryString, toArray); PHP_METHOD(HttpQueryString, get); PHP_METHOD(HttpQueryString, set); -PHP_METHOD(HttpQueryString, del); -PHP_METHOD(HttpQueryString, mod); -PHP_METHOD(HttpQueryString, getInstance); PHP_METHOD(HttpQueryString, getBool); PHP_METHOD(HttpQueryString, getInt); PHP_METHOD(HttpQueryString, getFloat); PHP_METHOD(HttpQueryString, getString); PHP_METHOD(HttpQueryString, getArray); PHP_METHOD(HttpQueryString, getObject); +#ifdef HAVE_ICONV +PHP_METHOD(HttpQueryString, xlate); +#endif +#ifndef WONKY +PHP_METHOD(HttpQueryString, singleton); +#endif +PHP_METHOD(HttpQueryString, serialize); +PHP_METHOD(HttpQueryString, unserialize); #endif #endif