[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Feed/ -> FeedPerson.php (source)

   1  <?php
   2  
   3  /**
   4   * Joomla! Content Management System
   5   *
   6   * @copyright  (C) 2012 Open Source Matters, Inc. <https://www.joomla.org>
   7   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   8   */
   9  
  10  namespace Joomla\CMS\Feed;
  11  
  12  // phpcs:disable PSR1.Files.SideEffects
  13  \defined('JPATH_PLATFORM') or die;
  14  // phpcs:enable PSR1.Files.SideEffects
  15  
  16  /**
  17   * Feed Person class.
  18   *
  19   * @since  3.1.4
  20   */
  21  class FeedPerson
  22  {
  23      /**
  24       * The email address of the person.
  25       *
  26       * @var    string
  27       * @since  3.1.4
  28       */
  29      public $email;
  30  
  31      /**
  32       * The full name of the person.
  33       *
  34       * @var    string
  35       * @since  3.1.4
  36       */
  37      public $name;
  38  
  39      /**
  40       * The type of person.
  41       *
  42       * @var    string
  43       * @since  3.1.4
  44       */
  45      public $type;
  46  
  47      /**
  48       * The URI for the person.
  49       *
  50       * @var    string
  51       * @since  3.1.4
  52       */
  53      public $uri;
  54  
  55      /**
  56       * Constructor.
  57       *
  58       * @param   string  $name   The full name of the person.
  59       * @param   string  $email  The email address of the person.
  60       * @param   string  $uri    The URI for the person.
  61       * @param   string  $type   The type of person.
  62       *
  63       * @since   3.1.4
  64       */
  65      public function __construct($name = null, $email = null, $uri = null, $type = null)
  66      {
  67          $this->name = $name;
  68          $this->email = $email;
  69          $this->uri = $uri;
  70          $this->type = $type;
  71      }
  72  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer