Source for file system.php

Documentation is available at system.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_admin
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * Utility class working with system
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_admin
  17.  * @since       1.6
  18.  */
  19. abstract class JHtmlSystem
  20. {
  21.     /**
  22.      * Method to generate a string message for a value
  23.      *
  24.      * @param   string  $val  a php ini value
  25.      *
  26.      * @return  string html code
  27.      */
  28.     public static function server($val)
  29.     {
  30.         if (empty($val))
  31.         {
  32.             return JText::_('COM_ADMIN_NA');
  33.         }
  34.         else
  35.         {
  36.             return $val;
  37.         }
  38.     }
  39. }

Documentation generated on Tue, 19 Nov 2013 15:14:47 +0100 by phpDocumentor 1.4.3