Public Method Details |
Site |
public void Site()
|
|
|
Returns |
void |
|
&singleton |
public object Site &singleton()
|
|
|
Returns |
object Site |
|
&getRequest |
public object Request &getRequest()
|
|
|
Returns |
object Request |
|
setRequest |
public void setRequest(object Request &$new)
|
|
This is the Request that actually fetched current page. Within a given page $Request may be re-instantiated to perform custom work.
|
Parameter |
|
|
Returns |
void |
|
errorHandler |
public void errorHandler(object PEAR $err)
|
|
This function is bound to PEAR::Error AND to PHP's standard error, which means that it can take either 1 hash param (PEAR) or many params (PHP).
|
Parameter |
|
|
Returns |
void |
|
&getCache |
public object Site &getCache()
|
|
|
Returns |
object Site |
|
setCache |
public void setCache(object PEAR $new)
|
|
|
Parameter |
|
object PEAR |
$new |
|
|
::Cache::Output &$new class |
|
Returns |
void |
|
setCacheFlushed |
public boolean setCacheFlushed([ boolean $is_flushed, string $group ])
|
|
|
Parameter |
|
boolean |
$is_flushed |
= >>false<< |
|
|
|
|
string |
$group |
= >>null<< |
|
The group to set (optional but strongly recommended). |
|
Returns |
boolean success (true) or error (false) |
|
isCacheFlushed |
public boolean isCacheFlushed([ string $group ])
|
|
If no group is provided, it checks to see if any group has been flushed.
|
Parameter |
|
string |
$group |
= >>null<< |
|
The group to check. |
|
Returns |
boolean |
|
&getUser |
public object reference &getUser()
|
|
This is just for convenience -- the actual value is not stored as part of the site object, but rather is derived from pxdb_user::existant().
|
Returns |
object reference pxdb_user |
|