JControllerForm::allowAdd: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Method to check if you can add a new record. | Method to check if you can add a new record. | ||
{{Description:JControllerForm::allowAdd}} | {{subst:Description:JControllerForm::allowAdd}} | ||
<source lang="php"> | <source lang="php"> | ||
protected function allowAdd ($data=array()) | protected function allowAdd ($data=array()) | ||
| Line 31: | 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]] | ||
{{SeeAlso:JControllerForm::allowAdd}} | {{subst:SeeAlso:JControllerForm::allowAdd}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 14:57, 24 March 2017
JControllerForm::allowAdd
Description
Method to check if you can add a new record.
{{subst:Description:JControllerForm::allowAdd}}
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
{{subst:SeeAlso:JControllerForm::allowAdd}}
User contributed notes
<CodeExamplesForm />