◆ __construct()
Class constructor
- Paramètres
-
string | $alias | The alias for the item |
\JDatabaseDriver | $database | The database object |
BaseApplication | $application | The application object |
- Depuis
- 3.1
Références $app.
◆ __get()
Magic method to get the name of the field mapped to a ucm field (core_something).
- Paramètres
-
string | $ucmField | The name of the field in JTableCorecontent |
- Renvoie
- string The name mapped to the $ucmField for a given content type
- Depuis
- 3.2
Références null.
◆ fieldmapExpand()
fieldmapExpand |
( |
|
$assoc = false | ) |
|
Method to expand the field mapping
- Paramètres
-
boolean | $assoc | True to return an associative array. |
- Renvoie
- mixed Array or object with field mappings. Defaults to object.
- Depuis
- 3.2
Références $assoc.
◆ getType()
Get the Content Type
- Paramètres
-
integer | $pk | The primary key of the alias type |
- Renvoie
- object The UCM Type data
- Depuis
- 3.1
Références $query.
Référencé par OrderingField\getQuery().
◆ getTypeByAlias()
getTypeByAlias |
( |
|
$typeAlias = null | ) |
|
Get the Content Type from the alias
- Paramètres
-
string | $typeAlias | The alias for the type |
- Renvoie
- object The UCM Type data
- Depuis
- 3.2
Références $query.
◆ getTypeByTable()
getTypeByTable |
( |
|
$tableName | ) |
|
Get the Content Type from the table class name
- Paramètres
-
string | $tableName | The table for the type |
- Renvoie
- mixed The UCM Type data if found, false if no match is found
- Depuis
- 3.2
Références $query, et $type.
◆ getTypeId()
getTypeId |
( |
|
$alias = null | ) |
|
Retrieves the UCM type ID
- Paramètres
-
string | $alias | The string of the type alias |
- Renvoie
- mixed The ID of the requested type or false if type is not found
- Depuis
- 3.1
Références $id, et $query.
◆ $alias
◆ $db
◆ $type
La documentation de cette classe a été générée à partir du fichier suivant :