Results
class Results (View source)
Handle all the functionalities related to displaying results of sql queries, stored procedure, browsing sql processes or displaying binary log.
Constants
private POSITION_LEFT |
|
private POSITION_RIGHT |
|
private POSITION_BOTH |
|
private POSITION_NONE |
|
DISPLAY_FULL_TEXT |
|
DISPLAY_PARTIAL_TEXT |
|
RELATIONAL_KEY |
|
RELATIONAL_DISPLAY_COLUMN |
|
GEOMETRY_DISP_GEOM |
|
GEOMETRY_DISP_WKT |
|
GEOMETRY_DISP_WKB |
|
private SMART_SORT_ORDER |
|
private ASCENDING_SORT_DIR |
|
private DESCENDING_SORT_DIR |
|
ALL_ROWS |
|
private ACTION_LINK_CONTENT_ICONS |
|
private ACTION_LINK_CONTENT_TEXT |
|
Properties
Template | $template |
Methods
__construct(DatabaseInterface $dbi, Config $config, string $db, string $table, int $server, string $goto, string $sqlQuery)
No description
void
setProperties(int|string $unlimNumRows, array $fieldsMeta, bool $isCount, bool $isGroup, bool $isExport, bool $isFunction, bool $isAnalyse, int|string $numRows, float $queryTime, bool $isMaintenance, bool $isExplain, bool $isShow, bool $printView, bool $editable, bool $isBrowseDistinct)
Set properties which were not initialized at the constructor
void
setConfigParamsForDisplayTable(StatementInfo $statementInfo)
Checks the posted options for viewing query results and sets appropriate values in the session.
string
getTable(ResultInterface $dtResult, DisplayParts $displayParts, StatementInfo $statementInfo, bool $isLimitedDisplay = false)
Prepare a table of results returned by a SQL query.
Details
__construct(DatabaseInterface $dbi, Config $config, string $db, string $table, int $server, string $goto, string $sqlQuery)
No description
void
setProperties(int|string $unlimNumRows, array $fieldsMeta, bool $isCount, bool $isGroup, bool $isExport, bool $isFunction, bool $isAnalyse, int|string $numRows, float $queryTime, bool $isMaintenance, bool $isExplain, bool $isShow, bool $printView, bool $editable, bool $isBrowseDistinct)
Set properties which were not initialized at the constructor
void
setConfigParamsForDisplayTable(StatementInfo $statementInfo)
Checks the posted options for viewing query results and sets appropriate values in the session.
string
getTable(ResultInterface $dtResult, DisplayParts $displayParts, StatementInfo $statementInfo, bool $isLimitedDisplay = false)
Prepare a table of results returned by a SQL query.