Back to BaseLayout class

Method resetOptions

public \Joomla\CMS\Layout\BaseLayout
resetOptions
()
Function to empty all the options
Returns
  • \Joomla\CMS\Layout\BaseLayout Instance of $this to allow chaining.
Since
  • 3.2
Class: BaseLayout
Project: Joomla

Method resetOptions - Source code

/**
 * Function to empty all the options
 *
 * @return  BaseLayout  Instance of $this to allow chaining.
 *
 * @since   3.2
 */
public function resetOptions()
{
    return $this->setOptions(null);
}