Changeset 250 for trunk/trax/vendor/trax/action_view
- Timestamp:
- 08/25/06 09:56:48 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php
r242 r250 466 466 * @uses attribute_name 467 467 * @uses object() 468 * @uses ActiveRecord::column_ for_attribute()468 * @uses ActiveRecord::column_type() 469 469 */ 470 470 function column_type() { 471 $column = $this->object()->column_for_attribute($this->attribute_name); 472 return $column['type']; 471 return $this->object()->column_type($this->attribute_name); 473 472 } 474 473
