.htaccess
1 year ago
Progress.php
1 year ago
Queue.php
1 year ago
QueueItem.php
1 year ago
QueueItemBackup.php
1 year ago
QueueItemDownload.php
1 year ago
QueueItemExport.php
1 year ago
QueueItemExtract.php
1 year ago
QueueItemReindex.php
1 year ago
QueueItemRestore.php
1 year ago
QueueItemRetentionCleanup.php
1 year ago
QueueItemSystem.php
1 year ago
aQueueItem.php
1 year ago
index.html
1 year ago
web.config
1 year ago
QueueItemSystem.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | namespace JetBackup\Queue; |
| 4 | |
| 5 | if (!defined( '__JETBACKUP__')) die('Direct access is not allowed'); |
| 6 | |
| 7 | class QueueItemSystem extends aQueueItem { |
| 8 | |
| 9 | const TYPE = 'type'; |
| 10 | |
| 11 | public function setType(int $type):void { $this->set(self::TYPE, $type); } |
| 12 | public function getType():int { return $this->get(self::TYPE, 0); } |
| 13 | |
| 14 | public function getDisplay():array { |
| 15 | return [ |
| 16 | self::TYPE => $this->getType(), |
| 17 | ]; |
| 18 | } |
| 19 | } |
| 20 |