phpDocumentor util
[ class tree: util ] [ index: util ] [ all elements ]

Class: Server

Source Location: /myphp-1.9/myphp-1.9-util/html/component/Server.php

Class Server

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Object

Object::$cachefile
Object::$html
Object::$sql

Inherited From Object

Object::Object()
Constructor
Object::addHtml()
Add the current html to the SourceCode object
Object::getCacheFileName()
Returns the name of the cache file name
Object::getClassName()
Returns the name of the instanciated class
Object::getHtml()
Returns the html for the element
Object::getMsg()
Get the formatted message and debug level and Log to file ?
Object::save()
Save the SQL cache file
Object::setCacheFileName()
Set the path/name of the cache file
Object::toString()
Returns the information for this class
Object::write()
Write the content to the file opened by fp

[ Top ]
Method Summary
Server   Server()   Constructor
void   display()   Display html
String   get()   Get the value from the specified key
void   getAcceptLanguage()  
String   getDocRoot()   Get the document root
void   getDocumentRoot()   Due to wrong setup on HvepseEksperten.dk, special handling of document root is required
String,   getHtml()   Returns the server info as html
void   getHttpHost()  
void   getOs()  
void   getPhpSelf()  
void   getQueryString()  
void   getReferer()  
String   getRemoteAddr()   Get the remote addr
void   getRequestMethod()  
void   getRequestUri()  
String   getReqUri()   Get the reuest uri
void   getScriptName()  
void   getServerName()  
void   getUserAgent()  

[ Top ]
Methods
Constructor Server  [line 48]

  Server Server( )

Constructor



[ Top ]
display  [line 73]

  void display( )

Display html

  1. Usage:
  2. Server::display();


API Tags:
Static:  


[ Top ]
get  [line 91]

  String get( String $key, [String $default = '']  )

Get the value from the specified key

  1. Usage:
  2. Server::get($key,$default);

Parameters:
String   $key:  The server param to get
String   $default:  The default value to use, if not found

API Tags:
Return:  The value of the requested key
Static:  


[ Top ]
getAcceptLanguage  [line 167]

  void getAcceptLanguage( [mixed $default = '']  )



[ Top ]
getDocRoot  [line 106]

  String getDocRoot( String $key, [String $default = '']  )

Get the document root

  1. Usage:
  2. Server::getDocRoot($key,$default);

Parameters:
String   $key:  The server param to get
String   $default:  The default value to use, if not found

API Tags:
Return:  The value of the requested key
Static:  


[ Top ]
getDocumentRoot  [line 175]

  void getDocumentRoot( [mixed $default = '']  )

Due to wrong setup on HvepseEksperten.dk, special handling of document root is required



[ Top ]
getHtml  [line 55]

  String, getHtml( )

Returns the server info as html


API Tags:
Return:  The html


Redefinition of:
Object::getHtml()
Returns the html for the element

[ Top ]
getHttpHost  [line 161]

  void getHttpHost( [mixed $default = '']  )



[ Top ]
getOs  [line 179]

  void getOs( [mixed $default = '']  )



[ Top ]
getPhpSelf  [line 168]

  void getPhpSelf( [mixed $default = '']  )



[ Top ]
getQueryString  [line 164]

  void getQueryString( [mixed $default = '']  )



[ Top ]
getReferer  [line 166]

  void getReferer( [mixed $default = '']  )



[ Top ]
getRemoteAddr  [line 160]

  String getRemoteAddr( [String $default = '']  )

Get the remote addr

  1. Usage:
  2. Server::getRemoteAddr();
  3. I.e. $host = Server::getRemoteAddr();

Parameters:
String   $default:  The default value to use, if not found

API Tags:
Return:  The value of the requested key
Static:  


[ Top ]
getRequestMethod  [line 169]

  void getRequestMethod( [mixed $default = '']  )



[ Top ]
getRequestUri  [line 162]

  void getRequestUri( [mixed $default = '']  )



[ Top ]
getReqUri  [line 137]

  String getReqUri( String $key, [String $default = '']  )

Get the reuest uri

  1. Usage:
  2. Server::getReqUri($key,$default);

Parameters:
String   $key:  The server param to get
String   $default:  The default value to use, if not found

API Tags:
Return:  The value of the requested key
Static:  


[ Top ]
getScriptName  [line 163]

  void getScriptName( [mixed $default = '']  )



[ Top ]
getServerName  [line 178]

  void getServerName( [mixed $default = '']  )



[ Top ]
getUserAgent  [line 165]

  void getUserAgent( [mixed $default = '']  )



[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:17:13 +0100 by phpDocumentor 1.3.0RC3