class RelationCleanup (View source)

Set of functions used for cleaning up phpMyAdmin tables

Properties

Relation $relation
DatabaseInterface $dbi

Methods

__construct(DatabaseInterface $dbi, Relation $relation)

No description

void
column(string $db, string $table, string $column)

Cleanup column related relation stuff

void
table(string $db, string $table)

Cleanup table related relation stuff

void
database(string $db)

Cleanup database related relation stuff

void
user(string $username)

Cleanup user related relation stuff

Details

__construct(DatabaseInterface $dbi, Relation $relation)

No description

Parameters

DatabaseInterface $dbi

DatabaseInterface object

Relation $relation

Relation object

void column(string $db, string $table, string $column)

Cleanup column related relation stuff

Parameters

string $db

database name

string $table

table name

string $column

column name

Return Value

void

void table(string $db, string $table)

Cleanup table related relation stuff

Parameters

string $db

database name

string $table

table name

Return Value

void

void database(string $db)

Cleanup database related relation stuff

Parameters

string $db

database name

Return Value

void

void user(string $username)

Cleanup user related relation stuff

Parameters

string $username username

Return Value

void