src/snac/server/database/SQL.php
/**
     * Get Next Resource ID
     *
     * Gets the next resource id number from the resource_id sequence
     *
     * @return int next resource id number
     */
Get Next Resource ID
Gets the next resource id number from the resource_id sequence

@return int next resource id number
Get Next Resource ID Gets the next resource id number from the resource_id sequence @return int next resource id number
private function selectResourceID()
    {
        $result = $this->sdb->query('select nextval(\'resource_id_seq\') as id',array());
        $row = $this->sdb->fetchrow($result);
        return $row['id'];
    }
private function selectResourceID ( ) { $ result = $ this -> sdb -> query ( 'select nextval(\'resource_id_seq\') as id' , array ( ) ) ; $ row = $ this -> sdb -> fetchrow ( $ result ) ; return $ row [ 'id' ] ; }
Get Next Resource ID
 Gets the next resource id number from the resource_id sequence
Get Next Resource ID Gets the next resource id number from the resource_id sequence