Changeset 102 for trunk/trax/vendor/trax/action_view
- Timestamp:
- 12/15/05 19:36:34 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers/form_helper.php
r99 r102 37 37 38 38 function value() { 39 $object = $this->object(); 40 if(is_object($object) && $this->field_name) { 41 return $object->send($this->field_name); 42 } 39 if(!$value = $_REQUEST[$this->object_name][$this->field_name]) { 40 $object = $this->object(); 41 if(is_object($object) && $this->field_name) { 42 $value = $object->send($this->field_name); 43 } 44 } 45 return $value; 43 46 } 44 47
