src/snac/server/database/SQL.php
/**
     * Select IDs of all group records
     *
     * Return a list group IDs
     *
     * @return integer[] List of strings for each groups. We expect the calling code in DBUser.php to send
     * each element of the list to populateGroup().
     */
Select IDs of all group records
Return a list group IDs

@return integer[] List of strings for each groups. We expect the calling code in DBUser.php to send
each element of the list to populateGroup().
Select IDs of all group records Return a list group IDs @return integer [] List of strings for each groups . We expect the calling code in DBUser . php to send each element of the list to populateGroup () .
public function selectAllGroupIDs()
    {
        $result = $this->sdb->query("select id from appuser_group order by label", array());
        $all = array();
        while($row = $this->sdb->fetchrow($result))
        {
            array_push($all, $row['id']);
        }
        return $all;
    }
public function selectAllGroupIDs ( ) { $ result = $ this -> sdb -> query ( " select id from appuser_group order by label " , array ( ) ) ; $ all = array ( ) ; while ( $ row = $ this -> sdb -> fetchrow ( $ result ) ) { array_push ( $ all , $ row [ 'id' ] ) ; } return $ all ; }
Select IDs of all group records
 Return a list group IDs
Select IDs of all group records Return a list group IDs