diff options
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/it_dbi.class b/it_dbi.class index b365f59..786fb90 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -19,7 +19,8 @@ ** dbi.class - UltraFlexible Database Interface 3000 */ -class it_dbi +#[AllowDynamicProperties] +class it_dbi implements Iterator { static $_global_key = 'it_dbi'; # $GLOBAL key to use for singleton @@ -176,9 +177,8 @@ static function createclass($p) if (substr($classname, 0, 4) != 'PMA_') # It is designed behaviour that an error is generated if this class already exists! { - $interface = function_exists("interface_exists") && interface_exists("Iterator", false) ? "implements Iterator" : ""; $parentname = static::$_global_key; - $code = "class $classname extends $parentname $interface + $code = "class $classname extends $parentname { function __construct(\$query = null, ...\$args) { |