Location: PHPKode > projects > Maintainable PHP Framework > vendor/Horde/Db/Adapter/Mysql/TableDefinition.php
<?php
/**
 * Copyright 2007 Maintainable Software, LLC
 * Copyright 2008 The Horde Project (http://www.horde.org/)
 *
 * @author     Mike Naberezny <hide@address.com>
 * @author     Derek DeVries <hide@address.com>
 * @author     Chuck Hagenbuch <hide@address.com>
 * @license    http://opensource.org/licenses/bsd-license.php
 * @category   Horde
 * @package    Horde_Db
 * @subpackage Adapter
 */

/**
 * @author     Mike Naberezny <hide@address.com>
 * @author     Derek DeVries <hide@address.com>
 * @author     Chuck Hagenbuch <hide@address.com>
 * @license    http://opensource.org/licenses/bsd-license.php
 * @category   Horde
 * @package    Horde_Db
 * @subpackage Adapter
 */
class Horde_Db_Adapter_Mysql_TableDefinition extends Horde_Db_Adapter_Abstract_TableDefinition
{
    /**
     * @param   string  $name
     * @param   array   $options
     */
    public function end()
    {
        if (empty($this->_options['temporary'])) {
            $this->_options['options'] = 'ENGINE=InnoDB';
        }
        return parent::end();
    }

}
Return current item: Maintainable PHP Framework