Bug in OutletConfig.php

9 views
Skip to first unread message

Barry Keenan

unread,
Oct 2, 2010, 3:53:11 AM10/2/10
to Outlet ORM
function getClass doesn't exist....

/**
* Retrieves a specific propert, if the property doesn't exist throws
an OutletConfigException
* @param string $prop property to retrieve
* @return array property
*/
function getProperty ($prop) {
if (!isset($this->props[$prop])) {
// throw new OutletConfigException('Entity ['.$this->getClass().']
does not have a property ['.$prop.'] defined in the configuration');
throw new OutletConfigException('Entity ['.get_class($this).'] does
not have a property ['.$prop.'] defined in the configuration');
}

return $this->props[$prop];
}

Luís Otávio

unread,
Oct 5, 2010, 12:11:20 PM10/5/10
to outle...@googlegroups.com
Hello Barry,

As I know, that error has been corrected on SVN version a long time ago, try to checkout from SVN or clone from github.

Luís


--
You received this message because you are subscribed to the Google Groups "Outlet ORM" group.
To post to this group, send email to outle...@googlegroups.com.
To unsubscribe from this group, send email to outlet-orm+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/outlet-orm?hl=en.


Barry Keenan

unread,
Oct 6, 2010, 4:03:16 PM10/6/10
to Outlet ORM
Ah... excellent. Thanks Luis.

Do you guys use a bug tracker?

Cheers,

Barry.
> > outlet-orm+...@googlegroups.com<outlet-orm%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages