Commit 24fc8bd1301e52c8e02fad11dc3580c1a7b43fc3
1 parent
33813a62
add php docs for check action
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
app/library/App/Controllers/GaController.php
@@ -30,6 +30,12 @@ class GaController extends CrudResourceController { | @@ -30,6 +30,12 @@ class GaController extends CrudResourceController { | ||
30 | const VIEW_ID = '119240817'; | 30 | const VIEW_ID = '119240817'; |
31 | const SCOPE = 'https://www.googleapis.com/auth/analytics.readonly'; | 31 | const SCOPE = 'https://www.googleapis.com/auth/analytics.readonly'; |
32 | 32 | ||
33 | + /** | ||
34 | + * Check permission for input project | ||
35 | + * | ||
36 | + * @return array | ||
37 | + * @throws Exception | ||
38 | + */ | ||
33 | public function checkAction() { | 39 | public function checkAction() { |
34 | 40 | ||
35 | $data = $this->getPostedData(); | 41 | $data = $this->getPostedData(); |