Skip to content

Instantly share code, notes, and snippets.

@ivan-ivanic-cm
Created October 18, 2012 12:17
Show Gist options
  • Save ivan-ivanic-cm/3911435 to your computer and use it in GitHub Desktop.
Save ivan-ivanic-cm/3911435 to your computer and use it in GitHub Desktop.
foreach($serviceTypes as $serviceType) {
$clean = str_replace(',', '', $serviceType->getName());
$options[$clean] = $this->getCourierName($serviceType->getCourierId()) . ' - ' . $serviceType->getName();
}
@milosh012
Copy link

Siris SE spirit po gist-u :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment