API16

API16:JFormField/getType

From Joomla! Documentation

Revision as of 22:51, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Method to get the form field type. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</n...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Method to get the form field type.

[Edit Descripton]

Template:Description:JFormField/getType

Syntax

getType()


Returns

string The field type.

Defined in

libraries/joomla/form/formfield.php

Importing

jimport( 'joomla.form.formfield' );

Source Body

public function getType()
{
        return $this->type;
}

[Edit See Also] Template:SeeAlso:JFormField/getType

Examples

<CodeExamplesForm />