Symbiote\DynamicLists\DependentDynamicListDropdownField
- Author: Marcus Nyeholt <marcus@symbiote.com.au>
Synopsis
class DependentDynamicListDropdownField
extends DynamicListField
{
- // members
- protected $dependentLists;
- protected String $dependentOn;
- protected array $extraClasses = ;
- // Inherited members from DynamicListField
- protected array $extraClasses;
- // methods
- public void __construct()
- public void Field()
- public bool validate()
- public void performReadonlyTransformation()
- // Inherited methods from DynamicListField
- public void __construct()
Hierarchy
Members
protected
- $dependentLists
—
array
The lists that should be used to populate the dynamic list - $dependentOn
—
Symbiote\DynamicLists\String
The Name of the other form control that we're dependent upon - $extraClasses
- $extraClasses
Methods
public
- __construct()
- Field()
- performReadonlyTransformation() — Returns a readonly version of this field
- validate() — Override method for validation to use dynamic list based off the parent's value. Overridden due to null source.