Back to BaseLayout class

Method getOptions

public \Joomla\Registry\Registry
getOptions
()
Get the options
Returns
  • \Joomla\Registry\Registry Object with the options
Since
  • 3.2
Class: BaseLayout
Project: Joomla

Method getOptions - Source code

/**
 * Get the options
 *
 * @return  Registry  Object with the options
 *
 * @since   3.2
 */
public function getOptions()
{
    // Always return a Registry instance
    if (!$this->options instanceof Registry) {
        $this->resetOptions();
    }
    return $this->options;
}