Skip to content

Instantly share code, notes, and snippets.

@amitaibu
Created June 23, 2014 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitaibu/834c94b63381dbfcb1f3 to your computer and use it in GitHub Desktop.
Save amitaibu/834c94b63381dbfcb1f3 to your computer and use it in GitHub Desktop.
$result = array(
'id' => 1,
'label' => 'Capacity building in support of the African Forum for Utility Regulators',
'action' => 18827,
'amount' => 1299396,
'year' => 2009,
'residual' => FALSE,
'activity' => array(
'list' => array( 100, 150, 350),
'self' => 'http://example.com/api/v1/activity',
),
'contract' => FALSE,
'documents' => array(
'list' => array( 34, 35, 37),
'self' => 'http://example.com/api/v1/activity',
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment