JFormFieldSpacer

Extends \JFormField

Form Field class for the Joomla Platform.

Provides spacer markup to be used in form layouts.

since

1.7.0

package

Joomla.Platform

Methods

getInput

Method to get the field input markup for a spacer.

getInput() : string

The spacer does not have accept input.

since

1.7.0

Response

stringThe field input markup.

getLabel

Method to get the field label markup for a spacer.

getLabel() : string

Use the label text or name from the XML element as the spacer or Use a hr="true" to automatically generate plain hr markup

since

1.7.0

Response

stringThe field label markup.

getTitle

Method to get the field title.

getTitle() : string
since

1.7.0

Response

stringThe field title.

renderField

Method to get a control group with label and input.

renderField(array $options = array()) : string
since

3.7.3

Arguments

$options

arrayOptions to be passed into the rendering of the field

Response

stringA string containing the html for the control group

Properties

type

The form field type.

since

1.7.0

Type(s)

string