Location: PHPKode > projects > Katropine DBmanager > db2mysql2pro/Mysql_Export.php
<?php
class Mysql_Export{
	public static function __data($econfig){
		switch (strtoupper($econfig['export_type'])){
			case 'SQL':
				$string = self::__sql($econfig);
				break;
			case 'CSV':
				$string = self::__csv($econfig);
				break;
			case 'XML':
				$string = self::__xml($econfig);
				break;
			default:
				$string = "No Export Type Selected";
		}
		return $string;
	}
	private static function __sql($econfig){
		return Sql_Export::__table($econfig);
	}
	private static function __csv($econfig){
		return Csv_Export::__table($econfig);
	}
	private static function __xml($econfig){
		return Xml_Export::__table($econfig);
	}
}
?>
Return current item: Katropine DBmanager