src/Lists/HailList.php
public function getOrganisations()
    {
        $config = SiteConfig::current_site_config();
        //Filter out Organisation that are not setup in the config
        $organisations = Organisation::get()->filter(['HailID' => json_decode($config->HailOrgsIDs)]);

        return $organisations->sort('Title')->map('HailID', 'Title')->toArray();
    }
public function getOrganisations()
    {
        $config = SiteConfig::current_site_config();
        //Filter out Organisation that are not setup in the config
        $organisations = Organisation::get()->filter(['HailID' => json_decode($config->HailOrgsIDs)]);

        return $organisations->sort('Title')->map('HailID', 'Title')->toArray();
    }
public function getOrganisations ( ) { $ config = SiteConfig :: current_site_config ( ) ; //Filter out Organisation that are not setup in the config
 $ organisations = Organisation :: get ( ) -> filter ( [ 'HailID' => json_decode ( $ config -> HailOrgsIDs ) ] ) ; return $ organisations -> sort ( 'Title' ) -> map ( 'HailID' , 'Title' ) -> toArray ( ) ; }
Get currently configured Hail Organisations

@return array
Get currently configured Hail Organisations