class field of parent & child often empty when modifying object

11 views
Skip to first unread message

lkasdorf

unread,
Jul 21, 2014, 11:53:22 PM7/21/14
to php-object...@googlegroups.com
Often, but not always, when I paste a link into pog regenerate and look at the fields, the class field for parent or child relations is empty, even though I'm certain that I filled it in when generating the object. This often the case but not always.

Example:
http://www.phpobjectgenerator.com/?language=php5&wrapper=pog&objectName=invit&attributeList=array+%28%0A++0+%3D%3E+%27project%27%2C%0A++1+%3D%3E+%27cont%27%2C%0A++2+%3D%3E+%27invstatus%27%2C%0A++3+%3D%3E+%27respstatus%27%2C%0A++4+%3D%3E+%27login%27%2C%0A++5+%3D%3E+%27passwd%27%2C%0A++6+%3D%3E+%27notes%27%2C%0A++7+%3D%3E+%27invitdoc%27%2C%0A++8+%3D%3E+%27resp%27%2C%0A++9+%3D%3E+%27invdate%27%2C%0A++10+%3D%3E+%27respdate%27%2C%0A++11+%3D%3E+%27emaillist%27%2C%0A++12+%3D%3E+%27accept%27%2C%0A++13+%3D%3E+%27acceptdate%27%2C%0A++14+%3D%3E+%27emailbody%27%2C%0A++15+%3D%3E+%27emailsubject%27%2C%0A%29&typeList=array+%28%0A++0+%3D%3E+%27BELONGSTO%27%2C%0A++1+%3D%3E+%27BELONGSTO%27%2C%0A++2+%3D%3E+%27VARCHAR%28255%29%27%2C%0A++3+%3D%3E+%27VARCHAR%28255%29%27%2C%0A++4+%3D%3E+%27VARCHAR%28255%29%27%2C%0A++5+%3D%3E+%27VARCHAR%28255%29%27%2C%0A++6+%3D%3E+%27TEXT%27%2C%0A++7+%3D%3E+%27HASMANY%27%2C%0A++8+%3D%3E+%27VARCHAR%28255%29%27%2C%0A++9+%3D%3E+%27DATETIME%27%2C%0A++10+%3D%3E+%27DATETIME%27%2C%0A++11+%3D%3E+%27TEXT%27%2C%0A++12+%3D%3E+%27VARCHAR%28255%29%27%2C%0A++13+%3D%3E+%27DATETIME%27%2C%0A++14+%3D%3E+%27TEXT%27%2C%0A++15+%3D%3E+%27VARCHAR%28255%29%27%2C%0A%29

Paste that in, and you will see that it has 2 parent fields and one child field- all 3 are empty. yet, the class works properly.

Thanks-
Lynn Kasdorf
Reply all
Reply to author
Forward
0 new messages