/** * Systemic diagnoses shortcode * * @return string */ public function getSyd() { return strtolower(Helper::formatList(Helper::extractValues($this->getSystemicDiagnoses(), 'disorder.term'))); }
public function testFormatList_Three() { $this->assertEquals('foo, bar and baz', Helper::formatList(array('foo', 'bar', 'baz'))); }