31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-03 22:20:48 +00:00
patchtester/administrator/components/com_patchtester/src/View/AbstractView.php

54 lines
1.1 KiB
PHP
Raw Normal View History

2019-08-28 01:05:12 +00:00
<?php
2019-08-28 01:05:12 +00:00
/**
* Patch testing component for the Joomla! CMS
*
* @copyright Copyright (C) 2011 - 2012 Ian MacLennan, Copyright (C) 2013 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later
*/
namespace Joomla\Component\Patchtester\Administrator\View;
2019-08-28 01:05:12 +00:00
use Joomla\Component\Patchtester\Administrator\Model\AbstractModel;
2019-08-28 01:05:12 +00:00
/**
* Base view for the patch testing component
*
* @since 4.0.0
2019-08-28 01:05:12 +00:00
*/
abstract class AbstractView
{
/**
* The model object.
*
* @var AbstractModel
* @since 4.0.0
*/
protected $model;
/**
* Method to instantiate the view.
*
* @param AbstractModel $model The model object.
*
* @since 4.0.0
*/
public function __construct($model)
{
$this->model = $model;
}
2019-08-28 01:05:12 +00:00
/**
* Method to escape output.
*
* @param string $output The output to escape.
*
* @return string The escaped output.
*
* @since 4.0.0
*/
public function escape($output)
{
return $output;
}
2019-08-28 01:05:12 +00:00
}