public function databoxes()
    {
        if (!$this->databoxes) {
            $this->databoxes = [];

            foreach ($this as $record) {
                if (false === array_key_exists($record->get_databox()->get_sbas_id(), $this->databoxes)) {
                    $this->databoxes[$record->get_databox()->get_sbas_id()] = $record->get_databox();
                }
            }

            $this->databoxes = array_values($this->databoxes);
        }

        return $this->databoxes;
    }
public function databoxes()
    {
        if (!$this->databoxes) {
            $this->databoxes = [];

            foreach ($this as $record) {
                if (false === array_key_exists($record->get_databox()->get_sbas_id(), $this->databoxes)) {
                    $this->databoxes[$record->get_databox()->get_sbas_id()] = $record->get_databox();
                }
            }

            $this->databoxes = array_values($this->databoxes);
        }

        return $this->databoxes;
    }
public function databoxes ( ) { if ( ! $ this -> databoxes ) { $ this -> databoxes = [ ] ; foreach ( $ this as $ record ) { if ( false === array_key_exists ( $ record -> get_databox ( ) -> get_sbas_id ( ) , $ this -> databoxes ) ) { $ this -> databoxes [ $ record -> get_databox ( ) -> get_sbas_id ( ) ] = $ record -> get_databox ( ) ; } } $ this -> databoxes = array_values ( $ this -> databoxes ) ; } return $ this -> databoxes ; }
Return all distinct databoxes related to the contained records

@return \databox[]
Return all distinct databoxes related to the contained records