finish documentation NetBiblio methods
This commit is contained in:
@@ -13,7 +13,10 @@ abstract class WebService
|
||||
private $log = '';
|
||||
|
||||
/**
|
||||
* @param $message
|
||||
* Log a message that will be displayed in the logs if the configuration
|
||||
* says so.
|
||||
*
|
||||
* @param string $message
|
||||
* @param int $verbosity
|
||||
* @param bool $withTime
|
||||
*/
|
||||
@@ -29,6 +32,10 @@ abstract class WebService
|
||||
$this->log .= $message."\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* Treat the current request and output the result. This is the only
|
||||
* method that should be called on the webservice directly !
|
||||
*/
|
||||
public function Run()
|
||||
{
|
||||
$renderer = new Renderer();
|
||||
@@ -67,6 +74,13 @@ abstract class WebService
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines which method to call based on GET or POST parameters and
|
||||
* call it before returning the result.
|
||||
*
|
||||
* @return array
|
||||
* @throws UsageException
|
||||
*/
|
||||
private function Call()
|
||||
{
|
||||
session_save_path(Configuration::get('session.save_path'));
|
||||
|
||||
Reference in New Issue
Block a user