JTableObserverTagsAbstract class defining methods that can be implemented by an Observer class of a JTable class (which is an Observable).
Attaches $this Observer to the $table in the constructor. The classes extending this class should not be instanciated directly, as they are automatically instanciated by the JObserverMapper
Located in /libraries/joomla/table/observer/tags.php (line 24)
JTableObserver | --JTableObserverTags
static JTableObserverTags
createObserver
(JObservableInterface $observableObject, [array $params = array()])
static JTableObserverTags
$_myTableForPregreplaceOnly
(line 67)
Not public, so marking private and deprecated, but needed internally in parseTypeAlias for PHP < 5.4.0 as it's not passing context $this to closure function.
array
$newTags
= false (line 48)
Override for postStoreProcess param newTags, Set by setNewTags, used by onAfterStore and onBeforeStore
boolean
$replaceTags
= true (line 56)
Override for postStoreProcess param replaceTags. Set by setNewTags, used by onAfterStore
JHelperTags
$tagsHelper
(line 32)
Helper object for managing tags
string
$typeAliasPattern
= null (line 40)
The pattern for this table's TypeAlias
Inherited from JTableObserver
JTableObserver::$table
Creates the associated observer instance and attaches it to the $observableObject Creates the associated tags helper class instance $typeAlias can be of the form "{variableName}.type", automatically replacing {variableName} with table-instance variables variableName
Post-processor for $table->store($updateNulls) You can change optional params newTags and replaceTags of tagsHelper with method setNewTagsToAdd
Pre-processor for $table->delete($pk)
Pre-processor for $table->store($updateNulls)
Internal method Parses a TypeAlias of the form "{variableName}.type", replacing {variableName} with table-instance variables variableName Storing result into $this->tagsHelper->typeAlias
Sets the new tags to be added or to replace existing tags
Inherited From JTableObserver
JTableObserver::__construct()
JTableObserver::onAfterDelete()
JTableObserver::onAfterLoad()
JTableObserver::onAfterStore()
JTableObserver::onBeforeDelete()
JTableObserver::onBeforeLoad()
JTableObserver::onBeforeStore()
Documentation generated on Tue, 19 Nov 2013 15:15:17 +0100 by phpDocumentor 1.4.3