Logo Search packages:      
Sourcecode: letodms version File versions  Download package

LetoDMS_Session::delete ( id )

Delete session by its id

Parameters:
string$idid of session
Returns:
boolean true if successful otherwise false

Definition at line 121 of file inc.ClassSession.php.

                           { /* {{{ */
            $queryStr = "DELETE FROM tblSessions WHERE id = '$id'";
            if (!$this->db->getResult($queryStr)) {
                  return false;
            }
            return true;
      } /* }}} */

Generated by  Doxygen 1.6.0   Back to index