You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
339 B
PHTML
20 lines
339 B
PHTML
3 years ago
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Class that represents a request for key syncing
|
||
|
*/
|
||
|
class SyncRequest extends Record {
|
||
|
/**
|
||
|
* Defines the database table that this object is stored in
|
||
|
*/
|
||
|
protected $table = 'sync_request';
|
||
|
|
||
|
/**
|
||
|
* Mark this request as in progress
|
||
|
*/
|
||
|
public function set_in_progress() {
|
||
|
$this->processing = true;
|
||
|
$this->update();
|
||
|
}
|
||
|
}
|