[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/fields/sql/ -> sql.php (summary)

(no description)

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

Defines 1 class

PlgFieldsSql:: (2 methods):
  onCustomFieldsPrepareDom()
  onContentBeforeSave()


Class: PlgFieldsSql  - X-Ref

Fields Sql Plugin

onCustomFieldsPrepareDom($field, DOMElement $parent, Form $form)   X-Ref
Transforms the field into a DOM XML element and appends it as a child on the given parent.

param: stdClass    $field   The field.
param: DOMElement  $parent  The field node parent.
param: Form        $form    The form.
return: DOMElement

onContentBeforeSave($context, $item, $isNew, $data = [])   X-Ref
The save event.

param: string                   $context  The context
param: \Joomla\CMS\Table\Table  $item     The table
param: boolean                  $isNew    Is new item
param: array                    $data     The validated data
return: boolean



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