Changeset 3068
- Timestamp:
- 12/17/06 16:57:59 (2 years ago)
- Files:
-
- trunk/lib/helper/ObjectHelper.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/helper/ObjectHelper.php
r2971 r3068 35 35 $options = _parse_attributes($options); 36 36 37 $value = _get_object_value($object, $method, $default_value, $param = ' m/d/y');37 $value = _get_object_value($object, $method, $default_value, $param = 'Y-m-d'); 38 38 39 39 return input_date_tag(_convert_method_to_name($method, $options), $value, $options); … … 160 160 // which method to call? 161 161 $methodToCall = ''; 162 foreach (array($text_method, ' toString', '__toString', 'getPrimaryKey') as $method)162 foreach (array($text_method, '__toString', 'toString', 'getPrimaryKey') as $method) 163 163 { 164 164 if (is_callable(array($objects[0], $method)))