mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 09:14:58 +02:00
Bump version to 3.0.231
This commit is contained in:
@@ -79,7 +79,7 @@ class ProcessWire extends Wire {
|
|||||||
* Reversion revision number
|
* Reversion revision number
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const versionRevision = 230;
|
const versionRevision = 231;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Version suffix string (when applicable)
|
* Version suffix string (when applicable)
|
||||||
|
@@ -746,6 +746,21 @@ class InputfieldTextTags extends Inputfield implements
|
|||||||
return $this->addTag($value, $label);
|
return $this->addTag($value, $label);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add multiple selectable options
|
||||||
|
*
|
||||||
|
* @param array $options
|
||||||
|
* @return self
|
||||||
|
* @since 3.0.131
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public function addOptions(array $options) {
|
||||||
|
foreach($options as $value => $label) {
|
||||||
|
$this->addTag($value, $label);
|
||||||
|
}
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add selectable option with label, optionally for specific language
|
* Add selectable option with label, optionally for specific language
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user