Added TODO elements to unimplemented CampaignAdmin functionality

This commit is contained in:
Ingo Schommer 2016-04-07 17:13:54 +12:00
parent d1502cd49f
commit 783d45cedd

View File

@ -173,6 +173,8 @@ JSON;
$response->addHeader('Content-Type', 'application/json'); $response->addHeader('Content-Type', 'application/json');
$response->setBody(Convert::raw2json(['campaign' => 'create'])); $response->setBody(Convert::raw2json(['campaign' => 'create']));
// TODO Implement permission check and data creation
return $response; return $response;
} }
@ -308,6 +310,8 @@ JSON;
$response->addHeader('Content-Type', 'application/json'); $response->addHeader('Content-Type', 'application/json');
$response->setBody(''); $response->setBody('');
// TODO Implement data retrieval and serialisation
return $response; return $response;
} }
@ -323,6 +327,8 @@ JSON;
$response->addHeader('Content-Type', 'application/json'); $response->addHeader('Content-Type', 'application/json');
$response->setBody(Convert::raw2json(['campaign' => 'update'])); $response->setBody(Convert::raw2json(['campaign' => 'update']));
// TODO Implement data update and permission checks
return $response; return $response;
} }