API16

JForm/removeGroup: Difference between revisions

From Joomla! Documentation

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


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

Latest revision as of 01:41, 25 March 2017

Description

Method to remove a group.


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

Syntax

removeGroup($group)
Parameter Name Default Value Description
$group $group The group to remove.

Returns

void

Defined in

libraries/joomla/form/form.php

Importing

jimport( 'joomla.form.form' );

Source Body

public function removeGroup($group)
{
        unset($this->_groups[$group]);
}


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

Examples

Code Examples