Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

System.php File Reference


Detailed Description

Operation system and PHP related functions.

Definition in file System.php.

Go to the source code of this file.

Functions

 _init ()
 getPhpinfo ($info=INFO_ALL)
 getServerVar ($var, $case_sensitive=false)
 getEnvVar ($var, $case_sensitive=false)
 platform ()
 isApache ()
 directorySeparator ()
 lineSeparator ()
 pathSeparator ()
 hostname ()
 username ()
 tempDirectory ()
 _lastError ($last_error=null)
 getLastError ()
 setLastError ($last_error)
 extensionSuffix ()
 loadExtension ($name)
 isExtensionLoaded ($name, $retest=false)
 appendIncludePath ($path)
 prependIncludePath ($path)
 includeFile ($file, $search_paths=array())
 putEnv ($var, $value, $case_sensitive=false)

Variables

 $_SERVER ['HTTP_HOST'] = '127.0.0.1'


Function Documentation

_init  )  [static, private]
 

Returns:
void

Definition at line 71 of file System.php.

_lastError last_error = null  )  [static]
 

Parameters:
$last_error string
Returns:
string

Definition at line 412 of file System.php.

Referenced by getLastError(), loadExtension(), and setLastError().

appendIncludePath path  )  [static]
 

Append $path to the include path

Parameters:
$path string
Returns:
string

Definition at line 525 of file System.php.

References pathSeparator().

directorySeparator  )  [static]
 

Returns:
string

Definition at line 230 of file System.php.

Referenced by includeFile().

extensionSuffix  )  [static]
 

Returns:
string

Definition at line 443 of file System.php.

Referenced by loadExtension().

getEnvVar var,
case_sensitive = false
[static]
 

Parameters:
$var string
$case_sensitive bool
Returns:
string

Definition at line 165 of file System.php.

Referenced by hostname(), putEnv(), and username().

getLastError  )  [static]
 

Returns:
string

Definition at line 426 of file System.php.

References _lastError().

getPhpinfo info = INFO_ALL  )  [static]
 

Parameters:
$info int
Returns:
string

Definition at line 121 of file System.php.

getServerVar var,
case_sensitive = false
[static]
 

Parameters:
$var string
$case_sensitive bool
Returns:
string

Definition at line 140 of file System.php.

hostname  )  [static]
 

Return the hostname the system is running on

Returns:
string

Definition at line 297 of file System.php.

References getEnvVar(), and hostname().

Referenced by hostname().

includeFile file,
search_paths = array()
[static]
 

Parameters:
$file string
$search_paths array
Returns:
bool

Definition at line 590 of file System.php.

References directorySeparator(), and platform().

isApache  )  [static]
 

Returns:
bool

Definition at line 220 of file System.php.

isExtensionLoaded name,
retest = false
[static]
 

Parameters:
$name string
$retest bool
Returns:
bool

Definition at line 508 of file System.php.

Referenced by loadExtension().

lineSeparator  )  [static]
 

Returns:
string

Definition at line 247 of file System.php.

loadExtension name  )  [static]
 

Parameters:
$name string
Returns:
bool

Definition at line 476 of file System.php.

References _lastError(), extensionSuffix(), and isExtensionLoaded().

Referenced by fbPayment_AuthorizeNet::fbPayment_AuthorizeNet(), and fbPayment_PayflowPro::fbPayment_PayflowPro().

pathSeparator  )  [static]
 

Returns:
string

Definition at line 278 of file System.php.

Referenced by appendIncludePath(), and prependIncludePath().

platform  )  [static]
 

Returns:
string

Definition at line 198 of file System.php.

Referenced by includeFile().

prependIncludePath path  )  [static]
 

Prepend $path to the include path

Parameters:
$path string
Returns:
string

Definition at line 558 of file System.php.

References pathSeparator().

putEnv var,
value,
case_sensitive = false
[static]
 

Parameters:
$var string Environment variable name
$value string Environment variable value
$case_sensitive bool
Returns:
bool true if successful, otherwise false

Definition at line 652 of file System.php.

References getEnvVar().

Referenced by setLocale().

setLastError last_error  )  [static]
 

Parameters:
$last_error string
Returns:
void

Definition at line 435 of file System.php.

References _lastError().

tempDirectory  )  [static]
 

Returns:
string

Definition at line 353 of file System.php.

Referenced by fbDebug::_error_log().

username  )  [static]
 

Returns:
string

Definition at line 324 of file System.php.

References getEnvVar(), and username().

Referenced by username().


Generated on Fri Mar 19 12:52:28 2004 for Freebeer by doxygen 1.3.6-20040222