\LocationTreeDropdown
Create a dropdown from all instances of a class.
Synopsis
class LocationTreeDropdown
extends DropdownField
{
- // members
- protected string $titleFieldName = "Title";
- protected string $prefixChar = '-';
- // methods
- public void __construct()
- public void setTitleFieldName()
- private void _getOptions()
- public void Field()
Hierarchy
Extends
- DropdownField
Members
protected
- $prefixChar — string
- $titleFieldName — string
Methods
private
public
- __construct()
- Field() — Returns a <select> tag containing all the appropriate <option> tags
- setTitleFieldName()