Tracking
class Tracking (View source)
PhpMyAdmin\Tracking\Tracking class
Methods
No description
Removes all tracking data for a table or a version of a table
Filters tracking entries
Function to get the list versions of the table
Function to get html for main page parts that do not use $_REQUEST
Function to get the last version number of a table
Function to get html for tracking report and tracking report export
Generate HTML element for report form
Generate HTML for export form
Generate HTML for export form
Function to get html for data manipulation statements
Function to get html for data definition statements in schema snapshot
Function to get html for schema snapshot
Gets the record of a tracking job.
Function to get html for displaying columns in the schema snapshot
Function to get html for the indexes in schema snapshot
Function to delete from a tracking report log
Changes tracking data of a table.
Function to export as sql dump
Function to export as sql execution
No description
Function to activate or deactivate tracking
Function to get tracking set
Deletes a tracking version
Function to create the tracking version
Create tracking version for multiple tables
Function to get the entries
Get HTML for tracked and untracked tables
Details
__construct(SqlQueryForm $sqlQueryForm, Template $template, Relation $relation, DatabaseInterface $dbi, TrackingChecker $trackingChecker)
No description
bool
deleteTracking(string $dbName, string $tableName, string $version = '')
Removes all tracking data for a table or a version of a table
array
filter(array $data, array $filterUsers, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo)
Filters tracking entries
ResultInterface|false
getListOfVersionsOfTable(string $db, string $table)
Function to get the list versions of the table
string
getHtmlForMainPage(string $db, string $table, array $urlParams)
Function to get html for main page parts that do not use $_REQUEST
int
getTableLastVersionNumber(ResultInterface $result)
Function to get the last version number of a table
string
getHtmlForTrackingReport(TrackedData $trackedData, array $urlParams, LogType $logType, array $filterUsers, string $version, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo, string $users)
Function to get html for tracking report and tracking report export
string
getHtmlForElementsOfTrackingReport(LogType $logType, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo, string $users)
Generate HTML element for report form
string
getHtmlForTrackingReportExportForm1(TrackedData $trackedData, array $urlParams, LogType $logType, array $filterUsers, string $htmlForElementsOfTrackingReport, string $dropImageOrText, string $version, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo)
Generate HTML for export form
string
getHtmlForTrackingReportExportForm2(array $urlParams, string $htmlForElementsOfTrackingReport, LogType $logType, string $version, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo, string $users)
Generate HTML for export form
string
getHtmlForDataManipulationStatements(TrackedData $trackedData, array $filterUsers, array $urlParams, int $ddlogCount, string $dropImageOrText, string $version, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo)
Function to get html for data manipulation statements
array
getHtmlForDataDefinitionStatements(TrackedData $trackedData, array $filterUsers, array $urlParams, string $dropImageOrText, string $version, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo)
Function to get html for data definition statements in schema snapshot
string
getHtmlForSchemaSnapshot(string $db, string $table, string $version, array $params)
Function to get html for schema snapshot
TrackedData
getTrackedData(string $dbname, string $tablename, string $version)
Gets the record of a tracking job.
string
getHtmlForColumns(array $columns)
Function to get html for displaying columns in the schema snapshot
string
getHtmlForIndexes(array $indexes)
Function to get html for the indexes in schema snapshot
string
deleteFromTrackingReportLog(string $db, string $table, string $version, array $logData, TrackedDataType $trackedDataType, int $deleteId)
Function to delete from a tracking report log
bool
changeTrackingData(string $dbName, string $tableName, string $version, TrackedDataType $trackedDataType, array $newData)
Changes tracking data of a table.
string
exportAsSqlDump(array $entries)
Function to export as sql dump
void
exportAsSqlExecution(array $entries)
Function to export as sql execution
array
getDownloadInfoForExport(string $table, array $entries)
No description
string
changeTracking(string $db, string $table, string $version, string $action)
Function to activate or deactivate tracking
string
getTrackingSet()
Function to get tracking set
string
deleteTrackingVersion(string $db, string $table, string $version)
Deletes a tracking version
string
createTrackingVersion(string $db, string $table, string $version)
Function to create the tracking version
void
createTrackingForMultipleTables(string $db, array $selected, string $version)
Create tracking version for multiple tables
array
getEntries(TrackedData $trackedData, array $filterUsers, LogType $logType, DateTimeImmutable $dateFrom, DateTimeImmutable $dateTo)
Function to get the entries
string
getHtmlForDbTrackingTables(string $db, array $urlParams)
Get HTML for tracked and untracked tables