JControllerForm::allowAdd: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| 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"> | ||
protected | protected function allowAdd ($data=array()) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 25: | Line 22: | ||
|- | |- | ||
|} | |} | ||
=== | * '''Returns''' | ||
* '''Defined''' on line 166 of libraries/joomla/application/component/controllerform.php | |||
===See also=== | |||
* {{JVer|11.1}} '''JControllerForm::allowAdd source code''' on [[jplatform:application/component/controllerform.php#cl-158|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JControllerForm|JControllerForm]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | |||
* [[API17:JControllerForm::allowAdd|Other versions of JControllerForm::allowAdd]] | |||
===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=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
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