Class JModelAdmin
Prototype admin model.
- JObject
- JModelLegacy
- JModelForm
- JModelAdmin
Package: Joomla\Legacy\Model
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 1.6
Located at legacy/model/admin.php
Methods summary
public
|
|
public
boolean
|
|
protected
boolean
|
#
batchAccess( integer $value, array $pks, array $contexts )
Batch access level changes for a group of rows. |
protected
array|boolean
|
|
protected
boolean
|
#
batchLanguage( string $value, array $pks, array $contexts )
Batch language changes for a group of rows. |
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
public
integer|boolean
|
|
public
boolean
|
|
public
boolean
|
|
protected
array
|
#
generateNewTitle( integer $category_id, string $alias, string $title )
Method to change the title & alias. |
public
|
|
protected
array
|
|
protected
|
|
protected
|
|
public
boolean
|
|
public
boolean|null
|
|
public
boolean
|
|
public
boolean|
|
|
public
|
#
createTagsHelper(
Method to create a tags helper to ensure proper management of tags |
protected
boolean
|
#
checkCategoryId( integer $categoryId )
Method to check the validity of the category ID for batch copy and move |
public
|
#
generateTitle( integer $categoryId,
A method to preprocess generating a new title in order to allow tables with alternative names for alias and title to use the batch move and copy methods |
Methods inherited from JModelForm
getForm()
,
loadForm()
,
loadFormData()
,
preprocessData()
,
preprocessForm()
,
validate()
Methods inherited from JModelLegacy
_createFileName()
,
_createTable()
,
_getList()
,
_getListCount()
,
addIncludePath()
,
addTablePath()
,
cleanCache()
,
getDbo()
,
getInstance()
,
getName()
,
getState()
,
getTable()
,
loadHistory()
,
setDbo()
,
setState()
Methods inherited from JObject
__toString()
,
def()
,
get()
,
getError()
,
getErrors()
,
getProperties()
,
set()
,
setError()
,
setProperties()
Magic methods summary
Properties summary
protected
string
|
$text_prefix |
#
The prefix to use with controller messages. |
protected
string
|
$event_after_delete |
#
The event to trigger after deleting the data. |
protected
string
|
$event_after_save |
#
The event to trigger after saving the data. |
protected
string
|
$event_before_delete |
#
The event to trigger before deleting the data. |
protected
string
|
$event_before_save |
#
The event to trigger before saving the data. |
protected
string
|
$event_change_state |
#
The event to trigger after changing the published state of the data. |
protected
string
|
$batch_copymove |
#
Batch copy/move command. If set to false, the batch copy/move command is not supported |
protected
array
|
$batch_commands |
#
Allowed batch commands |
protected
string
|
$associationsContext |
#
The context used for the associations table |
Properties inherited from JModelForm
Properties inherited from JModelLegacy
$__state_set
,
$_db
,
$event_clean_cache
,
$name
,
$option
,
$state