Lines Matching refs:data
18 protected $data; variable in dokuwiki\\Feed\\FeedItemProcessor
24 * @param array $data Needs to have at least an 'id' key
26 public function __construct($data) argument
28 if (!isset($data['id'])) throw new RuntimeException('Missing ID');
29 $this->id = cleanID($data['id']);
30 $this->data = $data;
56 if ($this->data['rev'] ?? 0) return $this->data['rev'];
58 if (isset($this->data['date'])) {
59 $this->data['rev'] = (int)$this->data['date'];
62 if (isset($this->data['lastmodified'])) {
63 $this->data['rev'] = (int)$this->data['lastmodified'];
66 return $this->data['rev'] ?? 0;
82 return $this->data['title'] ?? noNS($this->getId());
100 return (string)($this->data['sum'] ?? '');
113 $user = $this->data['user'] ?? '';