Hi there,
I'm confusing about one thing, when trying to hook doSelect from a plugin, nothing happens, while save:post or save:pre works !
Is there any way to hook doSelect that way ?
This one works... (it means my class function is called)
sfPropelBehavior::registerMethods('fidelityPoints', array(
array('MwPropelFidelityPointsBehaviorPlugin', 'handleRequest')
)
);
sfPropelBehavior::registerHooks('fidelityPoints', array(
':save:post' => array('MwPropelFidelityPointsBehaviorPlugin', 'handleRequest')
)
);
This one doesn't (no call at all)
sfPropelBehavior::registerMethods('fidelityPoints', array(
array('MwPropelFidelityPointsBehaviorPlugin', 'handleRequest')
)
);
sfPropelBehavior::registerHooks('fidelityPoints', array(
':doSelect' => array('MwPropelFidelityPointsBehaviorPlugin', 'handleRequest')
// or doSelectOne or :doSelect:post or :doSelect:pre... nothing seems to work
)
);
Any ideas ?
Tx
David