protected  function _createSchema( MW_DB_Connection_Interface $conn, $adapter, $dbname )
	{
		if( empty( $adapter ) || ctype_alnum( $adapter ) === false ) {
			throw new MW_Setup_Exception( sprintf( 'Invalid database adapter "%1$s"', $adapter ) );
		}

		$classname = 'MW_Setup_DBSchema_' . ucwords( strtolower( $adapter ) );

		if( class_exists( $classname ) === false ) {
			throw new MW_Setup_Exception( sprintf( 'Database schema class "%1$s" not found', $classname ) );
		}

		return new $classname( $conn, $dbname );
	}
protected  function _createSchema( MW_DB_Connection_Interface $conn, $adapter, $dbname )
	{
		if( empty( $adapter ) || ctype_alnum( $adapter ) === false ) {
			throw new MW_Setup_Exception( sprintf( 'Invalid database adapter "%1$s"', $adapter ) );
		}

		$classname = 'MW_Setup_DBSchema_' . ucwords( strtolower( $adapter ) );

		if( class_exists( $classname ) === false ) {
			throw new MW_Setup_Exception( sprintf( 'Database schema class "%1$s" not found', $classname ) );
		}

		return new $classname( $conn, $dbname );
	}
protected function _createSchema ( MW_DB_Connection_Interface $ conn , $ adapter , $ dbname ) { if ( empty ( $ adapter ) || ctype_alnum ( $ adapter ) === false ) { throw new MW_Setup_Exception ( sprintf ( 'Invalid database adapter "%1$s"' , $ adapter ) ) ; } $ classname = 'MW_Setup_DBSchema_' . ucwords ( strtolower ( $ adapter ) ) ; if ( class_exists ( $ classname ) === false ) { throw new MW_Setup_Exception ( sprintf ( 'Database schema class "%1$s" not found' , $ classname ) ) ; } return new $ classname ( $ conn , $ dbname ) ; }
Creates a new database schema object.

@param MW_DB_Connection_Interface $conn Database connection object
@param string $adapter Database adapter, e.g. "mysql", "pgsql", etc.
@param string $dbname Name of the database that will be used
@return MW_Setup_DBSchema_Interface Database schema object
Creates a new database schema object .