Back to FileField class

Method getInput

protected string
getInput
()
Method to get the field input markup for the file field.
Returns
  • string The field input markup.
Since
  • 1.7.0
-
  • The field does not include an upload mechanism.
  • \Joomla\CMS\Form\Field\MediaField
Class: FileField
Project: Joomla

Method getInput - Source code

/**
 * Method to get the field input markup for the file field.
 * Field attributes allow specification of a maximum file size and a string
 * of accepted file extensions.
 *
 * @return  string  The field input markup.
 *
 * @note    The field does not include an upload mechanism.
 * @see     \Joomla\CMS\Form\Field\MediaField
 * @since   1.7.0
 */
protected function getInput()
{
    return $this->getRenderer($this->layout)->render($this->getLayoutData());
}