hooks ) ? $this->hooks : array( 'ezcWebdavTransport' => array( 'beforeParseRequest' => array( array( 'ezcWebdavPluginRegistryTest', 'callbackBeforeTest' ), array( $this, 'testCallback' ), ), 'afterProcessResponse' => array( array( 'ezcWebdavPluginRegistryTest', 'callbackAfterTest' ), array( $this, 'testCallback' ) ), ), ) ); } public function testCallback() { ++$this->callbackCalled; } public function getNamespace() { return $this->namespace; } public function init() { $this->init = true; } } ?>