[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Administrator 5 * @subpackage com_privacy 6 * 7 * @copyright (C) 2018 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 namespace Joomla\Component\Privacy\Administrator\Export; 12 13 // phpcs:disable PSR1.Files.SideEffects 14 \defined('_JEXEC') or die; 15 // phpcs:enable PSR1.Files.SideEffects 16 17 /** 18 * Data object representing all data contained in a domain. 19 * 20 * A domain is typically a single database table and the items within the domain are separate rows from the table. 21 * 22 * @since 3.9.0 23 */ 24 class Domain 25 { 26 /** 27 * The name of this domain 28 * 29 * @var string 30 * @since 3.9.0 31 */ 32 public $name; 33 34 /** 35 * A short description of the data in this domain 36 * 37 * @var string 38 * @since 3.9.0 39 */ 40 public $description; 41 42 /** 43 * The items belonging to this domain 44 * 45 * @var Item[] 46 * @since 3.9.0 47 */ 48 protected $items = []; 49 50 /** 51 * Add an item to the domain 52 * 53 * @param Item $item The item to add 54 * 55 * @return void 56 * 57 * @since 3.9.0 58 */ 59 public function addItem(Item $item) 60 { 61 $this->items[] = $item; 62 } 63 64 /** 65 * Get the domain's items 66 * 67 * @return Item[] 68 * 69 * @since 3.9.0 70 */ 71 public function getItems() 72 { 73 return $this->items; 74 } 75 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |