API16

API16:JFormField/ construct

From Joomla! Documentation

Revision as of 02:53, 14 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)

Description

Method to instantiate the form field.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

__construct($form=null)
Parameter Name Default Value Description
$form null $form A reference to the form that the field belongs to.

Returns

void

Defined in

libraries/joomla/form/formfield.php

Importing

jimport( 'joomla.form.formfield' );

Source Body

public function __construct($form = null)
{
        $this->_form = $form;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />