<?php
/**
* Available Web Services
*
* @package blocks/helloworld
* @author Mark Nielsen
*/
/**
* Constructor hook: this is a great place to call mr_on
*
* @return void
*/
protected function init() {
if (!mr_on('helloworld', 'block')) {
throw new Exception('Block is not enabled: blocks/helloworld');
}
}
/**
* Test Service
*
* @param string $say Tell the service what to say
* @return string
*/
public function test($say) {
return $this->response->test($say);
}
}