Back to Joomla project (class list)

Class ComponentRecord - list of methods

Object representing a component extension record
Package: Joomla\CMS\Component
Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Component/ComponentRecord.php
Project: Joomla

Method Summary

public
(mixed $data = array())

Class constructor
Parameters
  • array $data The component record data to load
Since
  • 3.7.0
Show source code of this method: __construct Source Code

public mixed
(mixed $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.
Returns
  • mixed The property value or null.
Since
  • 3.7.0
Deprecated
  • 5.0
Show source code of this method: __get Source Code

public void
(mixed $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.
Returns
  • void
Since
  • 3.7.0
Deprecated
  • 5.0
Show source code of this method: __set Source Code

public \Joomla\Registry\Registry
()

Returns the menu item parameters
Returns
  • \Joomla\Registry\Registry
Since
  • 3.7.0
Show source code of this method: getParams Source Code

public void
(mixed $params)

Sets the menu item parameters
Parameters
  • \Joomla\Registry\Registry|string $params The data to be stored as the parameters
Returns
  • void
Since
  • 3.7.0
Show source code of this method: setParams Source Code

Properties Summary

public int
$id
Primary key
Since
  • 3.7.0
public int
$option
The component name
Since
  • 3.7.0
protected string|\Joomla\Registry\Registry
$params
The component parameters
Since
  • 3.7.0
-
  • string|\Joomla\Registry\Registry
public string
$namespace
The extension namespace
Since
  • 4.0.0
public int
$enabled
Indicates if this component is enabled
Since
  • 3.7.0

Tags Summary

Since
3.7.0