Back to ComponentRecord class

Method setParams

public void
setParams
(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

Method setParams - Source code

/**
 * Sets the menu item parameters
 *
 * @param   Registry|string  $params  The data to be stored as the parameters
 *
 * @return  void
 *
 * @since   3.7.0
 */
public function setParams($params)
{
    $this->params = $params;
}