Joomla CMS  2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe NewsfeedsModelNewsfeed
+ Graphe d'héritage de NewsfeedsModelNewsfeed:
+ Graphe de collaboration de NewsfeedsModelNewsfeed:

Liste de tous les membres

Fonctions membres publiques

 getTable ($type= 'Newsfeed', $prefix= 'NewsfeedsTable', $config=array())
 getForm ($data=array(), $loadData=true)
 getItem ($pk=null)
 publish (&$pks, $value=1)
getItem ($pk=null)
- Fonctions membres publiques inherited from JModelAdmin
 __construct ($config=array())
 batch ($commands, $pks, $contexts)
 checkin ($pks=array())
 checkout ($pk=null)
 delete (&$pks)
 reorder ($pks, $delta=0)
 save ($data)
 saveorder ($pks=null, $order=null)
- Fonctions membres publiques inherited from JModelForm
 validate ($form, $data, $group=null)
- Fonctions membres publiques inherited from JModel
 getDbo ()
 getName ()
 getState ($property=null, $default=null)
 setDbo (&$db)
 setState ($property, $value=null)
- Fonctions membres publiques inherited from JObject
 __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

 batchCopy ($value, $pks, $contexts)
 canDelete ($record)
 canEditState ($record)
 loadFormData ()
 prepareTable (&$table)
 getReorderConditions ($table)
 populateState ()
- Fonctions membres protégées inherited from JModelItem
 getStoreId ($id= '')
- Fonctions membres protégées inherited from JModel
 _getList ($query, $limitstart=0, $limit=0)
 _getListCount ($query)
 _createTable ($name, $prefix= 'Table', $config=array())
 cleanCache ($group=null, $client_id=0)
- Fonctions membres protégées inherited from JModelAdmin
 batchAccess ($value, $pks, $contexts)
 batchLanguage ($value, $pks, $contexts)
 batchMove ($value, $pks, $contexts)
 generateNewTitle ($category_id, $alias, $title)
- Fonctions membres protégées inherited from JModelForm
 loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false)
 preprocessForm (JForm $form, $data, $group= 'content')

Attributs protégés

 $text_prefix = 'COM_NEWSFEEDS'
 $_context = 'com_newsfeeds.newsfeed'
- Attributs protégés inherited from JModelItem
 $_item = null
- Attributs protégés inherited from JModel
 $__state_set = null
 $_db
 $name
 $option = null
 $state
 $event_clean_cache = null
- Attributs protégés inherited from JObject
 $_errors = array()
- Attributs protégés inherited from JModelAdmin
 $event_after_delete = null
 $event_after_save = null
 $event_before_delete = null
 $event_before_save = null
 $event_change_state = null
- Attributs protégés inherited from JModelForm
 $_forms = array()

Documentation des fonctions membres

NewsfeedsModelNewsfeed::batchCopy (   $value,
  $pks,
  $contexts 
)
protected

Batch copy items to a new category or current.

Paramètres:
integer$valueThe new category.
array$pksAn array of row IDs.
array$contextsAn array of item contexts.
Renvoie:
mixed An array of new IDs on success, boolean false on failure.
Depuis:
11.1

Réimplémentée à partir de JModelAdmin.

Références $data, $i, $user, JText\_(), JTable\getInstance(), JFactory\getUser(), et JText\sprintf().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::canDelete (   $record)
protected

Method to test whether a record can be deleted.

Paramètres:
objectA 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.

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::canEditState (   $record)
protected

Method to test whether a record can have its state changed.

Paramètres:
objectA 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().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::getForm (   $data = array(),
  $loadData = true 
)

Method to get the record form.

Paramètres:
array$dataData for the form.
boolean$loadDataTrue 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 $data.

& NewsfeedsModelNewsfeed::getItem (   $pk = null)

Method to get newsfeed data.

Paramètres:
integerThe id of the newsfeed.
Renvoie:
mixed Menu item data object on success, false on failure.
Depuis:
1.6

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().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::getItem (   $pk = null)

Method to get a single record.

Paramètres:
integerThe 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().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::getReorderConditions (   $table)
protected

A protected method to get a set of ordering conditions.

Paramètres:
objectA record object.
Renvoie:
array An array of conditions to add to add to ordering queries.
Depuis:
1.6

Réimplémentée à partir de JModelAdmin.

NewsfeedsModelNewsfeed::getTable (   $type = 'Newsfeed',
  $prefix = 'NewsfeedsTable',
  $config = array() 
)

Returns a Table object, always creating it.

Paramètres:
typeThe table type to instantiate
stringA prefix for the table class name. Optional.
arrayConfiguration array for model. Optional.
Renvoie:
JTable A database object

Réimplémentée à partir de JModel.

Références $config, $type, et JTable\getInstance().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::loadFormData ( )
protected

Method to get the data that should be injected in the form.

Renvoie:
mixed The data for the form.
Depuis:
1.6

Réimplémentée à partir de JModelForm.

Références $app, $data, JFactory\getApplication(), et JRequest\getInt().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::populateState ( )
protected

Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

Renvoie:
void
Depuis:
1.6

Réimplémentée à partir de JModelAdmin.

Références $app, $params, $user, JFactory\getApplication(), JRequest\getInt(), JRequest\getUInt(), et JFactory\getUser().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::prepareTable ( $table)
protected

Prepare and sanitise the table prior to saving.

Réimplémentée à partir de JModelAdmin.

Références $date, $db, $user, ENT_QUOTES, JFactory\getDate(), JFactory\getDbo(), JFactory\getUser(), et JApplication\stringURLSafe().

+ Voici le graphe d'appel pour cette fonction :

NewsfeedsModelNewsfeed::publish ( $pks,
  $value = 1 
)

Method to change the published state of one or more records.

Paramètres:
array$pksA list of the primary keys to change.
int$valueThe value of the published state.
Renvoie:
boolean True on success.
Depuis:
1.6

Réimplémentée à partir de JModelAdmin.


Documentation des données membres

NewsfeedsModelNewsfeed::$_context = 'com_newsfeeds.newsfeed'
protected

Réimplémentée à partir de JModelItem.

NewsfeedsModelNewsfeed::$text_prefix = 'COM_NEWSFEEDS'
protected

Réimplémentée à partir de JModelAdmin.


La documentation de cette classe a été générée à partir des fichiers suivants :