CoreFiles by mySites.guru
System.php34 lines, 684 bytes, from Joomla_4.0.0-alpha8-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha7
md5
0746dec807d6a1f078556e4ed45cbe9f
sha1
5397dee31ac06401e31ba24eefe23e0229531c1f
sha256
04cc21ca94d3218096d46e963ed3f0235bca8c8662db8fd3ecf97eddb6b97a3e
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   Copyright (C) 2005 - 2019 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 6 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha12. See them all, or every version of this file.