diff options
Diffstat (limited to 'libs/HTML/QuickForm2/Element')
-rw-r--r-- | libs/HTML/QuickForm2/Element/Button.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element/Date.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element/InputCheckbox.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element/InputFile.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element/InputImage.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element/InputSubmit.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element/Select.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element/Static.php | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/libs/HTML/QuickForm2/Element/Button.php b/libs/HTML/QuickForm2/Element/Button.php index b53f28902b..845d49c439 100644 --- a/libs/HTML/QuickForm2/Element/Button.php +++ b/libs/HTML/QuickForm2/Element/Button.php @@ -145,7 +145,7 @@ class HTML_QuickForm2_Element_Button extends HTML_QuickForm2_Element '>' . $this->data['content'] . '</button>'; } - protected function updateValue() + public function updateValue() { foreach ($this->getDataSources() as $ds) { if ($ds instanceof HTML_QuickForm2_DataSource_Submit && diff --git a/libs/HTML/QuickForm2/Element/Date.php b/libs/HTML/QuickForm2/Element/Date.php index c1a26c0a0e..b7e620691b 100644 --- a/libs/HTML/QuickForm2/Element/Date.php +++ b/libs/HTML/QuickForm2/Element/Date.php @@ -309,7 +309,7 @@ class HTML_QuickForm2_Element_Date extends HTML_QuickForm2_Container_Group * Since the date element also accepts a timestamp as value, the default * group behavior is changed. */ - protected function updateValue() + public function updateValue() { $name = $this->getName(); foreach ($this->getDataSources() as $ds) { diff --git a/libs/HTML/QuickForm2/Element/InputCheckbox.php b/libs/HTML/QuickForm2/Element/InputCheckbox.php index 70510b1b4b..a3e510cb3b 100644 --- a/libs/HTML/QuickForm2/Element/InputCheckbox.php +++ b/libs/HTML/QuickForm2/Element/InputCheckbox.php @@ -74,7 +74,7 @@ class HTML_QuickForm2_Element_InputCheckbox extends HTML_QuickForm2_Element_Inpu } } - protected function updateValue() + public function updateValue() { $name = $this->getName(); if ('[]' == substr($name, -2)) { diff --git a/libs/HTML/QuickForm2/Element/InputFile.php b/libs/HTML/QuickForm2/Element/InputFile.php index fc52eca400..784e6d3379 100644 --- a/libs/HTML/QuickForm2/Element/InputFile.php +++ b/libs/HTML/QuickForm2/Element/InputFile.php @@ -198,7 +198,7 @@ class HTML_QuickForm2_Element_InputFile extends HTML_QuickForm2_Element_Input return $this; } - protected function updateValue() + public function updateValue() { foreach ($this->getDataSources() as $ds) { if ($ds instanceof HTML_QuickForm2_DataSource_Submit) { diff --git a/libs/HTML/QuickForm2/Element/InputImage.php b/libs/HTML/QuickForm2/Element/InputImage.php index 86748ad82a..b621e98118 100644 --- a/libs/HTML/QuickForm2/Element/InputImage.php +++ b/libs/HTML/QuickForm2/Element/InputImage.php @@ -128,7 +128,7 @@ class HTML_QuickForm2_Element_InputImage extends HTML_QuickForm2_Element_Input } } - protected function updateValue() + public function updateValue() { foreach ($this->getDataSources() as $ds) { if ($ds instanceof HTML_QuickForm2_DataSource_Submit) { diff --git a/libs/HTML/QuickForm2/Element/InputSubmit.php b/libs/HTML/QuickForm2/Element/InputSubmit.php index de286eaf2b..8b06eb9c78 100644 --- a/libs/HTML/QuickForm2/Element/InputSubmit.php +++ b/libs/HTML/QuickForm2/Element/InputSubmit.php @@ -104,7 +104,7 @@ class HTML_QuickForm2_Element_InputSubmit extends HTML_QuickForm2_Element_Input return $this->getAttribute('disabled')? null: $this->applyFilters($this->submitValue); } - protected function updateValue() + public function updateValue() { foreach ($this->getDataSources() as $ds) { if ($ds instanceof HTML_QuickForm2_DataSource_Submit && diff --git a/libs/HTML/QuickForm2/Element/Select.php b/libs/HTML/QuickForm2/Element/Select.php index 6803035543..2c852d6af7 100644 --- a/libs/HTML/QuickForm2/Element/Select.php +++ b/libs/HTML/QuickForm2/Element/Select.php @@ -555,7 +555,7 @@ class HTML_QuickForm2_Element_Select extends HTML_QuickForm2_Element return $this->optionContainer->addOptgroup($label, $attributes); } - protected function updateValue() + public function updateValue() { if (!$this->getAttribute('multiple')) { parent::updateValue(); diff --git a/libs/HTML/QuickForm2/Element/Static.php b/libs/HTML/QuickForm2/Element/Static.php index cf0bbba5ba..a66998bdaa 100644 --- a/libs/HTML/QuickForm2/Element/Static.php +++ b/libs/HTML/QuickForm2/Element/Static.php @@ -138,7 +138,7 @@ class HTML_QuickForm2_Element_Static extends HTML_QuickForm2_Element * * Static elements content can be updated with default form values. */ - protected function updateValue() + public function updateValue() { foreach ($this->getDataSources() as $ds) { if (!$ds instanceof HTML_QuickForm2_DataSource_Submit && |