Lines Matching defs:val

64         return (bool) $this->val('current', $value);
75 public function val($key, $value = null)
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) {
264 $id = $this->val('id');
267 if ($this->val('mode') == self::MODE_MEDIA) {
278 } elseif ($this->val('mode') == self::MODE_PAGE) {
282 if ($this->val('type') !== DOKU_CHANGE_TYPE_CREATE) {
306 $id = $this->val('id');
307 $rev = $this->isCurrent() ? '' : $this->val('date');
310 if ($this->val('mode') == self::MODE_MEDIA) {
316 } elseif ($this->val('mode') == self::MODE_PAGE) {
347 $id = $this->val('id');
348 if ($this->val('mode') == self::MODE_MEDIA) {
352 } elseif ($this->val('mode') == self::MODE_PAGE) {
371 $value = filesize_h(abs($this->val('sizechange')));
372 if ($this->val('sizechange') > 0) {
375 } elseif ($this->val('sizechange') < 0) {