public function getLink() {
		if($this->get('many') && $this->type() == 'hasMany')
			return $this->reverse()->get('name').'_id';
		elseif(!$this->get('many'))
			return $this->name.'_id';
	}
public function getLink() {
		if($this->get('many') && $this->type() == 'hasMany')
			return $this->reverse()->get('name').'_id';
		elseif(!$this->get('many'))
			return $this->name.'_id';
	}
public function getLink ( ) { if ( $ this -> get ( 'many' ) && $ this -> type ( ) == 'hasMany' ) return $ this -> reverse ( ) -> get ( 'name' ) . '_id' ; elseif ( ! $ this -> get ( 'many' ) ) return $ this -> name . '_id' ; }
Get the relation link attribute.
@return string
Get the relation link attribute .