diff options
Diffstat (limited to 'libs/HTML/QuickForm2')
-rw-r--r-- | libs/HTML/QuickForm2/Container.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Element.php | 2 | ||||
-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 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Node.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Renderer.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Renderer/Array.php | 2 | ||||
-rw-r--r-- | libs/HTML/QuickForm2/Renderer/Default.php | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/libs/HTML/QuickForm2/Container.php b/libs/HTML/QuickForm2/Container.php index e96a4ff12b..444f740b89 100644 --- a/libs/HTML/QuickForm2/Container.php +++ b/libs/HTML/QuickForm2/Container.php @@ -357,7 +357,7 @@ abstract class HTML_QuickForm2_Container extends HTML_QuickForm2_Node * The default behaviour is just to call the updateValue() methods of * contained elements, since default Container doesn't have any value itself */ - protected function updateValue() + public function updateValue() { foreach ($this as $child) { $child->updateValue(); diff --git a/libs/HTML/QuickForm2/Element.php b/libs/HTML/QuickForm2/Element.php index 1ce181fcb8..3677b30add 100644 --- a/libs/HTML/QuickForm2/Element.php +++ b/libs/HTML/QuickForm2/Element.php @@ -92,7 +92,7 @@ abstract class HTML_QuickForm2_Element extends HTML_QuickForm2_Node * The default behaviour is to go through the complete list of the data * sources until the non-null value is found. */ - protected function updateValue() + public function updateValue() { $name = $this->getName(); foreach ($this->getDataSources() as $ds) { 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 && diff --git a/libs/HTML/QuickForm2/Node.php b/libs/HTML/QuickForm2/Node.php index b957ec1477..358f3f66a6 100644 --- a/libs/HTML/QuickForm2/Node.php +++ b/libs/HTML/QuickForm2/Node.php @@ -477,7 +477,7 @@ abstract class HTML_QuickForm2_Node extends HTML_Common2 /** * Called when the element needs to update its value from form's data sources */ - abstract protected function updateValue(); + abstract public function updateValue(); /** * Adds a validation rule diff --git a/libs/HTML/QuickForm2/Renderer.php b/libs/HTML/QuickForm2/Renderer.php index 67dbfe99a4..8de745308d 100644 --- a/libs/HTML/QuickForm2/Renderer.php +++ b/libs/HTML/QuickForm2/Renderer.php @@ -212,7 +212,7 @@ abstract class HTML_QuickForm2_Renderer * * @return array */ - protected function exportMethods() + public function exportMethods() { return array(); } diff --git a/libs/HTML/QuickForm2/Renderer/Array.php b/libs/HTML/QuickForm2/Renderer/Array.php index 975aaed76a..f415ea96b6 100644 --- a/libs/HTML/QuickForm2/Renderer/Array.php +++ b/libs/HTML/QuickForm2/Renderer/Array.php @@ -160,7 +160,7 @@ class HTML_QuickForm2_Renderer_Array extends HTML_QuickForm2_Renderer $this->options['static_labels'] = false; } - protected function exportMethods() + public function exportMethods() { return array( 'reset', diff --git a/libs/HTML/QuickForm2/Renderer/Default.php b/libs/HTML/QuickForm2/Renderer/Default.php index c688889cb4..40a5b77b5f 100644 --- a/libs/HTML/QuickForm2/Renderer/Default.php +++ b/libs/HTML/QuickForm2/Renderer/Default.php @@ -149,7 +149,7 @@ class HTML_QuickForm2_Renderer_Default extends HTML_QuickForm2_Renderer */ public $groupId = array(); - protected function exportMethods() + public function exportMethods() { return array( 'reset', |