32 const CHARSET_KEY =
'charset';
58 if (!$loader || !$generator) {
60 case $adapter instanceof Zend_Db_Adapter_Mysqli:
61 case $adapter instanceof Zend_Db_Adapter_Pdo_Mysql:
73 $this->_generator = $generator;
74 $this->_loader = $loader;
75 $this->_adapter = $adapter;
111 $this->_cleanSchema = $this->_loader->load(
125 $this->
__set(self::CHARSET_KEY, (
string) $charset);
136 return $this->
__get(self::CHARSET_KEY);
145 public function __set($name, $value)
147 if (self::NAME_KEY == $name && $value) {
148 if ($this->_name != $value && $this->
getAdapter()->hasDatabase($value)) {