This is my schema:
EntryData:
columns:
id:
type: integer
primary: true
autoincrement: true
notnull: true
type:
type: enum
values: [text, xml, html]
notnull: true
What's a working example of code for how I can create an object of
type
...@googlegroups.com]
On Behalf Of joshuacoady
Sent: 13 May 2009 03:25
To: symfony users
Subject: [symfony-users] Fatal error: Call to a member function end() on a
non-object in ... Hydrator/RecordDriver.php
I'm getting the following error and cant figure out why.
Fatal error: Call to a member
The schema for this is below, but say I'm working with the Entry
object and the query that loads the Entry object also loads the
related EntryMeta at the same time. Now, I want to find the Entry's
MetaData record that has a particular value for type. Is there a
better way to do this than to loop
I'm getting the following error and cant figure out why.
Fatal error: Call to a member function end() on a non-object in .../
Doctrine/Hydrator/RecordDriver.php on line 51
The relevant code in that file is:
public function getLastKey($coll)
{
$coll-end();
return