public function getSelect() { $select = array(); $icons = $this->getIcons(); foreach ($icons as $icon) { $select[$icon->getId()] = $icon->getName(); } return $select; }