Lines Matching defs:value
55 * set value of associated "current" key for internal use. Some UI element like diff
59 * @param bool $value true if the revision is current, otherwise false
62 public function isCurrent($value = null)
64 return (bool) $this->val('current', $value);
68 * Return or set a value of associated key of revision information
72 * @param mixed $value
75 public function val($key, $value = null)
77 if (isset($value) && !array_key_exists($key, $this->info)) {
79 $this->info[$key] = $value;
89 * Set extra key-value to the revision information
96 foreach ($info as $key => $value) {
97 $this->val($key, $value);
371 $value = filesize_h(abs($this->val('sizechange')));
374 $value = '+' . $value;
377 $value = '-' . $value;
379 $value = '±' . $value;
381 return '<span class="' . $class . '">' . $value . '</span>';