Override aSlotActions. That extends BaseaSlotActions and adds nothing,
whatever it is you want to do in addition. This is standard for
Symfony modules in plugins.
On Tue, Aug 3, 2010 at 6:00 AM, Charles <jc.du
...@gmail.com> wrote:
> Hello,
> Our client ask us to show some slots to identifed groups of users. So we
> need to add a button "groups" to some slots :
>
http://img230.imageshack.us/i/screenshot007cq.jpg/. In our database we need
> to link a group a to slot.
> It works in Ajax when we edit an existing slot (because we know at this
> moment the slot id).
> But the problem is that when we create a new slot we don't know the id it
> will have when the slot will be saved in the DB.
> So we need the override public function executeEdit(sfRequest $request) in
> BaseaSlotActions.class.php to take in account our new parameter (group).
> But, of course, we don't want to edit this class that is part of Aposrtophe
> plugin.
> Perhaps BaseaSlotActions.class.php should be an empty class that we could
> override ?
> Any help would be most welcome !