- md5
- 48deeee4040e4a33ebc243b392009c1b
- sha1
- da94902752fdec0ba3fd59a50fd31d1959c46475
- sha256
- 32492e232a0e19c65f587de419ba35ff0669a5ae67a720f380d9060dca57117c
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
<?php
/**
* @package Joomla.Administrator
* @subpackage com_privacy
*
* @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Privacy\Administrator\Export;
/**
* Data object representing all data contained in a domain.
*
* A domain is typically a single database table and the items within the domain are separate rows from the table.
*
* @since 3.9.0
*/
class Domain
{
/**
* The name of this domain
*
* @var string
* @since 3.9.0
*/
public $name;
/**
* A short description of the data in this domain
*
* @var string
* @since 3.9.0
*/
public $description;
/**
* The items belonging to this domain
*
* @var Item[]
* @since 3.9.0
*/
protected $items = [];
/**
* Add an item to the domain
*
* @param Item $item The item to add
*
* @return void
*
* @since 3.9.0
*/
public function addItem(Item $item)
{
$this->items[] = $item;
}
/**
* Get the domain's items
*
* @return Item[]
*
* @since 3.9.0
*/
public function getItems()
{
return $this->items;
}
}
The same content is in 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.