Back to BaseLayout class

Method setData

public self
setData
(array $data)
Set the the data passed the layout
Parameters
  • array $data Array with the data for the layout
Returns
  • self
Since
  • 3.5
Class: BaseLayout
Project: Joomla

Method setData - Source code

/**
 * Set the the data passed the layout
 *
 * @param   array  $data  Array with the data for the layout
 *
 * @return  self
 *
 * @since   3.5
 */
public function setData(array $data)
{
    $this->data = $data;
    return $this;
}
OSZAR »