Liste de tous les membres
Fonctions membres publiques |
| delete (&$pks) |
| duplicate (&$pks) |
| getForm ($data=array(), $loadData=true) |
| getItem ($pk=null) |
| getTable ($type= 'Style', $prefix= 'TemplatesTable', $config=array()) |
| save ($data) |
| setHome ($id=0) |
| unsetHome ($id=0) |
| getHelp () |
| __construct ($config=array()) |
| batch ($commands, $pks, $contexts) |
| checkin ($pks=array()) |
| checkout ($pk=null) |
| publish (&$pks, $value=1) |
| reorder ($pks, $delta=0) |
| 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 |
| populateState () |
| generateNewTitle ($category_id, $alias, $title) |
| loadFormData () |
| preprocessForm (JForm $form, $data, $group= 'content') |
| cleanCache ($group=null, $client_id=0) |
| batchAccess ($value, $pks, $contexts) |
| batchCopy ($value, $pks, $contexts) |
| batchLanguage ($value, $pks, $contexts) |
| batchMove ($value, $pks, $contexts) |
| canDelete ($record) |
| canEditState ($record) |
| getReorderConditions ($table) |
| prepareTable (&$table) |
| loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) |
| _getList ($query, $limitstart=0, $limit=0) |
| _getListCount ($query) |
| _createTable ($name, $prefix= 'Table', $config=array()) |
Documentation des fonctions membres
TemplatesModelStyle::cleanCache |
( |
|
$group = null , |
|
|
|
$client_id = 0 |
|
) |
| |
|
protected |
Custom clean cache method
- Depuis:
- 1.6
Réimplémentée à partir de JModel.
TemplatesModelStyle::delete |
( |
& |
$pks | ) |
|
TemplatesModelStyle::duplicate |
( |
& |
$pks | ) |
|
TemplatesModelStyle::generateNewTitle |
( |
|
$category_id, |
|
|
|
$alias, |
|
|
|
$title |
|
) |
| |
|
protected |
Method to change the title.
- Paramètres:
-
integer | $category_id | The id of the category. |
string | $alias | The alias. |
string | $title | The title. |
- Renvoie:
- string New title.
- Depuis:
- 1.7.1
Réimplémentée à partir de JModelAdmin.
Références $title, et JString\increment().
TemplatesModelStyle::getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
TemplatesModelStyle::getHelp |
( |
| ) |
|
Get the necessary data to load an item help screen.
- Renvoie:
- object An object with key, url, and local properties for loading the item help screen.
- Depuis:
- 1.6
TemplatesModelStyle::getItem |
( |
|
$pk = null | ) |
|
TemplatesModelStyle::getTable |
( |
|
$type = 'Style' , |
|
|
|
$prefix = 'TemplatesTable' , |
|
|
|
$config = array() |
|
) |
| |
Returns a reference to the a Table object, always creating it.
- Paramètres:
-
type | The table type to instantiate |
string | A prefix for the table class name. Optional. |
array | Configuration array for model. Optional. |
- Renvoie:
- JTable A database object
Réimplémentée à partir de JModel.
Références $config, $type, et JTable\getInstance().
TemplatesModelStyle::loadFormData |
( |
| ) |
|
|
protected |
TemplatesModelStyle::populateState |
( |
| ) |
|
|
protected |
TemplatesModelStyle::preprocessForm |
( |
JForm |
$form, |
|
|
|
$data, |
|
|
|
$group = 'content' |
|
) |
| |
|
protected |
- Paramètres:
-
object | A form object. |
mixed | The data expected for the form. |
- Exceptions:
-
Exception | if there is an error in the form event. |
- Depuis:
- 1.6
Réimplémentée à partir de JModelForm.
Références $client, $clientId, $data, $lang, $template, JText\_(), JPath\clean(), JApplicationHelper\getClientInfo(), JFactory\getLanguage(), jimport(), JForm\loadFile(), null, et JForm\setFieldAttribute().
TemplatesModelStyle::save |
( |
|
$data | ) |
|
Method to save the form data.
- Paramètres:
-
- Renvoie:
- boolean True on success.
Réimplémentée à partir de JModelAdmin.
Références $app, $data, $db, $dispatcher, $extension, $n, $query, $user, JText\_(), JFactory\getApplication(), JFactory\getDbo(), JDispatcher\getInstance(), JTable\getInstance(), JFactory\getUser(), JRequest\getVar(), JPluginHelper\importPlugin(), null, JText\plural(), et JArrayHelper\toInteger().
TemplatesModelStyle::setHome |
( |
|
$id = 0 | ) |
|
TemplatesModelStyle::unsetHome |
( |
|
$id = 0 | ) |
|
Documentation des données membres
TemplatesModelStyle::$_cache = array() |
|
private |
TemplatesModelStyle::$helpKey = 'JHELP_EXTENSIONS_TEMPLATE_MANAGER_STYLES_EDIT' |
|
protected |
TemplatesModelStyle::$helpURL |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :