Default dependency for any AppointFilter

package Gems
subpackage Agenda
copyright Copyright (c) 2014 Erasmus MC
license New BSD License
since Class available since version 1.6.5 16-okt-2014 16:56:22
inherited_from \Gems\Agenda\FilterModelDependencyAbstract

 Methods

Called after the check that all required registry values have been set correctly has run.

afterRegistry() : void
inherited_from \Gems\Agenda\FilterModelDependencyAbstract::afterRegistry()

Called after the check that all required registry values have been set correctly has run.

afterRegistry() : void
Inherited

A ModelAbstract->setOnSave() function that returns the input date as a valid date.

calcultateAndCheckName(mixed $value, boolean $isNew = false, string $name = null, array $context = array()) : \Zend_Date
Inherited
see

Parameters

$value

mixed

The value being saved

$isNew

boolean

True when a new item is being saved

$name

string

The name of the current field

$context

array

Optional, the other values being saved

Returns

\Zend_Date

A ModelAbstract->setOnSave() function that returns the input date as a valid date.

calcultateName(mixed $value, boolean $isNew = false, string $name = null, array $context = array()) : string
see
inherited_from \Gems\Agenda\FilterModelDependencyAbstract::calcultateName()

Parameters

$value

mixed

The value being saved

$isNew

boolean

True when a new item is being saved

$name

string

The name of the current field

$context

array

Optional, the other values being saved

Returns

string

A ModelAbstract->setOnSave() function that returns the input date as a valid date.

calcultateName(mixed $value, boolean $isNew = false, string $name = null, array $context = array()) : \Zend_Date
Inherited
see

Parameters

$value

mixed

The value being saved

$isNew

boolean

True when a new item is being saved

$name

string

The name of the current field

$context

array

Optional, the other values being saved

Returns

\Zend_Date

Get the class name for the filters, the part after *_Agenda_Filter_

getFilterClass() : string
inherited_from \Gems\Agenda\FilterModelDependencyAbstract::getFilterClass()

Returns

string

Get the class name for the filters, the part after *_Agenda_Filter_

getFilterClass() : string
Inherited

Returns

string

Get the name for this filter class

getFilterName() : string
inherited_from \Gems\Agenda\FilterModelDependencyAbstract::getFilterName()

Returns

string

Get the name for this filter class

getFilterName() : string
Inherited

Returns

string

Get the settings for the gaf_filter_textN fields

getTextSettings() : array

Fields not in this array are not shown in any way

inherited_from \Gems\Agenda\FilterModelDependencyAbstract::getTextSettings()

Returns

arraygaf_filter_textN => array(modelFieldName => fieldValue)

Get the settings for the gaf_filter_textN fields

getTextSettings() : array
Inherited

Fields not in this array are not shown in any way

Returns

arraygaf_filter_textN => array(modelFieldName => fieldValue)

Set the maximum length of the calculated name field

setMaximumCalcLength(integer $length = 200) : \Gems\Agenda\FilterModelDependencyAbstract
Inherited

Parameters

$length

integer

Returns

\Gems\Agenda\FilterModelDependencyAbstract

 Properties

 

Array of name => name of items dependency depends on.

$_dependentOn : array

Default

array('gaf_class')

Can be overriden in sub class

 

The number of gaf_filter_textN fields/

$_fieldCount : integer

Default

4
 

filter_id => label

$_filters : array

Default

 

The maximum length of the calculated name

$_maxNameCalcLength : integer

Default

200
 

$agenda

$agenda : \Gems_Agenda

Default

 

$util

$util : \Gems_Util

Default