abstract class OptionsPropertyGroup extends OptionsPropertyItem implements Countable (View source)

Parents group property items and provides methods to manage groups of properties.

modify descriptions if needed, when the options are integrated

Methods

string
getPropertyType()

Returns the property type ( either "options", or "plugin" ).

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" )

object|null
getGroup()

Gets the instance of the class

__construct(string $name = null, string $text = null)

No description

string|null
getName()

Gets the name

void
setName(string $name)

Sets the name

string|null
getText()

Gets the text

void
setText(string $text)

Sets the text

string|null
getForce()

Gets the force parameter

void
setForce(string $force)

Sets the force parameter

void
addProperty(OptionsPropertyItem $property)

Adds a property to the group of properties

void
removeProperty(OptionsPropertyItem $property)

Removes a property from the group of properties

array
getProperties()

Gets the group of properties

int
getNrOfProperties()

Gets the number of properties

int
count()

Countable interface implementation.

Details

string getPropertyType()

Returns the property type ( either "options", or "plugin" ).

Return Value

string

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" )

Return Value

string

object|null getGroup()

Gets the instance of the class

Return Value

object|null

__construct(string $name = null, string $text = null)

No description

Parameters

string $name

Item name

string $text

Item text

string|null getName()

Gets the name

Return Value

string|null

void setName(string $name)

Sets the name

Parameters

string $name name

Return Value

void

string|null getText()

Gets the text

Return Value

string|null

void setText(string $text)

Sets the text

Parameters

string $text text

Return Value

void

string|null getForce()

Gets the force parameter

Return Value

string|null

void setForce(string $force)

Sets the force parameter

Parameters

string $force

force parameter

Return Value

void

void addProperty(OptionsPropertyItem $property)

Adds a property to the group of properties

Parameters

OptionsPropertyItem $property

the property instance to be added to the group

Return Value

void

void removeProperty(OptionsPropertyItem $property)

Removes a property from the group of properties

Parameters

OptionsPropertyItem $property

the property instance to be removed from the group

Return Value

void

array getProperties()

Gets the group of properties

Return Value

array

int getNrOfProperties()

Gets the number of properties

Return Value

int

int count()

Countable interface implementation.

Return Value

int