CoreFiles by mySites.guru
System.php34 lines, 672 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
21eec263f6f78b8ea16b3c4dda97193c
sha1
d775bf6bae1a8ac3d8891d8f64513eeb01a1f523
sha256
5dadd1b681851826952a6af79f7bba14f7eeae672f2f42dcaf3db12367601e4b
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
 * @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 51 releases, Joomla 4.0.0-beta6 to 4.2.0-beta2. See them all, or every version of this file.