Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe NewsfeedsControllerNewsfeed
+ Graphe d'héritage de NewsfeedsControllerNewsfeed:

Fonctions membres publiques

 batch ($model=null)
 

Fonctions membres protégées

 allowAdd ($data=array())
 
 allowEdit ($data=array(), $key='id')
 
 postSaveHook (JModelLegacy $model, $validData=array())
 

Description détaillée

Newsfeed controller class.

Depuis
1.6

Documentation des fonctions membres

◆ allowAdd()

allowAdd (   $data = array())
protected

Method override to check if you can add a new record.

Paramètres
array$dataAn array of input data.
Renvoie
boolean
Depuis
1.6

Références $data, ArrayHelper\getValue(), null, et option.

◆ allowEdit()

allowEdit (   $data = array(),
  $key = 'id' 
)
protected

Method to check if you can edit a record.

Paramètres
array$dataAn array of input data.
string$keyThe name of the key for the primary key.
Renvoie
boolean
Depuis
1.6

Références $canEditOwn, $data, $item, $key, $user, et option.

◆ batch()

batch (   $model = null)

Method to run batch operations.

Paramètres
object$modelThe model.
Renvoie
boolean True if successful, false otherwise and internal error is set.
Depuis
2.5

◆ postSaveHook()

postSaveHook ( JModelLegacy  $model,
  $validData = array() 
)
protected

Function that allows child controller access to model data after the data has been saved.

Paramètres
JModelLegacy$modelThe data model object.
array$validDataThe validated data.
Renvoie
void
Depuis
3.1

La documentation de cette classe a été générée à partir du fichier suivant :