src/mako/database/midgard/relations/Relation.php
protected function getForeignKey()
	{
		if($this->foreignKey === null)
		{
			$this->foreignKey = $this->parent->getForeignKey();
		}

		return $this->foreignKey;
	}
protected function getForeignKey()
	{
		if($this->foreignKey === null)
		{
			$this->foreignKey = $this->parent->getForeignKey();
		}

		return $this->foreignKey;
	}
protected function getForeignKey ( ) { if ( $ this -> foreignKey === null ) { $ this -> foreignKey = $ this -> parent -> getForeignKey ( ) ; } return $ this -> foreignKey ; }
Returns the foreign key.

@return string
Returns the foreign key .