abstract class OptionsPropertyItem extends PropertyItem

Superclass for - PhpMyAdmin\Properties\Options\OptionsPropertyOneItem and - OptionsProperty Group

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

string
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

Details

at line 132
string getPropertyType()

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

Return Value

string

in PropertyItem at line 34
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

in PropertyItem at line 44
string 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

string

at line 49
__construct(string $name = null, string $text = null)

constructor

Parameters

string $name Item name
string $text Item text

at line 66
string getName()

Gets the name

Return Value

string

at line 78
void setName(string $name)

Sets the name

Parameters

string $name name

Return Value

void

at line 88
string getText()

Gets the text

Return Value

string

at line 100
void setText(string $text)

Sets the text

Parameters

string $text text

Return Value

void

at line 110
string getForce()

Gets the force parameter

Return Value

string

at line 122
void setForce(string $force)

Sets the force parameter

Parameters

string $force force parameter

Return Value

void