phpDocumentor PHPShopObj
[ class tree: PHPShopObj ] [ all elements ]

Source for file system.class.php

Documentation is available at system.class.php

  1. <?php
  2. /**
  3.  * Системные настройки
  4.  * Упрощенный доступ к параметрам системы
  5.  * @author PHPShop Software
  6.  * @version 1.1
  7.  * @package PHPShopObj
  8.  */
  9.  
  10.     
  11.     /**
  12.      * Конструктор
  13.      */
  14.     function PHPShopSystem({
  15.         global $PHPShopBase;
  16.         $this->System $PHPShopBase;
  17.     }
  18.  
  19.  
  20.     function getValue($value){
  21.         return $this->System->getParam('system.'.$value);
  22.     }
  23.  
  24.     /**
  25.      * Выдача параметра имени сайта
  26.      * @return string 
  27.      */
  28.     function getName({
  29.         return $this->getValue("name");
  30.     }
  31.     
  32.     /**
  33.      * Выдача сериализованного значения
  34.      * @param string $param параметр [param.val]
  35.      * @return string
  36.      */
  37.     function getSerilizeParam($param{
  38.         return $this->System->getParam($param);
  39.     }
  40.  
  41.     function getParam($param){
  42.         return true;
  43.     }
  44.  
  45. }
  46. ?>

Documentation generated on Mon, 25 Jun 2012 15:09:52 +0400 by phpDocumentor 1.4.3