| 1 | <?php |
||
| 5 | class Sync_State { |
||
| 6 | |||
| 7 | public $started; |
||
| 8 | public $index; |
||
| 9 | public $count; |
||
| 10 | public $last_update; |
||
| 11 | public $state; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Sync_Model constructor. |
||
| 15 | * |
||
| 16 | * @param $started |
||
| 17 | * @param $index |
||
| 18 | * @param $count |
||
| 19 | * @param $last_update |
||
| 20 | * @param $state |
||
| 21 | */ |
||
| 22 | public function __construct( $started, $index, $count, $last_update, $state ) { |
||
| 29 | |||
| 30 | public function increment_index( $count ) { |
||
| 36 | |||
| 37 | public function set_state( $value ) { |
||
| 43 | |||
| 44 | public function get_array() { |
||
| 53 | |||
| 54 | public static function unknown() { |
||
| 58 | |||
| 59 | } |