public function attach($owner) { $this->_owner = $owner; foreach ($this->events() as $event => $handler) { $owner->attachEventHandler($event, array($this, $handler)); } }