CoreFiles by mySites.guru
System.php34 lines, 685 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
18b811fb74f4afe911d86bdaa4c8791f
sha1
c464cfd68c6f3435b71403847c2b706974dafe02
sha256
18113daecd0f934043e4ee11473e4ba2ca1496bf39be5571c99f333c7e994246
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Admin\Administrator\Service\HTML;

\defined('_JEXEC') or die;

use Joomla\CMS\Language\Text;

/**
 * Utility class working with system
 *
 * @since  1.6
 */
class System
{
	/**
	 * Method to generate a string message for a value
	 *
	 * @param   string  $val  a php ini value
	 *
	 * @return  string html code
	 */
	public function server($val)
	{
		return !empty($val) ? $val : Text::_('COM_ADMIN_NA');
	}
}

The same content is in 5 releases, Joomla 4.0.0-beta to 4.0.0-beta5. See them all, or every version of this file.