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
string
Translation 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'
)
string
Hopefully unique model name
string
The 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
boolean
For 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
mixed
True to use the stored filter, array to specify a different filter
integer
The number of items deletedgetFieldTypes() : array
array
of storage name => labelgetModelNameForRow(array $row) : string
array
string
getTypeDependencyClass(string $fieldType) : string
string
string
Classname including Model\Dependency\ parthasDependencies() : boolean
boolean
loadFirst(mixed $filter= true
, mixed $sort= true
, boolean $loadDependencies= true
) : array
mixed
True to use the stored filter, array to specify a different filteloa
mixed
True to use the stored sort, array to specify a different sort
boolean
When true the row dependencies are loaded
array
An 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 |
---|
string
Singular translation string
string
Plural translation string
integer
Number for detecting the correct plural
string
\Zend_Locale
(Optional) Locale/Language to use, identical with locale identifier, @see \Zend_Locale for more information
string
getFieldType(array $row) : string
array
Loaded row
string
Data 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 = '|'