class QueueItem in Little helpers 7
Same name and namespace in other branches
- 7.2 src/System/QueueItem.php \Drupal\little_helpers\System\QueueItem
Hierarchy
Expanded class hierarchy of QueueItem
File
- src/
System/ QueueItem.php, line 7
Namespace
Drupal\little_helpers\SystemView source
class QueueItem extends Model {
protected static $table = 'queue';
protected static $key = array(
'item_id',
);
protected static $values = array(
'name',
'data',
'expire',
'created',
);
protected static $serial = TRUE;
protected static $serialize = array(
'data' => TRUE,
);
public static function load($id) {
if ($item = db_query('SELECT * FROM {queue} WHERE item_id=:id', array(
':id' => $id,
))
->fetch()) {
return new static($item);
}
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Model:: |
protected | property | ||
Model:: |
public | function | ||
Model:: |
protected | function | ||
Model:: |
public | function | ||
Model:: |
public | function | ||
Model:: |
protected | function | ||
Model:: |
protected | function | 1 | |
Model:: |
public | function | ||
QueueItem:: |
protected static | property |
Overrides Model:: |
|
QueueItem:: |
protected static | property |
Overrides Model:: |
|
QueueItem:: |
protected static | property |
Overrides Model:: |
|
QueueItem:: |
protected static | property |
Overrides Model:: |
|
QueueItem:: |
protected static | property |
Overrides Model:: |
|
QueueItem:: |
public static | function |