UCMType
Implements UCMUCM Class for handling content types
property-read string | |
---|---|
since |
3.1 |
package |
Joomla CMS |
Methods
__construct
Class constructor
__construct( alias = null, \Joomla\Database\DatabaseDriver database = null, \Joomla\Application\AbstractApplication application = null) :
since |
3.1 |
---|
Arguments
- alias
string
The alias for the item- database
DatabaseDriver
The database object- application
AbstractApplication
The application object
Response
mixed
__get
Magic method to get the name of the field mapped to a ucm field (core_something).
__get( ucmField) :
since |
3.2 |
---|
Arguments
- ucmField
string
The name of the field in JTableCorecontent
Response
string
The name mapped to the $ucmField for a given content type
fieldmapExpand
Method to expand the field mapping
fieldmapExpand( assoc = false) :
since |
3.2 |
---|
Arguments
- assoc
bool
True to return an associative array.
Response
mixed
Array or object with field mappings. Defaults to object.
getType
Get the Content Type
getType( pk = null) :
since |
3.1 |
---|
Arguments
- pk
int
The primary key of the alias type
Response
object
The UCM Type data
getTypeByAlias
Get the Content Type from the alias
getTypeByAlias( typeAlias = null) :
since |
3.2 |
---|
Arguments
- typeAlias
string
The alias for the type
Response
object
The UCM Type data
getTypeByTable
Get the Content Type from the table class name
getTypeByTable( tableName) :
since |
3.2 |
---|
Arguments
- tableName
string
The table for the type
Response
mixed
The UCM Type data if found, false if no match is found
getTypeId
Retrieves the UCM type ID
getTypeId( alias = null) :
since |
3.1 |
---|
Arguments
- alias
string
The string of the type alias
Response
mixed
The ID of the requested type or false if type is not found
Properties
core_content_id
Type(s)
string
core_type_alias
Type(s)
string
core_title
Type(s)
string
core_alias
Type(s)
string
core_body
Type(s)
string
core_state
Type(s)
string
core_checked_out_time
Type(s)
string
core_checked_out_user_id
Type(s)
string
core_access
Type(s)
string
core_params
Type(s)
string
core_featured
Type(s)
string
core_metadata
Type(s)
string
core_created_user_id
Type(s)
string
core_created_by_alias
Type(s)
string
core_created_time
Type(s)
string
core_modified_user_id
Type(s)
string
core_modified_time
Type(s)
string
core_language
Type(s)
string
core_publish_up
Type(s)
string
core_publish_down
Type(s)
string
core_content_item_id
Type(s)
string
asset_id
Type(s)
string
core_images
Type(s)
string
core_urls
Type(s)
string
core_hits
Type(s)
string
core_version
Type(s)
string
core_ordering
Type(s)
string
core_metakey
Type(s)
string
core_metadesc
Type(s)
string
core_catid
Type(s)
string
core_typeid
Type(s)
string
db
The Database object
since |
3.1 |
---|
Type(s)
DatabaseDriver
alias
The alias for the content type
since |
3.1 |
---|
Type(s)
string