* @license PHP License * @package WB */ WBClass::load('WBEvent_Handler_Newsletter_Subscriber'); /** * WBEvent_Handler_Newsletter_Subscriber_User * * * @version 0.1.0 * @package WB */ class WBEvent_Handler_Newsletter_Subscriber_User extends WBEvent_Handler_Newsletter_Subscriber { /** * Get Source If Any * * Return xid of source and set namespace, if any * * @param WBEvent * @param $namespace * @return string */ protected function getSource(WBEvent $e, &$namespace = '') { $namespace = 'user'; return $e->get('id'); } }