DatabaseField.php
public static function createChar($name, $size)
    {
        $field = new DatabaseField($name, self::TYPE_CHAR);
        $field->m_constraint = intval($size);
        return $field;
    }
public static function createChar($name, $size)
    {
        $field = new DatabaseField($name, self::TYPE_CHAR);
        $field->m_constraint = intval($size);
        return $field;
    }
public static function createChar ( $ name , $ size ) { $ field = new DatabaseField ( $ name , self :: TYPE_CHAR ) ; $ field -> m_constraint = intval ( $ size ) ; return $ field ; }
for creating a varchar.
@param type $numChars
@param type $allow_null
@param type $default_null
@return array $specification - the specification necessary for dbforge.
for creating a varchar .