src/snac/server/database/DBUser.php
/**
     * Archive Message
     *
     * Archives a message from the database
     *
     * @param \snac\data\Message $message   Message to archive (with ID)
     * @return boolean True if successful, false otherwise
     */
Archive Message
Archives a message from the database

@param \snac\data\Message $message   Message to archive (with ID)
@return boolean True if successful, false otherwise
Archive Message Archives a message from the database @param \ snac \ data \ Message $message Message to archive ( with ID ) @return boolean True if successful false otherwise
public function archiveMessage(&$message) {
        $this->logger->addDebug("Archiving message1", $message->toArray());
        if ($message == null || $message->getID() == null) {
            return false;
        }
        $this->logger->addDebug("Archiving message2", $message->toArray());
        return $this->sql->archiveMessageByID($message->getID());
    }
public function archiveMessage ( & $ message ) { $ this -> logger -> addDebug ( " Archiving message1 " , $ message -> toArray ( ) ) ; if ( $ message == null || $ message -> getID ( ) == null ) { return false ; } $ this -> logger -> addDebug ( " Archiving message2 " , $ message -> toArray ( ) ) ; return $ this -> sql -> archiveMessageByID ( $ message -> getID ( ) ) ; }
Archive Message
 Archives a message from the database
Archive Message Archives a message from the database