Back to ColorField class

Method getAdvancedModeLayoutData

protected array
getAdvancedModeLayoutData
(mixed $lang)
Method to get the data for the advanced mode to be passed to the layout for rendering.
Parameters
  • object $lang The language object
Returns
  • array
Since
  • 3.5
Class: ColorField
Project: Joomla

Method getAdvancedModeLayoutData - Source code

/**
 * Method to get the data for the advanced mode to be passed to the layout for rendering.
 *
 * @param   object  $lang  The language object
 *
 * @return  array
 *
 * @since   3.5
 */
protected function getAdvancedModeLayoutData($lang)
{
    return array('colors' => $this->colors, 'control' => $this->control, 'lang' => $lang);
}