[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Form/Field/ -> SpacerField.php (summary)

Joomla! Content Management System

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

Defines 1 class

SpacerField:: (4 methods):
  getInput()
  getLabel()
  getTitle()
  renderField()


Class: SpacerField  - X-Ref

Form Field class for the Joomla Platform.
Provides spacer markup to be used in form layouts.

getInput()   X-Ref
Method to get the field input markup for a spacer.
The spacer does not have accept input.

return: string  The field input markup.

getLabel()   X-Ref
Method to get the field label markup for a spacer.
Use the label text or name from the XML element as the spacer or
Use a hr="true" to automatically generate plain hr markup

return: string  The field label markup.

getTitle()   X-Ref
Method to get the field title.

return: string  The field title.

renderField($options = array()   X-Ref
Method to get a control group with label and input.

param: array  $options  Options to be passed into the rendering of the field
return: string  A string containing the html for the control group



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