CoreFiles by mySites.guru
System.php34 lines, 684 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
a698e26f9f9bf75fd8ae96ee9b9e29b4
sha1
950891596bdd43309bb14ffa6e343398fdf62071
sha256
4bcedeb3e06cbe7638270d65921efad201beb925bd5a426031e6b4d315c396ec
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   Copyright (C) 2005 - 2018 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 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.