src/snac/server/database/DBUser.php
/**
     * List all system institutions.
     *
     * Create a list of summary constellation objects for each SNAC institution.
     *
     * @return \snac\data\Constellation[] Return list of constellations (summary) for the SNAC institutions.
     */
List all system institutions.
Create a list of summary constellation objects for each SNAC institution.

@return \snac\data\Constellation[] Return list of constellations (summary) for the SNAC institutions.
List all system institutions . Create a list of summary constellation objects for each SNAC institution . @return \ snac \ data \ Constellation [] Return list of constellations ( summary ) for the SNAC institutions .
public function listInstitutions()
    {
        $rowList = $this->sql->selectAllInstitution();
        $instList = array();
        foreach($rowList as $row)
        {
            $cObj = $this->dbutil->readPublishedConstellationByID($row['ic_id'], DBUtil::$READ_MICRO_SUMMARY);
            array_push($instList, $cObj);
        }
        return $instList;
    }
public function listInstitutions ( ) { $ rowList = $ this -> sql -> selectAllInstitution ( ) ; $ instList = array ( ) ; foreach ( $ rowList as $ row ) { $ cObj = $ this -> dbutil -> readPublishedConstellationByID ( $ row [ 'ic_id' ] , DBUtil :: $ READ_MICRO_SUMMARY ) ; array_push ( $ instList , $ cObj ) ; } return $ instList ; }
List all system institutions.
List all system institutions .
/*
         * Select all the institution data, returned as a list of associative lists. We don't have any use for
         * a list of ids, unlike Role and some other data. So, there is no populateInstitution(). It all happens here.
         *
         */