Request['id']); $storage = $this->getModule('storage')->getStorageById($storageid); if(!is_null($storage)) { $storageStatus = $this->getModule('bconsole')->bconsoleCommand($this->director, array('status', 'storage="' . $storage->name . '"')); $this->output = $storageStatus->output; $this->error = (integer)$storageStatus->exitcode; } else { $this->output = StorageError::MSG_ERROR_STORAGE_DOES_NOT_EXISTS; $this->error = StorageError::ERROR_STORAGE_DOES_NOT_EXISTS; } } } ?>