final class TemplateModel (View source)

Methods

__construct(DatabaseInterface $dbi)

No description

string
create(DatabaseName $db, TableName $table, Template $template)

No description

string
delete(DatabaseName $db, TableName $table, string $user, int $id)

No description

Template|string
load(DatabaseName $db, TableName $table, string $user, int $id)

No description

string
update(DatabaseName $db, TableName $table, Template $template)

No description

array|string
getAll(DatabaseName $db, TableName $table, string $user, string $exportType)

No description

Details

__construct(DatabaseInterface $dbi)

No description

Parameters

DatabaseInterface $dbi

string create(DatabaseName $db, TableName $table, Template $template)

No description

Parameters

DatabaseName $db
TableName $table
Template $template

Return Value

string

string delete(DatabaseName $db, TableName $table, string $user, int $id)

No description

Parameters

DatabaseName $db
TableName $table
string $user
int $id

Return Value

string

Template|string load(DatabaseName $db, TableName $table, string $user, int $id)

No description

Parameters

DatabaseName $db
TableName $table
string $user
int $id

Return Value

Template|string

string update(DatabaseName $db, TableName $table, Template $template)

No description

Parameters

DatabaseName $db
TableName $table
Template $template

Return Value

string

array|string getAll(DatabaseName $db, TableName $table, string $user, string $exportType)

No description

Parameters

DatabaseName $db
TableName $table
string $user
string $exportType

Return Value

array|string