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

fbHTTPS Class Reference

List of all members.

Detailed Description

Rewrite HTML page with https:// or http:// links.

Singleton

Definition at line 26 of file HTTPS.php.

Public Member Functions

 fbHTTPS ()
 getConvertInputSrc ()
 setConvertInputSrc ($convert_input_src)
 getEnabled ()
 setEnabled ($enabled)
 getHttpsHost ()
 setHttpsHost ($https_host)
 getHttpsPort ()
 setHttpsPort ($https_port)
 getHttpsPath ()
 setHttpsPath ($https_path)
 getHttpHost ()
 setHttpHost ($http_host)
 getHttpPort ()
 setHttpPort ($http_port)
 getHttpPath ()
 setHttpPath ($http_path)
 httpUrl ($url, $host=false, $port=false, $path=false)
 httpsMe ($url=false)
 httpMe ($url=false)
 httpLinkify ($convert_input_src=false)

Static Public Member Functions

getInstance ()
 httpsUrl ($url, $host=false, $port=false, $path=false)
 isHttp ()
 isHttps ()

Public Attributes

 $_convert_input_src = false
 $_enabled = true
 $_http_host = ''
 $_http_port = 80
 $_http_path = ''
 $_https_host = ''
 $_https_port = 443
 $_https_path = ''

Private Member Functions

 _httpLinkify ($quote, $url)

Static Private Member Functions

 _makeUrl ($url=false, $scheme=false, $host=false, $port=false, $path=false)
 _httpLinkifyCallback ($buffer)
 _httpLinkifyCallbackInput ($buffer)


Constructor & Destructor Documentation

fbHTTPS::fbHTTPS  ) 
 

Constructor

Definition at line 39 of file HTTPS.php.

References getInstance().

Referenced by getInstance().


Member Function Documentation

fbHTTPS::_httpLinkify quote,
url
[private]
 

Parameters:
$url string
$quote string
Returns:
string

Definition at line 365 of file HTTPS.php.

References httpUrl().

fbHTTPS::_httpLinkifyCallback buffer  )  [static, private]
 

Parameters:
$buffer string
Returns:
string

Definition at line 393 of file HTTPS.php.

Referenced by httpLinkify().

fbHTTPS::_httpLinkifyCallbackInput buffer  )  [static, private]
 

Parameters:
$buffer string
Returns:
string

Definition at line 414 of file HTTPS.php.

Referenced by httpLinkify().

fbHTTPS::_makeUrl url = false,
scheme = false,
host = false,
port = false,
path = false
[static, private]
 

Parameters:
$url string
$scheme string
$host string
$port int
$path string
Returns:
string

Definition at line 196 of file HTTPS.php.

Referenced by httpsUrl(), and httpUrl().

fbHTTPS::getConvertInputSrc  ) 
 

Returns:
bool

Definition at line 69 of file HTTPS.php.

Referenced by httpLinkify().

fbHTTPS::getEnabled  ) 
 

Returns:
bool

Definition at line 84 of file HTTPS.php.

fbHTTPS::getHttpHost  ) 
 

Returns:
string

Definition at line 144 of file HTTPS.php.

fbHTTPS::getHttpPath  ) 
 

Returns:
string

Definition at line 174 of file HTTPS.php.

fbHTTPS::getHttpPort  ) 
 

Returns:
int

Definition at line 159 of file HTTPS.php.

fbHTTPS::getHttpsHost  ) 
 

Returns:
string

Definition at line 99 of file HTTPS.php.

fbHTTPS::getHttpsPath  ) 
 

Returns:
string

Definition at line 129 of file HTTPS.php.

fbHTTPS::getHttpsPort  ) 
 

Returns:
int

Definition at line 114 of file HTTPS.php.

& fbHTTPS::getInstance  )  [static]
 

Returns:
array

Definition at line 56 of file HTTPS.php.

References fbHTTPS().

fbHTTPS::httpLinkify convert_input_src = false  ) 
 

Parameters:
$convert_input_src bool
Returns:
void

Definition at line 349 of file HTTPS.php.

References _httpLinkifyCallback(), _httpLinkifyCallbackInput(), and getConvertInputSrc().

fbHTTPS::httpMe url = false  ) 
 

Parameters:
$url string
Returns:
mixed

Definition at line 312 of file HTTPS.php.

References isHttps(), and fbHTTP::redirect().

fbHTTPS::httpsMe url = false  ) 
 

Parameters:
$url string
Returns:
mixed

Definition at line 295 of file HTTPS.php.

References isHttps(), and fbHTTP::redirect().

fbHTTPS::httpsUrl url,
host = false,
port = false,
path = false
[static]
 

Parameters:
$url string
$host string
$port int
$path string
Returns:
string

Definition at line 246 of file HTTPS.php.

References _makeUrl().

fbHTTPS::httpUrl url,
host = false,
port = false,
path = false
 

Parameters:
$url string
$host string
$port int
$path string
Returns:
string

Definition at line 272 of file HTTPS.php.

References _makeUrl().

Referenced by _httpLinkify().

fbHTTPS::isHttp  )  [static]
 

Returns:
bool

Definition at line 329 of file HTTPS.php.

fbHTTPS::isHttps  )  [static]
 

Returns:
bool

Definition at line 339 of file HTTPS.php.

Referenced by httpMe(), and httpsMe().

fbHTTPS::setConvertInputSrc convert_input_src  ) 
 

Parameters:
$convert_input_src bool
Returns:
void

Definition at line 77 of file HTTPS.php.

fbHTTPS::setEnabled enabled  ) 
 

Parameters:
$enabled bool
Returns:
void

Definition at line 92 of file HTTPS.php.

fbHTTPS::setHttpHost http_host  ) 
 

Parameters:
$http_host string
Returns:
void

Definition at line 152 of file HTTPS.php.

fbHTTPS::setHttpPath http_path  ) 
 

Parameters:
$http_path string
Returns:
void

Definition at line 182 of file HTTPS.php.

fbHTTPS::setHttpPort http_port  ) 
 

Parameters:
$http_port int
Returns:
void

Definition at line 167 of file HTTPS.php.

fbHTTPS::setHttpsHost https_host  ) 
 

Parameters:
$https_host string
Returns:
void

Definition at line 107 of file HTTPS.php.

fbHTTPS::setHttpsPath https_path  ) 
 

Parameters:
$https_path string
Returns:
void

Definition at line 137 of file HTTPS.php.

fbHTTPS::setHttpsPort https_port  ) 
 

Parameters:
$https_port int
Returns:
void

Definition at line 122 of file HTTPS.php.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:52:32 2004 for Freebeer by doxygen 1.3.6-20040222