Back to Joomla project (class list)

Class UCMBase - list of methods

Base class for implementing UCM

Extends

Direct known subclasses

Package: Joomla\CMS\UCM
Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/UCM/UCMBase.php
Project: Joomla

Method Summary

public
(mixed $alias = null, \Joomla\CMS\UCM\UCMType $type = null)

Instantiate the UCMBase.
Parameters
  • string $alias The alias string
  • \Joomla\CMS\UCM\UCMType $type The type object
Since
  • 3.1
Show source code of this method: __construct Source Code

protected bool
(mixed $data, \Joomla\CMS\Table\TableInterface $table = null, mixed $primaryKey = null)

Store data to the appropriate table
Parameters
  • array $data Data to be stored
  • \Joomla\CMS\Table\TableInterface $table Table Object
  • string $primaryKey The primary key name
Returns
  • bool True on success
Since
  • 3.1
-
  • \Exception
Show source code of this method: store Source Code

public \Joomla\CMS\UCM\UCMType
()

Get the UCM Content type.
Returns
  • \Joomla\CMS\UCM\UCMType The UCM content type
Since
  • 3.1
Show source code of this method: getType Source Code

public array
(mixed $original, \Joomla\CMS\UCM\UCMType $type = null)

Method to map the base ucm fields
Parameters
  • array $original Data array
  • \Joomla\CMS\UCM\UCMType $type UCM Content Type
Returns
  • array Data array of UCM mappings
Since
  • 3.1
Show source code of this method: mapBase Source Code

Properties Summary

protected \Joomla\CMS\UCM\UCMType
$type
The UCM type object
Since
  • 3.1
protected string
$alias
The alias for the content table
Since
  • 3.1

Tags Summary

Since
3.1