OptionsPropertyGroup
abstract class OptionsPropertyGroup extends OptionsPropertyItem implements Countable (View source)
Parents group property items and provides methods to manage groups of properties.
Methods
Returns the property type ( either "options", or "plugin" ).
Returns the property item type of either an instance of
- PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
- PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main" or "subgroup" )
- PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
Gets the instance of the class
No description
Gets the group of properties
Gets the number of properties
Countable interface implementation.
Details
string
getPropertyType()
Returns the property type ( either "options", or "plugin" ).
abstract string
getItemType()
Returns the property item type of either an instance of
- PhpMyAdmin\Properties\Options\OptionsPropertyOneItem ( f.e. "bool", "text", "radio", etc ) or
- PhpMyAdmin\Properties\Options\OptionsPropertyGroup ( "root", "main" or "subgroup" )
- PhpMyAdmin\Properties\Plugins\PluginPropertyItem ( "export", "import", "transformations" )
static|null
getGroup()
Gets the instance of the class
__construct(string|null $name = null, string|null $text = null)
No description
string|null
getName()
No description
void
setName(string $name)
No description
string|null
getText()
No description
void
setText(string $text)
No description
string|null
getForce()
No description
void
setForce(string $force)
No description
void
addProperty(OptionsPropertyItem $property)
Adds a property to the group of properties
void
removeProperty(OptionsPropertyItem $property)
Removes a property from the group of properties
SplObjectStorage
getProperties()
Gets the group of properties
int
getNrOfProperties()
Gets the number of properties
int
count()
Countable interface implementation.