static const QByteArray PHPSTART("<?\n//THIS IS AN AUTOGENERATED FILE, DONT CHANGE!\n\n");
static const QByteArray PHPEND("\n//END OF AUTOGENERATED FILE\n?>");
-static const QByteArray SCHEMASTART("class WobSchema extends WobSchemaBase\n{\nfunction __construct(){\n");
+static const QByteArray SCHEMASTART("class WobSchema extends WobSchemaBase\n{\nfunction __construct(){\n\tparent::__construct();\n");
static const QByteArray SCHEMAEND("}};\n");
static const QByteArray TRANSACTCLASS("class WobTransaction extends WobTransactionBase\n{\n");
if(!cls.propertyIsList(k[i]))code+="=null";
code+=";\n";
}
- code+="public function __construct()\n{\n";
+ code+="public function __construct()\n{\n\tparent::__construct();\n";
for(int i=0;i<k.size();i++)
if(cls.propertyIsList(k[i]))
- code+="\t$this->prop_"+k[i]+"=array();";
+ code+="\t$this->prop_"+k[i]+"=array();\n";
code+="}\n";
return code;
}