Changeset 4368
- Timestamp:
- 05/17/08 01:33:43 (8 months ago)
- Files:
-
- 1 modified
-
branches/0.11/lib/Doctrine/I18n.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/I18n.php
r4252 r4368 40 40 'pluginTable' => false, 41 41 'children' => array(), 42 'type' => 'string', 43 'length' => 2, 44 'options' => array() 42 45 ); 43 46 … … 84 87 $this->hasColumns($columns); 85 88 86 $this->hasColumn('lang', 'string', 2, array('fixed' => true, 87 'primary' => true)); 88 89 $options = $this->_options['options']; 90 $options['fixed'] = true; 91 $options['primary'] = true; 92 93 $this->hasColumn('lang', $this->_options['type'], $this->_options['length'], $options); 94 89 95 $this->bindQueryParts(array('indexBy' => 'lang')); 90 96 }