10 defined(
'JPATH_PLATFORM') or die;
27 protected $_subject = null;
36 public function __construct(&$subject)
39 $subject->attach($this);
42 $this->_subject = &$subject;
58 public function update(&$args)
62 $event = $args[
'event'];
63 unset($args[
'event']);
69 if (method_exists($this, $event))
71 return call_user_func_array(array($this, $event), $args);