Hey,
I'm trying to extend a baseform with all other form's. Extending the baseform does not execute the initialize function and add the required fields to the form. It works with parent::initialize(), but i was wondering if there's any option without having to call it in every form.
class BaseForm extends Form
{
function initialize()
{
$this->add(new Hidden($this->security->getTokenKey(), array('value' => $this->security->getToken())));
}
}
Thanks, Timmeyy