Actions

API16

JFormField/ construct

From Joomla! Documentation

< API16:JFormField
Revision as of 17:51, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Method to instantiate the form field.

[Edit Descripton]

Description:JFormField/ construct

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;
}

[Edit See Also] SeeAlso:JFormField/ construct

Examples

<CodeExamplesForm />