class BVFSClearCache extends BaculumAPIServer {
- public function get() {}
-
public function set($ids, $params) {
$result = $this->getModule('bconsole')->bconsoleCommand($this->director, array('.bvfs_clear_cache', 'yes'), $this->user);
$this->output = $result->output;
class BVFSLsDirs extends BaculumAPIServer {
- public function get() {}
-
public function set($param, $ids) {
$limit = intval($this->Request['limit']);
$offset = intval($this->Request['offset']);
class BVFSLsFiles extends BaculumAPIServer {
- public function get() {}
-
public function set($param, $ids) {
$limit = intval($this->Request['limit']);
$offset = intval($this->Request['offset']);
*/
class BVFSRestore extends BaculumAPIServer {
- public function get() {}
-
public function create($params) {
$jobids = property_exists($params, 'jobids') ? $params->jobids : null;
$fileids = property_exists($params, 'fileid') ? $params->fileid : null;
class BVFSUpdate extends BaculumAPIServer {
- public function get() {}
-
public function set($param, $ids) {
$isValid = true;
if (property_exists($ids, 'jobids')) {
class ConfigDirTest extends BaculumAPIServer {
- public function get() {}
-
public function set($id, $params) {
$config_dir = property_exists($params, 'path') ? $params->path : '';
$result = $this->getModule('bacula_config')->testConfigDir($config_dir);
class ConsoleCommand extends BaculumAPIServer {
- public function get() {}
-
public function set($id, $params) {
$params = (array)$params;
$console = $this->getModule('bconsole')->bconsoleCommand($this->director, $params, $this->user);
class JSONToolsTest extends BaculumAPIServer {
- public function get() {}
-
public function set($id, $params) {
$type = property_exists($params, 'type') ? $params->type : '';
$path = property_exists($params, 'path') ? $params->path : '';
class JobCancel extends BaculumAPIServer {
- public function get() {}
-
public function set($id, $params) {
$jobid = intval($id);
$job = $this->getModule('job')->getJobById($jobid);
*/
class PoolUpdate extends BaculumAPIServer {
- public function get() {}
public function set($id, $params) {
$pool = $this->getModule('pool')->getPoolById($id);
}
}
-?>
\ No newline at end of file
+?>
*/
class PoolUpdateVolumes extends BaculumAPIServer {
- public function get() {}
public function set($id, $params) {
$pool = $this->getModule('pool')->getPoolById($id);
class RestoreRun extends BaculumAPIServer {
- public function get() {}
-
public function create($params) {
$rfile = property_exists($params, 'rpath') ? $params->rpath : null;