And that'll teach me to jump in on a conversation :)
What about implementing an interface which specifies a getTable()
method, then don't implement it in an Abstract AR class.
That way when you extend, you write in a:
function getTable()
{
return __CLASS__;
}
or you can even do:
function getTable()
{
return "Somethingcompletelydifferent";
}
I dislike this idea, I prefer just to instantiate the AR class and
use it as an object :)
- Davey
On Sep 28, 2006, at 10:03 AM, Pavel Shevaev wrote:
On 9/28/06, Davey Shafik <[EMAIL PROTECTED]> wrote:
Uh....
__CLASS__
Not really, here's how it all started
http://www.sitepoint.com/forums/showthread.php?t=334377
- Davey
--
Best regards, Pavel
--
LIMB - http://limb-project.com
Bureau of Information Technologies - http://www.bit-creative.com