Lines Matching defs:value
47 * When no $value is given, the current content of the attribute is returned.
50 * When a $value is given, the content is set to that value and the Element
54 * @param null|string $value New value to set
57 public function attr($name, $value = null)
60 if ($value !== null) {
61 $this->attributes[$name] = $value;
142 * Get or set the element's value
144 * This is the preferred way of setting the element's value
146 * @param null|string $value
149 public function val($value = null)
151 return $this->attr('value', $value);