dmSession Class Reference

Static Public Member Functions


Detailed Description

Definition at line 19 of file dmSession.class.php.


Member Function Documentation

static dmSession::addHasCommented ( dmObject obj  )  [static, final]
Parameters:
dmObject obj
Returns:
void
Since:
0.1

Definition at line 86 of file dmSession.class.php.

static dmSession::addHasRated ( dmObject obj  )  [static, final]
Parameters:
dmObject obj
Since:
0.1

Definition at line 144 of file dmSession.class.php.

static dmSession::addResult ( dmObject obj  )  [static, final]

Adds a result corresponding to the current template set by storing it in the $_SESSION => results => dirname($_SERVER['PHP_SELF']) key.

Parameters:
dmObject obj
Returns:
void

Definition at line 191 of file dmSession.class.php.

static dmSession::areResults (  )  [static, final]
Returns:
Boolean
Since:
0.1

Definition at line 208 of file dmSession.class.php.

static dmSession::getFlash (  )  [static, final]

Note: If accessing the flash from the templates, using Draw::flash() or Draw::formattedFlash() is preferred.

Returns:
dmFlash, or null if it has not been set.
See also:
dmSession::getFlash()
dmSession::unsetFlash()
Draw::isFlash()
Draw::flash()
Draw::formattedFlash()
Since:
0.1

Definition at line 33 of file dmSession.class.php.

Referenced by Draw::flash(), Draw::formattedFlash(), and Draw::isFlash().

static dmSession::getQuery (  )  [static, final]
Returns:
dmQuery, or null if nonexistent
Since:
0.1

Definition at line 161 of file dmSession.class.php.

static dmSession::getResults (  )  [static, final]
Returns:
Array of dmObjects, or an empty array if none exist
Since:
0.1

Definition at line 217 of file dmSession.class.php.

Referenced by dmObjectView::getNextObjectURL(), dmObjectView::getPreviousObjectURL(), and ObjectDraw::resultsAsUL().

static dmSession::getResultsPageURL (  )  [static, final]
Returns:
string|null
Since:
0.1

Definition at line 235 of file dmSession.class.php.

static dmSession::getSearchInput (  )  [static, final]
Returns:
dmInput, or null if nonexistent
Since:
0.3

Definition at line 261 of file dmSession.class.php.

Referenced by SearchDraw::dateSearch(), SearchDraw::fieldSearch(), and SearchDraw::proximitySearch().

static dmSession::getUser (  )  [static, final]
Returns:
idmUser object, or null if nonexistent
Since:
0.1

Definition at line 289 of file dmSession.class.php.

Referenced by dmCdmUser::getInstance().

static dmSession::hasCommentedOnObject ( dmObject obj  )  [static, final]
Parameters:
dmObject obj
Returns:
Boolean
Since:
0.1

Definition at line 69 of file dmSession.class.php.

Referenced by ObjectDraw::commentsSection().

static dmSession::hasRated (  )  [static, final]
Returns:
Array of all alias/ptr pairs that have been rated
Since:
0.1

Definition at line 117 of file dmSession.class.php.

static dmSession::hasRatedObject ( dmObject obj  )  [static, final]
Parameters:
dmObject obj
Since:
0.1

Definition at line 126 of file dmSession.class.php.

Referenced by ObjectDraw::ratingsSection().

static dmSession::setFlash ( dmFlash flash  )  [static, final]
Parameters:
dmFlash flash
Returns:
void
See also:
dmSession::unsetFlash()
dmSession::getFlash()
Controller::setFlash()
Since:
0.1

Definition at line 48 of file dmSession.class.php.

static dmSession::setQuery ( dmQuery q  )  [static, final]
Parameters:
dmQuery q
Returns:
void
Since:
0.1

Definition at line 172 of file dmSession.class.php.

Referenced by dmQuery::save().

static dmSession::setResultsPageURL ( url  )  [static, final]
Parameters:
string url
Returns:
void
Since:
0.1

Definition at line 245 of file dmSession.class.php.

static dmSession::setSearchInput ( dmInput input  )  [static, final]
Parameters:
input 
Returns:
void
Since:
0.3

Definition at line 271 of file dmSession.class.php.

static dmSession::setUser ( idmUser user  )  [static, final]
Parameters:
idmUser user
Since:
0.1

Definition at line 299 of file dmSession.class.php.

Referenced by dmCdmUser::authenticate().

static dmSession::unsetFlash (  )  [static, final]
Returns:
void
See also:
dmSession::getFlash()
dmSession::setFlash()
Draw::isFlash()
Draw::flash()
Since:
0.1

Definition at line 60 of file dmSession.class.php.

Referenced by Draw::flash(), and Draw::formattedFlash().

static dmSession::unsetQuery (  )  [static, final]
Returns:
void
Since:
0.1

Definition at line 180 of file dmSession.class.php.

static dmSession::unsetResults (  )  [static, final]

Unsets the results for the current template set (not necessarily all results).

Since:
0.1

Definition at line 227 of file dmSession.class.php.

static dmSession::unsetResultsPageURL (  )  [static, final]
Returns:
void
Since:
0.1

Definition at line 253 of file dmSession.class.php.

static dmSession::unsetSearchInput (  )  [static, final]
Returns:
void
Since:
0.3

Definition at line 279 of file dmSession.class.php.

static dmSession::unsetUser (  )  [static, final]
Since:
0.1

Definition at line 306 of file dmSession.class.php.

Referenced by dmCdmUser::logout().


The documentation for this class was generated from the following file:

Generated on Fri Aug 20 13:16:50 2010 for dmBridge PHP API by  doxygen 1.6.1