public function getForeignKey()
    {
        if ($this->_foreignKey === null) {
            $this->_foreignKey = $this->_modelKey($this->getSource()->getTable());
        }

        return $this->_foreignKey;
    }
public function getForeignKey()
    {
        if ($this->_foreignKey === null) {
            $this->_foreignKey = $this->_modelKey($this->getSource()->getTable());
        }

        return $this->_foreignKey;
    }
public function getForeignKey ( ) { if ( $ this -> _foreignKey === null ) { $ this -> _foreignKey = $ this -> _modelKey ( $ this -> getSource ( ) -> getTable ( ) ) ; } return $ this -> _foreignKey ; }
Gets the name of the field representing the foreign key to the source table.

@return string
Gets the name of the field representing the foreign key to the source table .