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

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

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

static|null getGroup()

Gets the instance of the class

Return Value

static|null

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

No description

Parameters

string|null $name
string|null $text

string|null getName()

No description

Return Value

string|null

void setName(string $name)

No description

Parameters

string $name

Return Value

void

string|null getText()

No description

Return Value

string|null

void setText(string $text)

No description

Parameters

string $text

Return Value

void

string|null getForce()

No description

Return Value

string|null

void setForce(string $force)

No description

Parameters

string $force

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

SplObjectStorage getProperties()

Gets the group of properties

Return Value

SplObjectStorage

int getNrOfProperties()

Gets the number of properties

Return Value

int

int count()

Countable interface implementation.

Return Value

int