JControllerForm::allowEdit
Method to check if you can add a new record.
Extended classes can override this if necessary.
Signature
protected function allowEdit(array
$data,
[string
$key = 'id'] )
Parameters
-
$data
- An array of input data.
-
$key
- The name of the key for the primary key; default is id.
Returns
- boolean