RecentFavoriteTables
class RecentFavoriteTables (View source)
Handles the recently used and favorite tables.
Methods
__destruct()
No description
static RecentFavoriteTables
getInstance(TableType $type)
Returns class instance.
array
getTables()
Returns the recent/favorite tables array
string
getHtmlList()
Return HTML ul.
Message
Message
removeIfInvalid(RecentFavoriteTable $tableToRemove)
Removes recent/favorite tables that don't exist.
Message
bool
contains(RecentFavoriteTable $currentTable)
Function to check if a table is already in favorite list.
string
getHtmlSyncFavoriteTables()
Generate Html for sync Favorite tables anchor. (from localStorage to pmadb)
Details
__destruct()
No description
static RecentFavoriteTables
getInstance(TableType $type)
Returns class instance.
array
getTables()
Returns the recent/favorite tables array
string
getHtmlList()
Return HTML ul.
Message
add(RecentFavoriteTable $newTable)
No description
Message
removeIfInvalid(RecentFavoriteTable $tableToRemove)
Removes recent/favorite tables that don't exist.
Message
remove(RecentFavoriteTable $tableToRemove)
No description
bool
contains(RecentFavoriteTable $currentTable)
Function to check if a table is already in favorite list.
string
getHtmlSyncFavoriteTables()
Generate Html for sync Favorite tables anchor. (from localStorage to pmadb)