abstract class OptionsPropertyItem extends PropertyItem (View source)

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

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

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

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

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

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