Changeset 743
- Timestamp:
- 08/25/08 15:18:57 (3 months ago)
- Files:
-
- trunk/lib/Form/Field.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/Form/Field.php
r742 r743 419 419 $this->value_list = $list; 420 420 } 421 function loadPOST(){ 421 function loadPOST(){ 422 422 $data=$_POST[$this->name]; 423 423 if(is_array($data))$data=join(',',$data); … … 441 441 return parent::validate(); 442 442 } 443 function getInput($attr=array()){ 443 function getInput($attr=array()){ echo 'sdfssssssssss<br />'; 444 444 $output=$this->getTag('select',array_merge(array( 445 445 'name'=>$this->name, … … 451 451 $this->attr) 452 452 ); 453 453 454 foreach($this->getValueList() as $value=>$descr){ 454 455 // Check if a separator is not needed identified with _separator< 455 if ($value == '_separator') {456 if ($value === '_separator') { 456 457 $output.= 457 458 $this->getTag('option',array(
