| package | Gems |
|---|---|
| subpackage | Tracker |
| copyright | Copyright (c) 2012 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.6.2 |
_(string $text, string|\Zend_Locale $locale = null) : string
Translates the given string returns the translation
stringTranslation string
string\Zend_Locale(optional) Locale/Language to use, identical with locale identifier, @see \Zend_Locale for more information
string__construct(string $modelName= 'fields_maintenance', string $modelField= 'sub')
stringHopefully unique model name
stringThe name of the field used to store the sub model
_processRowAfterLoad(array $row, boolean $new= false, boolean $isPost= false, array $transformColumns= array()) : array
afterRegistry() : void
This function is no needed if the classes are setup correctly
applyBrowseSettings(boolean $detailed = false) : \Gems\Tracker\Model\FieldMaintenanceModel
booleanFor detailed settings
\Gems\Tracker\Model\FieldMaintenanceModel(continuation pattern)applyDetailSettings() : \Gems\Tracker\Model\FieldMaintenanceModel
\Gems\Tracker\Model\FieldMaintenanceModel(continuation pattern)applyEditSettings() : \Gems\Tracker\Model\FieldMaintenanceModel
\Gems\Tracker\Model\FieldMaintenanceModel(continuation pattern)delete(mixed $filter = true) : integer
mixedTrue to use the stored filter, array to specify a different filter
integerThe number of items deletedgetFieldTypes() : array
arrayof storage name => labelgetModelNameForRow(array $row) : string
array
stringgetTypeDependencyClass(string $fieldType) : string
string
stringClassname including Model\Dependency\ parthasDependencies() : boolean
booleanloadFirst(mixed $filter= true, mixed $sort= true, boolean $loadDependencies= true) : array
mixedTrue to use the stored filter, array to specify a different filteloa
mixedTrue to use the stored sort, array to specify a different sort
booleanWhen true the row dependencies are loaded
arrayAn array or falseplural(string $singular, string $plural, integer $number, string|\Zend_Locale $locale = null) : string
Translates the given string using plural notations Returns the translated string
| see |
|---|
stringSingular translation string
stringPlural translation string
integerNumber for detecting the correct plural
string\Zend_Locale(Optional) Locale/Language to use, identical with locale identifier, @see \Zend_Locale for more information
stringgetFieldType(array $row) : string
arrayLoaded row
stringData type for the rowinitTranslateable()
This function is not needed if the variables have been defined correctly in the source for this object and theose variables have been applied.
return @void
loadCalculationSources(mixed $value, boolean $isNew= false, string $name= null, array $context= array(), boolean $isPost= false) : string
$_addLoadDependency : boolean
false$db : \Zend_Db_Adapter_Abstract
$dependencies : array
array('activity' => 'FromAppointmentsMaintenanceDependency', 'appointment' => 'AppointmentMaintenanceDependency', 'caretaker' => 'FromAppointmentsMaintenanceDependency', 'date' => 'FromAppointmentsMaintenanceDependency', 'datetime' => 'FromAppointmentsMaintenanceDependency', 'location' => 'FromAppointmentsMaintenanceDependency', 'multiselect' => 'ValuesMaintenanceDependency', 'select' => 'ValuesMaintenanceDependency', 'procedure' => 'FromAppointmentsMaintenanceDependency')$loader : \Gems_Loader
$tracker : \Gems_Tracker
$translate : \Zend_Translate
$translateAdapter : \Zend_Translate_Adapter
$util : \Gems_Util
APPOINTMENTS_NAME = 'a'
FIELDS_NAME = 'f'
FIELD_SEP = '|'