class ComponentRecord extends JObject

Object representing a component extension record

Properties

integer $id Primary key
integer $option The component name
integer $enabled Indicates if this component is enabled

Methods

__construct( array $data = array())

Class constructor

mixed
__get( string $name)

Method to get certain otherwise inaccessible properties from the form field object.

void
__set( string $name, mixed $value)

Method to set certain otherwise inaccessible properties of the form field object.

Registry
getParams()

Returns the menu item parameters

void
setParams( Registry|string $params)

Sets the menu item parameters

Details

__construct( array $data = array())

Class constructor

Parameters

array $data The component record data to load

mixed __get( string $name)

Method to get certain otherwise inaccessible properties from the form field object.

Parameters

string $name The property name for which to get the value.

Return Value

mixed The property value or null.

void __set( string $name, mixed $value)

Method to set certain otherwise inaccessible properties of the form field object.

Parameters

string $name The property name for which to set the value.
mixed $value The value of the property.

Return Value

void

Registry getParams()

Returns the menu item parameters

Return Value

Registry

void setParams( Registry|string $params)

Sets the menu item parameters

Parameters

Registry|string $params The data to be stored as the parameters

Return Value

void