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