Hi, thanks for your time, I have this:
//Basemyprofile1
$timestampable0 = new Doctrine_Template_Timestampable();
$sluggable0 = new Doctrine_Template_Sluggable(array(
'fields' =>
array(
0 => 'name',
),
'unique' => true,
));
$this->actAs($timestampable0);
$this->actAs($sluggable0);
On 21 jun, 14:52, Grzegorz Śliwiński <[email protected]> wrote:
> hmmm... could you check your Basemyprofile1 or Basemyprofile2 classes
> if they include your behaviours?
>
> On Jun 20, 2:13 pm, lucia <[email protected]> wrote:
>
>
>
> > Hi,
> > I followed the readme of the plugin, the problem is that when I
> > rebuild model I lose behaviors,
> > I have this model:
> > myprofile1:
> > inheritance:
> > type: column_aggregation
> > extends: sfGuardUserProfile
> > actAs: { Timestampable: ~ , Sluggable:{ fields:[name], unique:
> > true}}
> > columns:
> > ....
> > relations:
> > ...
> > myprofile2:
> > inheritance:
> > type: column_aggregation
> > extends: sfGuardUserProfile
> > actAs: { Timestampable: ~ }
> > columns:
> > ....
> > relations:
> > ...
> > I expected field called 'slug' , but no...
> > Any idea? Maybe colision with inheritance? I changed the position of
> > inheritance but the field slug doesn't
> > appear..
> > Does anyone know how I can fix this? The sluggable behavior is very
> > important for myprofile1 table.
> > On the other hand, can I use concrete inheritance with this plugin?
> > Thanks a lot
> > PS: I'm sorry for my English- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en