프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$db | |||
$diagram | |||
$offline | |||
$orientation | |||
$pageNumber | |||
$paper | |||
$sameWide | |||
$showColor | |||
$showKeys | |||
$tableDimension |
메소드 | 설명 | |
---|---|---|
__construct ( string $db, object $diagram ) | Constructor. | |
dieSchema ( integer $pageNumber, string $type = '', string $error_message = '' ) : void | Displays an error message | |
getOrientation ( ) : string | Returns orientation | |
getPageNumber ( ) : integer | Returns the schema page number | |
getPaper ( ) : string | Returns the paper size | |
isAllTableSameWidth ( ) : boolean | Returns whether to use same width for all tables or not | |
isOffline ( ) : boolean | Returns whether the client side database is used | |
isShowColor ( ) : boolean | Returns whether to show colors | |
isShowKeys ( ) : boolean | Returns whether to show keys | |
isTableDimension ( ) : boolean | Returns whether to show table dimensions | |
setAllTablesSameWidth ( boolean $value ) : void | Set same width of All Tables | |
setOffline ( boolean $value ) : void | Set whether the document is generated from client side DB | |
setOrientation ( string $value ) : void | Set Orientation | |
setPageNumber ( integer $value ) : void | Set Page Number | |
setPaper ( string $value ) : void | Set type of paper | |
setShowColor ( boolean $value ) : void | Sets showColor | |
setShowKeys ( boolean $value ) : void | Set Show only keys | |
setTableDimension ( boolean $value ) : void | Set Table Dimension |
메소드 | 설명 | |
---|---|---|
getFileName ( String $extension ) : string | Returns the file name | |
getTablesFromRequest ( ) : array | Get the table names from the request |
public __construct ( string $db, object $diagram ) | ||
$db | string | database name |
$diagram | object | schema diagram |
protected getFileName ( String $extension ) : string | ||
$extension | String | file extension |
리턴 | string | file name |
public getOrientation ( ) : string | ||
리턴 | string | orientation |
public getPageNumber ( ) : integer | ||
리턴 | integer | schema page number |
protected getTablesFromRequest ( ) : array | ||
리턴 | array | an array of table names |
public isAllTableSameWidth ( ) : boolean | ||
리턴 | boolean | whether to use same width for all tables or not |
public isShowColor ( ) : boolean | ||
리턴 | boolean | whether to show colors |
public isShowKeys ( ) : boolean | ||
리턴 | boolean | whether to show keys |
public isTableDimension ( ) : boolean | ||
리턴 | boolean | whether to show table dimensions |
public setAllTablesSameWidth ( boolean $value ) : void | ||
$value | boolean | set same width of all tables or not |
리턴 | void |
public setOffline ( boolean $value ) : void | ||
$value | boolean | offline or not |
리턴 | void |
public setOrientation ( string $value ) : void | ||
$value | string | Orientation will be portrait or landscape |
리턴 | void |
public setPageNumber ( integer $value ) : void | ||
$value | integer | Page Number of the document to be created |
리턴 | void |
public setShowColor ( boolean $value ) : void | ||
$value | boolean | whether to show colors |
리턴 | void |
public setShowKeys ( boolean $value ) : void | ||
$value | boolean | show only keys or not |
리턴 | void |
public setTableDimension ( boolean $value ) : void | ||
$value | boolean | show table co-ordinates or not |
리턴 | void |