$value) { $array[] = '{ label: "' . $value . '", value: "' . $key . '" }'; } $source = implode(', ', $array); } $this->setBodyCode( ""); $this->_source = $source; } /** * @return string */ public function getSource() { return $this->_source; } }