Back to FileField class

Method getLayoutData

protected array
getLayoutData
()
Method to get the data to be passed to the layout for rendering.
Returns
  • array
Since
  • 3.6
Class: FileField
Project: Joomla

Method getLayoutData - Source code

/**
 * Method to get the data to be passed to the layout for rendering.
 *
 * @return  array
 *
 * @since   3.6
 */
protected function getLayoutData()
{
    $data = parent::getLayoutData();
    $extraData = array('accept' => $this->accept, 'multiple' => $this->multiple);
    return array_merge($data, $extraData);
}