API16

JFormField/getType: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 30: Line 30:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getType
  category=getType
  category=JFormField
  category=JFormField
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:42, 25 March 2017

Description

Method to get the form field type.


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

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


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

Examples

Code Examples