public function getReferencesModel()
    {
        if (empty($this->referencesModel)) {
            $this->referencesModel = $this->getModelNamespace(ucfirst($this->getForeignModelName()));
        }

        return $this->referencesModel;
    }
public function getReferencesModel()
    {
        if (empty($this->referencesModel)) {
            $this->referencesModel = $this->getModelNamespace(ucfirst($this->getForeignModelName()));
        }

        return $this->referencesModel;
    }
public function getReferencesModel ( ) { if ( empty ( $ this -> referencesModel ) ) { $ this -> referencesModel = $ this -> getModelNamespace ( ucfirst ( $ this -> getForeignModelName ( ) ) ) ; } return $ this -> referencesModel ; }
Get the model that is being referenced.

@return string
Get the model that is being referenced .