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 ContentHistory
+ Graphe d'héritage de ContentHistory:

Fonctions membres publiques

 onAfterStore (&$result)
 
 onBeforeDelete ($pk)
 
- Fonctions membres publiques hérités de AbstractObserver
 __construct (TableInterface $table)
 
 onBeforeLoad ($keys, $reset)
 
 onAfterLoad (&$result, $row)
 
 onBeforeStore ($updateNulls, $tableKey)
 
 onAfterStore (&$result)
 
 onBeforeDelete ($pk)
 
 onAfterDelete ($pk)
 

Fonctions membres publiques statiques

static createObserver (\JObservableInterface $observableObject, $params=array())
 
- Fonctions membres publiques statiques hérités de JObserverInterface
static createObserver (JObservableInterface $observableObject, $params=array())
 

Attributs publics statiques

static $_myTableForPregreplaceOnly
 

Fonctions membres protégées

 parseTypeAlias ()
 

Attributs protégés

 $contenthistoryHelper
 
 $typeAliasPattern = null
 
- Attributs protégés hérités de AbstractObserver
 $table
 

Description détaillée

Table class supporting modified pre-order tree traversal behavior.

Depuis
3.2

Documentation des fonctions membres

◆ createObserver()

static createObserver ( \JObservableInterface  $observableObject,
  $params = array() 
)
static

Creates the associated observer instance and attaches it to the $observableObject Creates the associated content history helper class instance $typeAlias can be of the form "{variableName}.type", automatically replacing {variableName} with table-instance variables variableName

Paramètres
\JObservableInterface$observableObjectThe subject object to be observed
array$params( 'typeAlias' => $typeAlias )
Renvoie
ContentHistory
Depuis
3.2

Références $params.

◆ onAfterStore()

onAfterStore ( $result)

Post-processor for $table->store($updateNulls)

Paramètres
boolean&$resultThe result of the load
Renvoie
void
Depuis
3.2

◆ onBeforeDelete()

onBeforeDelete (   $pk)

Pre-processor for $table->delete($pk)

Paramètres
mixed$pkAn optional primary key value to delete. If not set the instance property value is used.
Renvoie
void
Depuis
3.2
Exceptions

◆ parseTypeAlias()

parseTypeAlias ( )
protected

Internal method Parses a TypeAlias of the form "{variableName}.type", replacing {variableName} with table-instance variables variableName Storing result into $this->contenthistoryHelper->typeAlias

Renvoie
void
Depuis
3.2

Références ContentHistory\$_myTableForPregreplaceOnly.

Documentation des champs

◆ $_myTableForPregreplaceOnly

$_myTableForPregreplaceOnly
static

◆ $contenthistoryHelper

$contenthistoryHelper
protected

◆ $typeAliasPattern

$typeAliasPattern = null
protected

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