-
-
Save guidokritz/f08d4bae3d4bffa0e222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach($states as $_state){ | |
$rv['stateid-'.$_state->getId()] = $_state->getName(); | |
foreach($_state->getAreas() as $_area){ | |
$rv['areaid-'.$_area->getId()] = '-- ' . $_area->getName(); | |
foreach ($_area->getCinemas() as $_cinema) { | |
$rv['cinemaid-'.$_cinema->getId()] = '---- ' . $_cinema->getName(); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment