Liste de tous les membres
Fonctions membres publiques |
| batch ($commands, $pks, $contexts) |
| getTable ($type= 'Contact', $prefix= 'ContactTable', $config=array()) |
| getForm ($data=array(), $loadData=true) |
| getItem ($pk=null) |
| featured ($pks, $value=0) |
| getForm ($data=array(), $loadData=true) |
& | getItem ($pk=null) |
| validate ($form, $data, $group=null) |
| getDbo () |
| getName () |
| getState ($property=null, $default=null) |
| setDbo (&$db) |
| setState ($property, $value=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) |
| toString () |
| __construct ($config=array()) |
| checkin ($pks=array()) |
| checkout ($pk=null) |
| delete (&$pks) |
| publish (&$pks, $value=1) |
| reorder ($pks, $delta=0) |
| save ($data) |
| saveorder ($pks=null, $order=null) |
Fonctions membres protégées |
| batchCopy ($value, $pks, $contexts) |
| batchUser ($value, $pks, $contexts) |
| canDelete ($record) |
| canEditState ($record) |
| loadFormData () |
| prepareTable (&$table) |
| getReorderConditions ($table) |
| populateState () |
| loadFormData () |
| getContactQuery ($pk=null) |
| loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) |
| preprocessForm (JForm $form, $data, $group= 'content') |
| _getList ($query, $limitstart=0, $limit=0) |
| _getListCount ($query) |
| _createTable ($name, $prefix= 'Table', $config=array()) |
| cleanCache ($group=null, $client_id=0) |
| batchAccess ($value, $pks, $contexts) |
| batchLanguage ($value, $pks, $contexts) |
| batchMove ($value, $pks, $contexts) |
| generateNewTitle ($category_id, $alias, $title) |
Documentation des fonctions membres
ContactModelContact::batch |
( |
|
$commands, |
|
|
|
$pks, |
|
|
|
$contexts |
|
) |
| |
Method to perform batch operations on an item or a set of items.
- Paramètres:
-
array | $commands | An array of commands to perform. |
array | $pks | An array of item ids. |
array | $contexts | An array of item contexts. |
- Renvoie:
- boolean Returns true on success, false on failure.
- Depuis:
- 2.5
Réimplémentée à partir de JModelAdmin.
Références $cmd, JText\_(), elseif, JArrayHelper\getValue(), et JArrayHelper\toInteger().
ContactModelContact::batchCopy |
( |
|
$value, |
|
|
|
$pks, |
|
|
|
$contexts |
|
) |
| |
|
protected |
ContactModelContact::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 $user, JText\_(), et JFactory\getUser().
ContactModelContact::canDelete |
( |
|
$record | ) |
|
|
protected |
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éimplémentée à partir de JModelAdmin.
Références $user, JFactory\getUser(), et return.
ContactModelContact::canEditState |
( |
|
$record | ) |
|
|
protected |
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éimplémentée à partir de JModelAdmin.
Références $user, et JFactory\getUser().
ContactModelContact::featured |
( |
|
$pks, |
|
|
|
$value = 0 |
|
) |
| |
Method to toggle the featured setting of contacts.
- Paramètres:
-
array | $pks | The ids of the items to toggle. |
int | $value | The value to toggle to. |
- Renvoie:
- boolean True on success.
- Depuis:
- 1.6
Références $db, JText\_(), et JArrayHelper\toInteger().
ContactModelContact::getContactQuery |
( |
|
$pk = null | ) |
|
|
protected |
Références $data, $db, $dispatcher, $published, $query, $user, JText\_(), JDispatcher\getInstance(), JModel\getInstance(), JFactory\getLanguage(), JFactory\getUser(), JPluginHelper\importPlugin(), JLanguageMultilang\isEnabled(), JPATH_ADMINISTRATOR, et JRegistry\loadString().
ContactModelContact::getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
Method to get the contact form.
The base form is loaded from XML and then an event is fired
- Paramètres:
-
array | $data | An optional array of data for the form to interrogate. |
boolean | $loadData | True if the form is to load its own data (default case), false if not. |
- Renvoie:
- JForm A JForm object on success, false on failure
- Depuis:
- 1.6
Réimplémentée à partir de JModelForm.
Références $id, et $params.
ContactModelContact::getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
Method to get the row form.
- Paramètres:
-
array | $data | Data for the form. |
boolean | $loadData | True if the form is to load its own data (default case), false if not. |
- Renvoie:
- mixed A JForm object on success, false on failure
- Depuis:
- 1.6
Réimplémentée à partir de JModelForm.
Références $data, et JForm\addFieldPath().
& ContactModelContact::getItem |
( |
|
$pk = null | ) |
|
Gets a list of contacts
- Paramètres:
-
- Renvoie:
- mixed Object or null
Réimplémentée à partir de JModelAdmin.
Références $data, $db, $published, $query, $user, JText\_(), JFactory\getDate(), JFactory\getUser(), JRegistry\loadString(), null, et JError\raiseError().
ContactModelContact::getItem |
( |
|
$pk = null | ) |
|
Method to get a single record.
- Paramètres:
-
integer | $pk | The id of the primary key. |
- Renvoie:
- mixed Object on success, false on failure.
- Depuis:
- 1.6
Réimplémentée à partir de JModelAdmin.
Références $item, et JRegistry\loadString().
ContactModelContact::getReorderConditions |
( |
|
$table | ) |
|
|
protected |
A protected method to get a set of ordering conditions.
- Paramètres:
-
- Renvoie:
- array An array of conditions to add to add to ordering queries.
- Depuis:
- 1.6
Réimplémentée à partir de JModelAdmin.
ContactModelContact::getTable |
( |
|
$type = 'Contact' , |
|
|
|
$prefix = 'ContactTable' , |
|
|
|
$config = array() |
|
) |
| |
Returns a Table object, always creating it
- Paramètres:
-
type | $type | The table type to instantiate |
string | $prefix | A prefix for the table class name. Optional. |
array | $config | Configuration array for model. Optional. |
- Renvoie:
- JTable A database object
- Depuis:
- 1.6
Réimplémentée à partir de JModel.
Références $config, $type, et JTable\getInstance().
ContactModelContact::loadFormData |
( |
| ) |
|
|
protected |
Method to get the data that should be injected in the form.
- Renvoie:
- array The default data is an empty array.
- Depuis:
- 11.1
Réimplémentée à partir de JModelForm.
Références $data, et JFactory\getApplication().
ContactModelContact::loadFormData |
( |
| ) |
|
|
protected |
ContactModelContact::populateState |
( |
| ) |
|
|
protected |
ContactModelContact::prepareTable |
( |
& |
$table | ) |
|
|
protected |
Documentation des données membres
ContactModelContact::$_context = 'com_contact.contact' |
|
protected |
ContactModelContact::$_item = null |
|
protected |
ContactModelContact::$view_item = 'contact' |
|
protected |
La documentation de cette classe a été générée à partir des fichiers suivants :