|
| getForm ($data=array(), $loadData=true) |
|
| getItem ($pk=null) |
|
| featured ($pks, $value=0) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null, FormFactoryInterface $formFactory=null) |
|
| batch ($commands, $pks, $contexts) |
|
| checkin ($pks=array()) |
|
| checkout ($pk=null) |
|
| delete (&$pks) |
|
| getItem ($pk=null) |
|
| publish (&$pks, $value=1) |
|
| reorder ($pks, $delta=0) |
|
| save ($data) |
|
| saveorder ($pks=array(), $order=null) |
|
| generateTitle ($categoryId, $table) |
|
| initBatch () |
|
| editAssociations ($data) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null, FormFactoryInterface $formFactory=null) |
|
| checkin ($pk=null) |
|
| checkout ($pk=null) |
|
| validate ($form, $data, $group=null) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getTable ($name='', $prefix='', $options=array()) |
|
| isCheckedOut ($item) |
|
| getDbo () |
|
| setDbo (DatabaseInterface $db=null) |
|
| __get ($name) |
|
| __construct ($config=array()) |
|
| getName () |
|
| __construct ($properties=null) |
|
| __toString () |
|
| def ($property, $default=null) |
|
| get ($property, $default=null) |
|
| getProperties ($public=true) |
|
| getError ($i=null, $toString=true) |
|
| getErrors () |
|
| set ($property, $value=null) |
|
| setProperties ($properties) |
|
| setError ($error) |
|
| getState ($property=null, $default=null) |
|
| setState ($property, $value=null) |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
| setCurrentUser (User $currentUser) |
|
| setCacheControllerFactory (CacheControllerFactoryInterface $factory) |
|
| setDatabase (DatabaseInterface $db) |
|
| setFormFactory (FormFactoryInterface $factory) |
|
|
| batchUser ($value, $pks, $contexts) |
|
| canDelete ($record) |
|
| canEditState ($record) |
|
| loadFormData () |
|
| prepareTable ($table) |
|
| getReorderConditions ($table) |
|
| preprocessForm (Form $form, $data, $group='content') |
|
| batchAccess ($value, $pks, $contexts) |
|
| batchCopy ($value, $pks, $contexts) |
|
| cleanupPostBatchCopy (TableInterface $table, $newId, $oldId) |
|
| batchLanguage ($value, $pks, $contexts) |
|
| batchMove ($value, $pks, $contexts) |
|
| batchTag ($value, $pks, $contexts) |
|
| canDelete ($record) |
|
| canEditState ($record) |
|
| generateNewTitle ($categoryId, $alias, $title) |
|
| getReorderConditions ($table) |
|
| populateState () |
|
| prepareTable ($table) |
|
| checkCategoryId ($categoryId) |
|
| redirectToAssociations ($data) |
|
| _getList ($query, $limitstart=0, $limit=0) |
|
| _getListCount ($query) |
|
| _createTable ($name, $prefix='Table', $config=array()) |
|
| bootComponent ($component) |
|
| dispatchEvent (EventInterface $event) |
|
Item Model for a Contact.
- Depuis
- 1.6
◆ batchUser()
batchUser |
( |
|
$value, |
|
|
|
$pks, |
|
|
|
$contexts |
|
) |
| |
|
protected |
Batch change a linked user.
- Paramètres
-
integer | $value | The new value matching a User ID. |
array | $pks | An array of row IDs. |
array | $contexts | An array of item contexts. |
- Renvoie
- boolean True if successful, false otherwise and internal error is set.
- Depuis
- 2.5
Références $value, et Text\_().
◆ canCreateCategory()
Is the user allowed to create an on the fly category?
- Renvoie
- boolean
- Depuis
- 3.6.1
Références Factory\getUser().
◆ canDelete()
Method to test whether a record can be deleted.
- Paramètres
-
object | $record | A record object. |
- Renvoie
- boolean True if allowed to delete the record. Defaults to the permission set in the component.
- Depuis
- 1.6
Références Factory\getUser().
◆ canEditState()
Method to test whether a record can have its state edited.
- Paramètres
-
object | $record | A record object. |
- Renvoie
- boolean True if allowed to change the state of the record. Defaults to the permission set in the component.
- Depuis
- 1.6
Références Factory\getUser().
◆ featured()
featured |
( |
|
$pks, |
|
|
|
$value = 0 |
|
) |
| |
◆ getForm()
getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
◆ getItem()
◆ getReorderConditions()
getReorderConditions |
( |
|
$table | ) |
|
|
protected |
A protected method to get a set of ordering conditions.
- Paramètres
-
\Joomla\CMS\Table\Table | $table | A record object. |
- Renvoie
- array An array of conditions to add to ordering queries.
- Depuis
- 1.6
Références Joomla\Database\getDatabase().
◆ loadFormData()
◆ prepareTable()
◆ preprocessForm()
preprocessForm |
( |
Form |
$form, |
|
|
|
$data, |
|
|
|
$group = 'content' |
|
) |
| |
|
protected |
◆ $associationsContext
$associationsContext = 'com_contact.item' |
|
protected |
◆ $batch_commands
Valeur initiale := array(
'assetgroup_id' => 'batchAccess',
'language_id' => 'batchLanguage',
'tag' => 'batchTag',
'user_id' => 'batchUser',
)
◆ $batch_copymove
$batch_copymove = 'category_id' |
|
protected |
◆ $formName
◆ $typeAlias
$typeAlias = 'com_contact.contact' |
La documentation de cette classe a été générée à partir du fichier suivant :