OptionsPropertyOneItem
abstract class OptionsPropertyOneItem extends OptionsPropertyItem (View source)
Parents only single property items (not groups).
Defines possible options and getters and setters for them.
Methods
Returns the property type ( either "options", or "plugin" ).
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" )
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.
Gets the force parameter
Sets the force parameter
Gets the values
Sets the values
Gets MySQL documentation pointer
Sets the doc
Gets the length
Sets the length
Gets the size
Sets the size
Details
string
getPropertyType()
Returns the property type ( either "options", or "plugin" ).
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" )
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
array
getValues()
Gets the values
void
setValues(array $values)
Sets the values
string|array
getDoc()
Gets MySQL documentation pointer
void
setDoc(string|array $doc)
Sets the doc
int
getLen()
Gets the length
void
setLen(int $len)
Sets the length
int
getSize()
Gets the size
void
setSize(int $size)
Sets the size