Lines Matching defs:id
15 protected $id;
24 * @param string $id page id
27 public function __construct($id, $chunk_size = 8192)
32 if (!isset($this->cache[$id])) {
33 $this->cache[$id] = [];
36 $this->id = $id;
119 $this->cache[$this->id][$info['date']] ??= $info;
139 * - id: page id
161 if (isset($this->cache[$this->id][$rev])) {
162 return $this->cache[$this->id][$rev];
177 return $this->cache[$this->id][$rev] ?? false;
307 * Get the nth revision left or right-hand side for a specific page id and revision (timestamp)
459 //requested date_at(timestamp) younger or equal then modified_time($this->id) => load current
589 * - id: id of page or media
608 // get revision id from the item file timestamp and changelog
634 'id' => $this->id,
673 'id' => $this->id,
685 $this->cache[$this->id][$this->currentRevision] = $revInfo;