Liste de tous les membres
Fonctions membres publiques |
| batch ($commands, $pks, $contexts) |
| getTable ($type= 'Banner', $prefix= 'BannersTable', $config=array()) |
| getForm ($data=array(), $loadData=true) |
| stick (&$pks, $value=1) |
| click () |
& | getItem () |
| getUrl () |
| __construct ($config=array()) |
| checkin ($pks=array()) |
| checkout ($pk=null) |
| delete (&$pks) |
| getItem ($pk=null) |
| publish (&$pks, $value=1) |
| reorder ($pks, $delta=0) |
| save ($data) |
| saveorder ($pks=null, $order=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 () |
Fonctions membres protégées |
| batchClient ($value, $pks, $contexts) |
| batchCopy ($value, $pks, $contexts) |
| canDelete ($record) |
| canEditState ($record) |
| loadFormData () |
| getReorderConditions ($table) |
| batchAccess ($value, $pks, $contexts) |
| batchLanguage ($value, $pks, $contexts) |
| batchMove ($value, $pks, $contexts) |
| generateNewTitle ($category_id, $alias, $title) |
| populateState () |
| prepareTable (&$table) |
| 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) |
Documentation des fonctions membres
BannersModelBanner::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().
BannersModelBanner::batchClient |
( |
|
$value, |
|
|
|
$pks, |
|
|
|
$contexts |
|
) |
| |
|
protected |
Batch client changes for a group of banners.
- Paramètres:
-
string | $value | The new value matching a client. |
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().
BannersModelBanner::batchCopy |
( |
|
$value, |
|
|
|
$pks, |
|
|
|
$contexts |
|
) |
| |
|
protected |
BannersModelBanner::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, et JFactory\getUser().
BannersModelBanner::canEditState |
( |
|
$record | ) |
|
|
protected |
Method to test whether a record can have its state changed.
- 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().
BannersModelBanner::click |
( |
| ) |
|
BannersModelBanner::getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
Method to get the record form.
- Paramètres:
-
array | $data | Data for the form. [optional] |
boolean | $loadData | True if the form is to load its own data (default case), false if not. [optional] |
- Renvoie:
- mixed A JForm object on success, false on failure
- Depuis:
- 1.6
Réimplémentée à partir de JModelForm.
Références $data.
& BannersModelBanner::getItem |
( |
| ) |
|
BannersModelBanner::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.
BannersModelBanner::getTable |
( |
|
$type = 'Banner' , |
|
|
|
$prefix = 'BannersTable' , |
|
|
|
$config = array() |
|
) |
| |
Returns a JTable object, always creating it.
- Paramètres:
-
string | $type | The table type to instantiate. [optional] |
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().
BannersModelBanner::getUrl |
( |
| ) |
|
Get the URL for a banner
- Renvoie:
- string
Références $item, et $url.
BannersModelBanner::loadFormData |
( |
| ) |
|
|
protected |
BannersModelBanner::stick |
( |
& |
$pks, |
|
|
|
$value = 1 |
|
) |
| |
Documentation des données membres
BannersModelBanner::$_item |
|
protected |
BannersModelBanner::$text_prefix = 'COM_BANNERS_BANNER' |
|
protected |
La documentation de cette classe a été générée à partir des fichiers suivants :