Changeset 3959
- Timestamp:
- 03/10/08 06:30:20 (16 months ago)
- Files:
-
- 1 modified
-
branches/0.10/lib/Doctrine/Table.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Table.php
r3951 r3959 877 877 public function getColumnName($fieldName) 878 878 { 879 // FIX ME: This is being used in places where an array is passed, but it should not be an array 880 // For example in places where Doctrine should support composite foreign/primary keys 881 $fieldName = is_array($fieldName) ? $fieldName[0]:$fieldName; 882 879 883 if (isset($this->_columnNames[$fieldName])) { 880 884 return $this->_columnNames[$fieldName]; 881 885 } 886 882 887 return $fieldName; 883 888 } 884 889 885 890 /** 886 * 887 * 891 * getColumnDefinition 892 * 893 * @param string $columnName 894 * @return void 888 895 */ 889 896 public function getColumnDefinition($columnName)