WP_CLI
2 years ago
abstracts
2 years ago
actions
2 years ago
data-stores
2 years ago
migration
2 years ago
schedules
2 years ago
schema
2 years ago
ActionScheduler_ActionClaim.php
2 years ago
ActionScheduler_ActionFactory.php
2 years ago
ActionScheduler_AdminView.php
2 years ago
ActionScheduler_AsyncRequest_QueueRunner.php
2 years ago
ActionScheduler_Compatibility.php
2 years ago
ActionScheduler_DataController.php
2 years ago
ActionScheduler_DateTime.php
2 years ago
ActionScheduler_Exception.php
2 years ago
ActionScheduler_FatalErrorMonitor.php
2 years ago
ActionScheduler_InvalidActionException.php
2 years ago
ActionScheduler_ListTable.php
2 years ago
ActionScheduler_LogEntry.php
2 years ago
ActionScheduler_NullLogEntry.php
2 years ago
ActionScheduler_OptionLock.php
2 years ago
ActionScheduler_QueueCleaner.php
2 years ago
ActionScheduler_QueueRunner.php
2 years ago
ActionScheduler_Versions.php
2 years ago
ActionScheduler_WPCommentCleaner.php
2 years ago
ActionScheduler_wcSystemStatus.php
2 years ago
ActionScheduler_ActionClaim.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Class ActionScheduler_ActionClaim |
| 5 | */ |
| 6 | class ActionScheduler_ActionClaim { |
| 7 | private $id = ''; |
| 8 | private $action_ids = array(); |
| 9 | |
| 10 | public function __construct( $id, array $action_ids ) { |
| 11 | $this->id = $id; |
| 12 | $this->action_ids = $action_ids; |
| 13 | } |
| 14 | |
| 15 | public function get_id() { |
| 16 | return $this->id; |
| 17 | } |
| 18 | |
| 19 | public function get_actions() { |
| 20 | return $this->action_ids; |
| 21 | } |
| 22 | } |
| 23 |