up observations

This commit is contained in:
qronald
2017-02-14 15:23:41 -04:00
parent f4356a0c5c
commit d8f160cfa0
3 changed files with 53 additions and 11 deletions

View File

@@ -349,6 +349,17 @@ class PMPlugin
$oPluginRegistry->registerRestService($this->sNamespace);
}
/**
* Register a extend rest service and expose it
*
* @param string $className that is name class to extends
*/
function registerExtendsRestService($className)
{
$oPluginRegistry =& PMPluginRegistry::getSingleton();
$oPluginRegistry->registerExtendsRestService($this->sNamespace, $className);
}
/**
* Unregister a rest service
*