Created
November 19, 2012 02:54
-
-
Save jzmwebdevelopment/4108715 to your computer and use it in GitHub Desktop.
Ramblings on
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
public function test() | |
{ | |
$getCategory = $this->getTMCatInfomation(); | |
$getListCategory = $this->getTMMemberListings(); | |
$listingCat = array(); | |
foreach ($getListCategory as $main) | |
{ | |
$listingCat[] = array('listingCategory' => $main['listingCategory'], | |
'listingId' => $main['listingId'], | |
'listingTitle' => $main['listingTitle'] | |
); | |
} | |
$catCat = array(); | |
foreach($getCategory as $main) | |
{ | |
$catCat[] = array('parentNumber' => $main['parentNumber'], | |
'parentName' => $main['parentName'], | |
'subName' => $main['subName'] | |
); | |
} | |
foreach ($listingCat['listingId'] as $id) | |
{ | |
$listingInformation = array(); | |
if($id === $catCat['parentNumber']) | |
{ | |
$listingInformation = array('loads all relevant information'); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment