Lines Matching refs:val

64         return (bool) $this->val('current', $value);
75 public function val($key, $value = null) function in dokuwiki\\ChangeLog\\RevisionInfo
97 $this->val($key, $value);
110 $id = $this->val('id');
111 if ($this->val('mode') == self::MODE_MEDIA) {
114 } elseif ($this->val('mode') == self::MODE_PAGE) {
129 $formatted = dformat($this->val('date'));
130 if ($checkTimestamp && $this->val('timestamp') === false) {
146 return '<span class="sum">' . ' – ' . hsc($this->val('sum')) . '</span>';
157 if ($this->val('user')) {
158 $html = '<bdi>' . editorinfo($this->val('user')) . '</bdi>';
160 $html .= ' <bdo dir="ltr">(' . $this->val('ip') . ')</bdo>';
163 $html = '<bdo dir="ltr">' . $this->val('ip') . '</bdo>';
176 $id = $this->val('id');
177 $rev = $this->isCurrent() ? '' : $this->val('date');
179 if ($this->val('mode') == self::MODE_MEDIA) {
186 } elseif ($this->val('mode') == self::MODE_PAGE) {
204 if ($this->val('type') == DOKU_CHANGE_TYPE_DELETE) {
219 if (!$this->val('date')) return '&mdash;';
221 $id = $this->val('id');
222 $rev = $this->isCurrent() ? '' : $this->val('date');
226 $date = ($this->val('timestamp') === false)
228 : dformat($this->val('date'));
231 if ($this->val('mode') == self::MODE_MEDIA) {
235 } elseif ($this->val('mode') == self::MODE_PAGE) {
249 if ($this->val('type') == DOKU_CHANGE_TYPE_DELETE) {
269 $id = $this->val('id');
272 if ($this->val('mode') == self::MODE_MEDIA) {
283 } elseif ($this->val('mode') == self::MODE_PAGE) {
287 if ($this->val('type') !== DOKU_CHANGE_TYPE_CREATE) {
316 $id = $this->val('id');
317 $rev = $this->isCurrent() ? '' : $this->val('date');
320 if ($this->val('mode') == self::MODE_MEDIA) {
326 } elseif ($this->val('mode') == self::MODE_PAGE) {
357 $id = $this->val('id');
358 if ($this->val('mode') == self::MODE_MEDIA) {
362 } elseif ($this->val('mode') == self::MODE_PAGE) {
381 $value = filesize_h(abs($this->val('sizechange')));
382 if ($this->val('sizechange') > 0) {
385 } elseif ($this->val('sizechange') < 0) {