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

Fonctions membres publiques

 __construct ($alias=null, UCMType $type=null)
 
 getType ()
 
 mapBase ($original, UCMType $type=null)
 

Fonctions membres protégées

 store ($data, TableInterface $table=null, $primaryKey=null)
 

Attributs protégés

 $type
 
 $alias
 

Description détaillée

Base class for implementing UCM

Depuis
3.1

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $alias = null,
UCMType  $type = null 
)

Instantiate the UCMBase.

Paramètres
string$aliasThe alias string
UCMType$typeThe type object
Depuis
3.1

Références $input, et $type.

Documentation des fonctions membres

◆ getType()

getType ( )

Get the UCM Content type.

Renvoie
UCMType The UCM content type
Depuis
3.1

Références $type.

◆ mapBase()

mapBase (   $original,
UCMType  $type = null 
)

Method to map the base ucm fields

Paramètres
array$originalData array
UCMType$typeUCM Content Type
Renvoie
array Data array of UCM mappings
Depuis
3.1

Références $data, $type, et ContentHelper\getLanguageId().

◆ store()

store (   $data,
TableInterface  $table = null,
  $primaryKey = null 
)
protected

Store data to the appropriate table

Paramètres
array$dataData to be stored
TableInterface$tableTable Object
string$primaryKeyThe primary key name
Renvoie
boolean True on success
Depuis
3.1
Exceptions

Références $data, Table\getInstance(), et null.

Documentation des champs

◆ $alias

$alias
protected

◆ $type

$type
protected

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