src/snac/server/database/SQL.php
/**
     * Select all role record IDs
     *
     * Get all the IDs of all roles.
     *
     * @return integer[] Return list of ID values. The higher level calling code is expected to send each ID
     * to populateRole().
     */
Select all role record IDs
Get all the IDs of all roles.

@return integer[] Return list of ID values. The higher level calling code is expected to send each ID
to populateRole().
Select all role record IDs Get all the IDs of all roles . @return integer [] Return list of ID values . The higher level calling code is expected to send each ID to populateRole () .
public function selectAllRoleIDs()
    {
        $result = $this->sdb->query("select id from role order by label asc", array());
        $all = array();
        while($row = $this->sdb->fetchrow($result))
        {
            array_push($all, $row['id']);
        }
        return $all;
    }
public function selectAllRoleIDs ( ) { $ result = $ this -> sdb -> query ( " select id from role order by label asc " , array ( ) ) ; $ all = array ( ) ; while ( $ row = $ this -> sdb -> fetchrow ( $ result ) ) { array_push ( $ all , $ row [ 'id' ] ) ; } return $ all ; }
Select all role record IDs
 Get all the IDs of all roles.
Select all role record IDs Get all the IDs of all roles .