| Current Path : /home/jeromecohp/www/administrator/components/com_gsd/GSD/Schemas/Schemas/ |
| Current File : /home/jeromecohp/www/administrator/components/com_gsd/GSD/Schemas/Schemas/Article.php |
<?php
/**
* @package Google Structured Data
* @version 5.6.7 Free
*
* @author Tassos Marinos <info@tassos.gr>
* @link http://www.tassos.gr
* @copyright Copyright © 2022 Tassos Marinos All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
namespace GSD\Schemas\Schemas;
// No direct access
defined('_JEXEC') or die;
use GSD\Helper;
class Article extends \GSD\Schemas\Base
{
/**
* Return all the schema properties
*
* @return void
*/
protected function initProps()
{
$props = [
'publisherName' => $this->data->get('publisher_name', Helper::getSiteName()),
'publisherLogo' => Helper::cleanImage(Helper::absURL($this->data->get('publisher_logo', Helper::getSiteLogo())))
];
$this->data->loadArray($props);
parent::initProps();
}
}