package Gems
subpackage Tracker
copyright Copyright (c) 2014 Erasmus MC
license New BSD License
since Class available since version 1.6.3

 Methods

__construct()

__construct(string $modelName = 'fields_maintenance', string $modelField = 'sub'

Parameters

$modelName

string

Hopefully unique model name

$modelField

string

The name of the field used to store the sub model

Get the SQL table name of the union sub model that should be used for this row.

getFieldName($field, $modelName) : string

Parameters

$field

$modelName

Returns

string

Get the SQL table name of the union sub model that should be used for this row.

getTableName(string $modelName) : string

Parameters

$modelName

string

Name of the submodel

Returns

string