tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Web_Site_Config_Loader_File

Source Location: /web_site/web_site_config_loader_file.class.php

Class Web_Site_Config_Loader_File

Class Overview

Loads web site configuration from file(s)

Located in /web_site/web_site_config_loader_file.class.php [line 35]

Tangra_Class
   |
   --Web_Site_Config_Loader_File
Author(s):
API Tags:
See:  Web_Site_Config

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Tangra_Class

Tangra_Class::get_class_name()
Alias of get_class(). Exist because of historical reasons.
Tangra_Class::__set()
Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.

[ Top ]
Property Summary
Config_Loader_File   $ms_fl   File loader for machine specific conf file
Config_Loader_File   $ss_fl   File loader for site specific conf file

[ Top ]
Method Summary
void   load_site_config()   Loads site configuration from files

[ Top ]
Properties
Config_Loader_File   $ms_fl [line 42]

File loader for machine specific conf file

API Tags:
Internal:  
Access:  protected


[ Top ]
Config_Loader_File   $ss_fl [line 49]

File loader for site specific conf file

API Tags:
Internal:  
Access:  protected


[ Top ]
Methods
load_site_config  [line 65]

  void load_site_config( Web_Site_Config $WSC, array $params  )

Loads site configuration from files

$params have to be array with: ['ms_conf_file'] - path to machine specific configuration file ['ss_conf_file'] - path to site specific configuration file

Parameters:
Web_Site_Config   $WSC: 
array   $params:  params

API Tags:
Access:  public


[ Top ]