Subversion Repositories PHPX

Rev

Rev 52 | Rev 68 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 58
Line 61... Line 61...
61
61
62
    parent::__construct();
62
    parent::__construct();
63
  }
63
  }
64
64
65
  /**
65
  /**
-
 
66
   * (non-PHPdoc)
-
 
67
   * @see \PointedEars\PHPX\Db\Database::_columnDef()
-
 
68
   */
-
 
69
  protected function _columnDef (array $data, $columnName)
-
 
70
  {
-
 
71
        $standard_Def = parent::_columnDef($data, $columnName);
-
 
72
        $mySQL_def = $standardDef
-
 
73
        . (isset($data['format'])  && $data['format']  ? " COLUMN_FORMAT {$data['format']}" : '')
-
 
74
                  . (isset($data['storage']) && $data['storage'] ? " STORAGE {$data['storage']}"      : '');
-
 
75
-
 
76
        return $mySQL_def;
-
 
77
  }
-
 
78
-
 
79
  /**
66
   * Creates this MySQL database
80
   * Creates this MySQL database
67
   *
81
   *
68
   * @param string $dsn
82
   * @param string $dsn
69
   *   Ignored.  Required for strict compatibility only.
83
   *   Ignored.  Required for strict compatibility only.
70
   * @param string $username = null
84
   * @param string $username = null