class OptionsPropertyMainGroup extends OptionsPropertyGroup

Group property item class of type main

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

null
getGroup()

Only overwritten in the PhpMyAdmin\Properties\Options\OptionsPropertyGroup class: Used to tell whether we can use the current item as a group by calling the addProperty() or removeProperty() methods, which are not available for simple PhpMyAdmin\Properties\Options\OptionsPropertyOneItem subclasses.

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

constructor

string
getName()

Gets the name

void
setName(string $name)

Sets the name

string
getText()

Gets the text

void
setText(string $text)

Sets the text

string
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

in OptionsPropertyItem at line 131
string getPropertyType()

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

Return Value

string

at line 30
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

in OptionsPropertyGroup at line 71
null getGroup()

Only overwritten in the PhpMyAdmin\Properties\Options\OptionsPropertyGroup class: Used to tell whether we can use the current item as a group by calling the addProperty() or removeProperty() methods, which are not available for simple PhpMyAdmin\Properties\Options\OptionsPropertyOneItem subclasses.

Return Value

null

in OptionsPropertyItem at line 48
__construct(string $name = null, string $text = null)

constructor

Parameters

string $name Item name
string $text Item text

in OptionsPropertyItem at line 65
string getName()

Gets the name

Return Value

string

in OptionsPropertyItem at line 77
void setName(string $name)

Sets the name

Parameters

string $name name

Return Value

void

in OptionsPropertyItem at line 87
string getText()

Gets the text

Return Value

string

in OptionsPropertyItem at line 99
void setText(string $text)

Sets the text

Parameters

string $text text

Return Value

void

in OptionsPropertyItem at line 109
string getForce()

Gets the force parameter

Return Value

string

in OptionsPropertyItem at line 121
void setForce(string $force)

Sets the force parameter

Parameters

string $force force parameter

Return Value

void

in OptionsPropertyGroup at line 37
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

in OptionsPropertyGroup at line 55
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

in OptionsPropertyGroup at line 81
array getProperties()

Gets the group of properties

Return Value

array

in OptionsPropertyGroup at line 91
int getNrOfProperties()

Gets the number of properties

Return Value

int

in OptionsPropertyGroup at line 104
int count()

Countable interface implementation.

Return Value

int