From dc91db1f4690092698a472ee924bcbbbc5e19a25 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Tue, 11 Sep 2012 17:48:08 -0400 Subject: [PATCH] formatting --- .../application/controllers/ApiController.php | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/airtime_mvc/application/controllers/ApiController.php b/airtime_mvc/application/controllers/ApiController.php index 7a626fca3..96ab1c13f 100644 --- a/airtime_mvc/application/controllers/ApiController.php +++ b/airtime_mvc/application/controllers/ApiController.php @@ -8,33 +8,33 @@ class ApiController extends Zend_Controller_Action $this->checkAuth(); /* Initialize action controller here */ $context = $this->_helper->getHelper('contextSwitch'); - $context->addActionContext('version', 'json') - ->addActionContext('recorded-shows', 'json') - ->addActionContext('calendar-init', 'json') - ->addActionContext('upload-file', 'json') - ->addActionContext('upload-recorded', 'json') - ->addActionContext('media-monitor-setup', 'json') - ->addActionContext('media-item-status', 'json') - ->addActionContext('reload-metadata', 'json') - ->addActionContext('list-all-files', 'json') - ->addActionContext('list-all-watched-dirs', 'json') - ->addActionContext('add-watched-dir', 'json') - ->addActionContext('remove-watched-dir', 'json') - ->addActionContext('set-storage-dir', 'json') - ->addActionContext('get-stream-setting', 'json') - ->addActionContext('status', 'json') - ->addActionContext('register-component', 'json') - ->addActionContext('update-liquidsoap-status', 'json') - ->addActionContext('live-chat', 'json') - ->addActionContext('update-file-system-mount', 'json') - ->addActionContext('handle-watched-dir-missing', 'json') - ->addActionContext('rabbitmq-do-push', 'json') - ->addActionContext('check-live-stream-auth', 'json') - ->addActionContext('update-source-status', 'json') - ->addActionContext('get-bootstrap-info', 'json') - ->addActionContext('get-files-without-replay-gain', 'json') - ->addActionContext('reload-metadata-group', 'json') - ->addActionContext('notify-webstream-data', 'json') + $context->addActionContext('version' , 'json') + ->addActionContext('recorded-shows' , 'json') + ->addActionContext('calendar-init' , 'json') + ->addActionContext('upload-file' , 'json') + ->addActionContext('upload-recorded' , 'json') + ->addActionContext('media-monitor-setup' , 'json') + ->addActionContext('media-item-status' , 'json') + ->addActionContext('reload-metadata' , 'json') + ->addActionContext('list-all-files' , 'json') + ->addActionContext('list-all-watched-dirs' , 'json') + ->addActionContext('add-watched-dir' , 'json') + ->addActionContext('remove-watched-dir' , 'json') + ->addActionContext('set-storage-dir' , 'json') + ->addActionContext('get-stream-setting' , 'json') + ->addActionContext('status' , 'json') + ->addActionContext('register-component' , 'json') + ->addActionContext('update-liquidsoap-status' , 'json') + ->addActionContext('live-chat' , 'json') + ->addActionContext('update-file-system-mount' , 'json') + ->addActionContext('handle-watched-dir-missing' , 'json') + ->addActionContext('rabbitmq-do-push' , 'json') + ->addActionContext('check-live-stream-auth' , 'json') + ->addActionContext('update-source-status' , 'json') + ->addActionContext('get-bootstrap-info' , 'json') + ->addActionContext('get-files-without-replay-gain' , 'json') + ->addActionContext('reload-metadata-group' , 'json') + ->addActionContext('notify-webstream-data' , 'json') ->initContext(); }