public static function getColumnType($column)
 {
     if (is_null(self::$version)) {
         self::$version = method_exists('ColumnMap', 'getCreoleType') ? 12 : 13;
     }
     if (self::$version == 12) {
         // Propel 1.2
         if ($type = $column->getCreoleType()) {
             $type = array_key_exists($type, self::$propel12ToDbFinderMap) ? self::$propel12ToDbFinderMap[$type] : $type;
         }
     } else {
         // Propel 1.3
         if ($type = $column->getType()) {
             $type = array_key_exists($type, self::$propel13ToDbFinderMap) ? self::$propel13ToDbFinderMap[$type] : $type;
         }
     }
     return $type;
 }
 /**
  * Returns the column type of one of the columns of the current model
  * 
  * @param string $name a CamelCase column name (e.g. CategoryId)
  *
  * @return string Any of the sfModelFinderColumn constants
  */
 public function getColumnType($name)
 {
     $column = $this->getColumnObject($name);
     return sfPropelFinderColumn::getColumnType($column);
 }