Slight change in GetGroupedValues API

feature/formhandler
Sven Slootweg 10 years ago
parent a6c87d62a5
commit 2db9f1bb7f

@ -472,12 +472,14 @@ class CPHPFormHandler extends CPHPFormValidatorPromiseBaseClass
$this->validation_exceptions = array(); $this->validation_exceptions = array();
} }
public function GetGroupedValues($keys) public function GetGroupedValues()
{ {
/* Returns an array of associative arrays. This is used for forms that have /* Returns an array of associative arrays. This is used for forms that have
* multiple array inputs, and where each input has a corresponding element * multiple array inputs, and where each input has a corresponding element
* for another input name. */ * for another input name. */
$keys = func_get_args();
$sCounts = array(); $sCounts = array();
foreach($keys as $key) foreach($keys as $key)
{ {

Loading…
Cancel
Save