Lines Matching refs:value

76      * @param string|null $value
80 public function setValue($value): Metadata argument
82 return $this->setValueWithOrWithoutForce($value);
94 public function setFromStoreValueWithoutException($value): Metadata argument
97 if ($value !== null) {
98 return parent::setFromStoreValueWithoutException($value);
110 return parent::setFromStoreValueWithoutException($value);
122 $value = $metadataFileSystemStore->getFromName(self::getPersistentName());
123 if ($value !== null) {
124 return parent::setFromStoreValueWithoutException($value);
133 $value = $frontmatter->getFromName(self::getPersistentName());
134 if ($value !== null) {
135 return parent::setFromStoreValueWithoutException($value);
146 $value = $dbStore->getFromName(self::getPersistentName());
147 if ($value !== null && $value !== "") {
158 return parent::setFromStoreValueWithoutException($value);
168 return parent::setFromStoreValueWithoutException($value);
178 return parent::setFromStoreValueWithoutException($value);
270 public function setValueForce(?string $value): PageId argument
272 return $this->setValueWithOrWithoutForce($value, true);
281 private function setValueWithOrWithoutForce(?string $value, bool $force = false): PageId argument
283 if ($value === null) {
286 if (!is_string($value) || !preg_match("/[" . self::PAGE_ID_ALPHABET . "]/", $value)) {
287 …throw new ExceptionCompile("The page id value to set ($value) is not an alphanumeric string (Page:…
296 if ($actualId !== null && $actualId !== $value) {
297 …Resource()}) has already an id ($actualId}) that has not the same value ($value})", $this->getCano…
313 return parent::setValue($value);
329 $value = $this->getValue();
333 if ($actualStoreValue !== null && $actualStoreValue !== $value) {
334 …dified once generated. The value in the store is $actualStoreValue while the new value is $value");