Designer
class Designer (View source)
Set of functions related to database designer
Properties
Template | $template |
Methods
string
getHtmlForEditOrDeletePages(string $db, string $operation)
Function to get html for displaying the page edit/delete form
string
getHtmlForPageSaveAs(string $db)
Function to get html for displaying the page save as form
string
getHtmlForSchemaExport(string $db, int $page)
Function to get html for displaying the schema export
array
returnClassNamesFromMenuButtons()
Returns class names for various buttons on Designer Side Menu
string
getDatabaseTables(string $db, array $designerTables, array $tab_pos, int $display_page, array $tab_column, array $tables_all_keys, array $tables_pk_or_unique_keys)
Get HTML to display tables on designer page
string
getHtmlForMain(string $db, string $getDb, array $designerTables, array $scriptTables, array $scriptContr, array $scriptDisplayField, int $displayPage, bool $visualBuilderMode, string $selectedPage, array $paramsArray, array|null $tabPos, array $tabColumn, array $tablesAllKeys, array $tablesPkOrUniqueKeys)
Returns HTML for Designer page
Details
__construct(DatabaseInterface $dbi, Relation $relation, Template $template)
No description
string
getHtmlForEditOrDeletePages(string $db, string $operation)
Function to get html for displaying the page edit/delete form
string
getHtmlForPageSaveAs(string $db)
Function to get html for displaying the page save as form
string
getHtmlForSchemaExport(string $db, int $page)
Function to get html for displaying the schema export
array
returnClassNamesFromMenuButtons()
Returns class names for various buttons on Designer Side Menu
string
getDatabaseTables(string $db, array $designerTables, array $tab_pos, int $display_page, array $tab_column, array $tables_all_keys, array $tables_pk_or_unique_keys)
Get HTML to display tables on designer page
string
getHtmlForMain(string $db, string $getDb, array $designerTables, array $scriptTables, array $scriptContr, array $scriptDisplayField, int $displayPage, bool $visualBuilderMode, string $selectedPage, array $paramsArray, array|null $tabPos, array $tabColumn, array $tablesAllKeys, array $tablesPkOrUniqueKeys)
Returns HTML for Designer page