PHP 클래스 PMA\libraries\plugins\export\ExportOds

상속: extends PMA\libraries\plugins\ExportPlugin
파일 보기 프로젝트 열기: phpmyadmin/phpmyadmin

공개 메소드들

메소드 설명
__construct ( ) Constructor
exportDBCreate ( string $db, string $export_type, string $db_alias = '' ) : boolean Outputs CREATE DATABASE statement
exportDBFooter ( string $db ) : boolean Outputs database footer
exportDBHeader ( string $db, string $db_alias = '' ) : boolean Outputs database header
exportData ( string $db, string $table, string $crlf, string $error_url, string $sql_query, array $aliases = [] ) : boolean Outputs the content of a table in NHibernate format
exportFooter ( ) : boolean Outputs export footer
exportHeader ( ) : boolean Outputs export header

보호된 메소드들

메소드 설명
setProperties ( ) : void Sets the export ODS properties

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

exportDBCreate() 공개 메소드

Outputs CREATE DATABASE statement
public exportDBCreate ( string $db, string $export_type, string $db_alias = '' ) : boolean
$db string Database name
$export_type string 'server', 'database', 'table'
$db_alias string Aliases of db
리턴 boolean Whether it succeeded

exportDBFooter() 공개 메소드

Outputs database footer
public exportDBFooter ( string $db ) : boolean
$db string Database name
리턴 boolean Whether it succeeded

exportDBHeader() 공개 메소드

Outputs database header
public exportDBHeader ( string $db, string $db_alias = '' ) : boolean
$db string Database name
$db_alias string Aliases of db
리턴 boolean Whether it succeeded

exportData() 공개 메소드

Outputs the content of a table in NHibernate format
public exportData ( string $db, string $table, string $crlf, string $error_url, string $sql_query, array $aliases = [] ) : boolean
$db string database name
$table string table name
$crlf string the end of line sequence
$error_url string the url to go back in case of error
$sql_query string SQL query for obtaining data
$aliases array Aliases of db/table/columns
리턴 boolean Whether it succeeded

exportFooter() 공개 메소드

Outputs export footer
public exportFooter ( ) : boolean
리턴 boolean Whether it succeeded

exportHeader() 공개 메소드

Outputs export header
public exportHeader ( ) : boolean
리턴 boolean Whether it succeeded

setProperties() 보호된 메소드

Sets the export ODS properties
protected setProperties ( ) : void
리턴 void