Lines Matching refs:value
131 $lang->value = $langValue;
156 public function setFromStoreValue($value): Metadata
159 $this->validityCheck($value);
160 return parent::setFromStoreValue($value);
165 * @param string|null $value
169 public function setValue($value): Metadata
171 $this->validityCheck($value);
172 return parent::setValue($value);
212 private function validityCheck($value)
214 if ($value === "" || $value === null) {
217 if (!StringUtility::match($value, "^[a-zA-Z]{2}$")) {
218 throw new ExceptionCompile("The lang value ($value) for the page ($this) does not have two letters", $this->getCanonical());
230 * TODO: should be base on the page value