protected function loadRelationship()
    {
        $field_parameters = $this->getFieldParameters();

        $query = $this->buildRelationshipQuery($field_parameters);

        if (! $query) {
            throw new Exception('Could not build query from field parameters');
        }

        if (method_exists($this, 'amendRelationshipQuery')) {
            $query = $this->amendRelationshipQuery($query);
        }

        return $this->getRelationshipArray($query, $field_parameters);
    }
protected function loadRelationship()
    {
        $field_parameters = $this->getFieldParameters();

        $query = $this->buildRelationshipQuery($field_parameters);

        if (! $query) {
            throw new Exception('Could not build query from field parameters');
        }

        if (method_exists($this, 'amendRelationshipQuery')) {
            $query = $this->amendRelationshipQuery($query);
        }

        return $this->getRelationshipArray($query, $field_parameters);
    }
protected function loadRelationship ( ) { $ field_parameters = $ this -> getFieldParameters ( ) ; $ query = $ this -> buildRelationshipQuery ( $ field_parameters ) ; if ( ! $ query ) { throw new Exception ( 'Could not build query from field parameters' ) ; } if ( method_exists ( $ this , 'amendRelationshipQuery' ) ) { $ query = $ this -> amendRelationshipQuery ( $ query ) ; } return $ this -> getRelationshipArray ( $ query , $ field_parameters ) ; }
Loads array from database using field parameters specified.

return @array
Loads array from database using field parameters specified .