Back to Joomla project (class list)

Class AccessiblemediaField - list of methods

The Field to load the form inside current form

Extends

Package: Joomla\CMS\Form\Field
Copyright: (C) 2020 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Form/Field/AccessiblemediaField.php
Project: Joomla

Method Summary

public mixed
(mixed $name)

Method to get certain otherwise inaccessible properties from the form field object.
Parameters
  • string $name The property name for which to get the value.
Returns
  • mixed The property value or null.
Since
  • 4.0.0
Show source code of this method: __get Source Code

public void
(mixed $name, mixed $value)

Method to set certain otherwise inaccessible properties of the form field object.
Parameters
  • string $name The property name for which to set the value.
  • mixed $value The value of the property.
Returns
  • void
Since
  • 4.0.0
Show source code of this method: __set Source Code

public bool
(\SimpleXMLElement $element, mixed $value, mixed $group = null)

Method to attach a Form object to the field.
Parameters
  • \SimpleXMLElement $element The SimpleXMLElement object representing the <field /> tag for the form field object.
  • mixed $value The form field value to validate.
  • string $group The field name group control value.
Returns
  • bool True on success.
Since
  • 4.0.0
Show source code of this method: setup Source Code

Properties Summary

protected string
$type
The form field type.
Since
  • 4.0.0
protected string
$preview
The preview.
Since
  • 4.0.0
protected string
$directory
The directory.
Since
  • 4.0.0
protected int
$previewWidth
The previewWidth.
Since
  • 4.0.0
protected int
$previewHeight
The previewHeight.
Since
  • 4.0.0
protected string
$layout
Layout to render
Since
  • 4.0.0

Tags Summary

Since
4.0.0