Skip to content
GitLab
Explore
Sign in
Commits on Source (3)
Add "enviroments" to the sucssite ci thing.
· 1f4a4016
Imran Hussain
authored
Jul 15, 2016
https://projects.sucs.org/help/ci/environments
1f4a4016
fix su api
· c46edb84
Imran Hussain
authored
Sep 05, 2016
c46edb84
Merge branch 'master' into beta
· 25678b07
Imran Hussain
authored
Sep 05, 2016
25678b07
Hide whitespace changes
Inline
Side-by-side
lib/suapiv2.php
View file @
25678b07
...
...
@@ -31,10 +31,8 @@ $membership_data = $formated_raw_data["table1"]["table1_Product_Collection"]["ta
// make a new array that just contains *every* member no matter what they bought
$just_members
=
array
();
foreach
(
$membership_data
as
$typeOfMember
)
{
foreach
(
$typeOfMember
[
"Detail_Collection"
][
"Detail"
]
as
$member
)
{
array_push
(
$just_members
,
$member
[
"@attributes"
]);
}
foreach
(
$membership_data
[
"Detail_Collection"
]
as
$member
)
{
array_push
(
$just_members
,
$member
[
"@attributes"
]);
}
/* You can now use $just_members to probe member detials. It's an array of arrays which each contain:
...
...