JControllerForm::allowAdd: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Method to check if you can add a new record. | Method to check if you can add a new record. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 29: | Line 29: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
* [[API17:JControllerForm::allowAdd|Other versions of JControllerForm::allowAdd]] | * [[API17:JControllerForm::allowAdd|Other versions of JControllerForm::allowAdd]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JControllerForm::allowAdd | category=JControllerForm::allowAdd | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:31, 25 March 2017
JControllerForm::allowAdd
Description
Method to check if you can add a new record.
protected function allowAdd ($data=array())
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | array() |
- Returns
- Defined on line 166 of libraries/joomla/application/component/controllerform.php
See also
JControllerForm::allowAdd source code on BitBucket
Class JControllerForm
Subpackage Application- Other versions of JControllerForm::allowAdd
User contributed notes
Code Examples