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