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

Class: PHPShopBase

Source Location: /phpshop/class/base.class.php

Class PHPShopBase

Class Overview

Библиотека подключения к БД

Located in /phpshop/class/base.class.php [line 9]



		
				Author(s):
		
  • PHPShop Software
Information Tags:
Version:  1.0

Properties

Methods

[ Top ]
Property Summary
string   $codBase  
bool   $debug  
string   $iniPath  
array   $SysValue  

[ Top ]
Method Summary
PHPShopBase   PHPShopBase()   Подключения к БД
string   getParam()   Выдача системных параметров конфига
array   getSysValue()   Выдача системных параметров конфига
void   setParam()   Добавить параметр

[ Top ]
Properties
string   $codBase = "cp1251" [line 21]

[ Top ]
bool   $debug = true [line 25]

[ Top ]
string   $iniPath [line 13]

[ Top ]
array   $SysValue [line 17]

[ Top ]
Methods
Constructor PHPShopBase  [line 30]

  PHPShopBase PHPShopBase( string $iniPath  )

Подключения к БД

Parameters:
string   $iniPath:  путь до конфигурационного файла config.ini


[ Top ]
getParam  [line 52]

  string getParam( mixed $param  )

Выдача системных параметров конфига

  1.  // example
  2.  $PHPShopBasenew PHPShopBase('./inc/config.ini');
  3.  $PHPShopBase->getParam('base.table_name');

Parameters:
mixed   $param:  имя параметра


[ Top ]
getSysValue  [line 39]

  array getSysValue( )

Выдача системных параметров конфига



[ Top ]
setParam  [line 67]

  void setParam( string $param, mixed $value  )

Добавить параметр

  1.  // example
  2.  $PHPShopBasenew PHPShopBase('./inc/config.ini');
  3.  $PHPShopBase->setParam('base.table_name','mybase');

Parameters:
string   $param:  имя параметра
mixed   $value:  знячение параметра


[ Top ]

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