lib/place/work_item.rb
# Returns all links to the current workitems from others, eventually only with a specified role
Returns all links to the current workitems from others, eventually only with a specified role
Returns all links to the current workitems from others eventually only with a specified role
def links_in(role=nil)
	if role.nil?
	  Link.find(:to_wid => self.wid)
	else
	  Link.find(:to_wid => self.wid, :role => role.to_s)
	end
  end
def links_in ( role = nil ) if role . nil? Link . find ( :to_wid => self . wid ) else Link . find ( :to_wid => self . wid , :role => role . to_s ) end end
Returns all links to the current workitems from others, eventually only with a specified role
Returns all links to the current workitems from others eventually only with a specified role
role
<not_specific>