Skip to content

Instantly share code, notes, and snippets.

@putzflorian
Created July 4, 2013 09:56
Show Gist options
  • Select an option

  • Save putzflorian/5926430 to your computer and use it in GitHub Desktop.

Select an option

Save putzflorian/5926430 to your computer and use it in GitHub Desktop.
Object_Service Dropdown im Pimcoreobject
<?php
$myselect = Object_Service::getOptionsForSelectField($this->object, "kategorie");
echo $myselect[$this->object->getKategorie()];
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment