Lines Matching defs:values
7 protected $values = [];
10 * Store the given values so they can be used during rendering
14 * @param string[] $values the values to set
15 * @return string[] the values that have been set (options exist)
18 public function storeValues($values)
20 $this->values = [];
21 foreach ($values as $value) {
23 $this->values[] = $value;
27 return $this->values;
37 $selected = in_array((string)$key, $this->values) ? ' selected="selected"' : '';