Yes, that's possible.
Inside the model class, do:
$this-getTable()-hasTemplate('Timestampable')
You can also do getTemplates() which returns all attached templates (=
behaviors).
Cheers, Daniel
On 10.02.2010, at 08:51, Daniel Kucharski wrote:
Hi,
Is it possible to detect if for
Thanks Daniel, that'll do.
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Daniel Lohse
Sent: woensdag 10 februari 2010 11:10
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Doctrine - how to detect if behavior exists
Yes, that's