diff --git a/object_factory/class.objectphp5.1pdomysql.php b/object_factory/class.objectphp5.1pdomysql.php index fe2cab7..cd5ef5a 100644 --- a/object_factory/class.objectphp5.1pdomysql.php +++ b/object_factory/class.objectphp5.1pdomysql.php @@ -99,7 +99,7 @@ function EndObject() // ------------------------------------------------------------- function CreateConstructor() { - $this->string .= "\n\t\n\tfunction ".$this->objectName."("; + $this->string .= "\n\t\n\tfunction __construct("; $i = 0; $j = 0; foreach ($this->attributeList as $attribute) @@ -945,4 +945,4 @@ function CreateSetAssociationsFunction($sibling) } } -?> \ No newline at end of file +?>