Class SGL_Task_SetupPaths

Description

Located in /SGL/Task/Init.php (line 57)

SGL_Task
   |
   --SGL_Task_SetupPaths
Method Summary
 string hostnameToFilename ()
 void run ( $conf, array $data)
Methods
hostnameToFilename (line 117)

Determines the name of the INI file, based on the host name.

If PHP is being run interactively (CLI) where no $_SERVER vars are available, a default 'localhost' is supplied.

  • return: the name of the host
string hostnameToFilename ()
run (line 69)

Sets up the minimum paths required for framework execution.

  • SGL_SERVER_NAME must always be known in order to rewrite config file
  • SGL_PATH is the filesystem root path
  • pear include path is setup
  • PEAR.php included for errors, etc

void run ( $conf, array $data)
  • array $data
  • $conf

Redefinition of:
SGL_Task::run()

Inherited Methods

Inherited From SGL_Task

 SGL_Task::run()
 SGL_Task::_getDal()

Documentation generated on Tue, 23 Feb 2010 18:14:31 +0000 by phpDocumentor 1.4.3