src/snac/server/database/DBUtil.php
/**
     * Store Report
     *
     * Stores the given report in the database.
     *
     * @param string $reportName The name of the report
     * @param string $report The full text of the report (JSON)
     * @param \snac\data\User $user The user who requested the report
     */
Store Report
Stores the given report in the database.

@param string $reportName The name of the report
@param string $report The full text of the report (JSON)
@param \snac\data\User $user The user who requested the report
Store Report Stores the given report in the database . @param string $reportName The name of the report @param string $report The full text of the report ( JSON ) @param \ snac \ data \ User $user The user who requested the report
public function storeReport($reportName, $report, $user) {
        $userid = $user->getUserID();
        $affiliationid = null;
        if ($user->getAffiliation())
            $affiliationid = $user->getAffiliation()->getID();
        $this->sql->insertReport($reportName, $report, $userid, $affiliationid);
    }
public function storeReport ( $ reportName , $ report , $ user ) { $ userid = $ user -> getUserID ( ) ; $ affiliationid = null ; if ( $ user -> getAffiliation ( ) ) $ affiliationid = $ user -> getAffiliation ( ) -> getID ( ) ; $ this -> sql -> insertReport ( $ reportName , $ report , $ userid , $ affiliationid ) ; }
Store Report
 Stores the given report in the database.
Store Report Stores the given report in the database .