diff --git a/core/Form/PlainForm.class.php b/core/Form/PlainForm.class.php index 303ec94c9d..51665ca774 100644 --- a/core/Form/PlainForm.class.php +++ b/core/Form/PlainForm.class.php @@ -116,6 +116,15 @@ public function getRawValue($name) return $this->get($name)->getRawValue(); } + public function getValueOrDefault($name) + { + return $this->get($name)->getValueOrDefault(); + } + + /** + * @deprecated since version 1.0 + * @see getValueOrDefault + */ public function getActualValue($name) { return $this->get($name)->getActualValue(); @@ -160,4 +169,4 @@ public function getPrimitiveList() return $this->primitives; } } -?> \ No newline at end of file + \ No newline at end of file