[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_categories/src/Field/ -> CategoryeditField.php (summary)

(no description)

Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 372 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CategoryeditField:: (5 methods):
  setup()
  __get()
  __set()
  getOptions()
  getInput()


Class: CategoryeditField  - X-Ref

Category Edit field..

setup(\SimpleXMLElement $element, $value, $group = null)   X-Ref
Method to attach a JForm object to the field.

param: \SimpleXMLElement  $element  The SimpleXMLElement object representing the <field /> tag for the form field object.
param: mixed              $value    The form field value to validate.
param: string|null        $group    The field name group control value. This acts as an array container for the field.
return: boolean  True on success.

__get($name)   X-Ref
Method to get certain otherwise inaccessible properties from the form field object.

param: string  $name  The property name for which to get the value.
return: mixed  The property value or null.

__set($name, $value)   X-Ref
Method to set certain otherwise inaccessible properties of the form field object.

param: string  $name   The property name for which to set the value.
param: mixed   $value  The value of the property.
return: void

getOptions()   X-Ref
Method to get a list of categories that respects access controls and can be used for
either category assignment or parent category assignment in edit screens.
Use the parent element to indicate that the field will be used for assigning parent categories.

return: array  The field option objects.

getInput()   X-Ref
Method to get the field input markup for a generic list.
Use the multiple attribute to enable multiselect.

return: string  The field input markup.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer