public function contributionsAction() { $model = Daiquiri_Proxy::factory('Meetings_Model_Contributions'); $response = $model->info($this->_slug); // assign to view $this->view->assign($response); }
public function indexAction() { $slug = $this->_getParam('slug'); if ($slug !== null) { $model = Daiquiri_Proxy::factory('Meetings_Model_Meetings'); $response = $model->show(array('slug' => $slug)); $this->view->meeting = $response['row']; } $this->view->slug = $slug; }
public function init() { $requestParams = $this->_getAllParams(); if (empty($requestParams['moduleName'])) { throw new Daiquiri_Exception_BadRequest(); } else { $this->_model = Daiquiri_Proxy::factory(ucfirst($requestParams['moduleName']) . '_Model_Uws'); $this->_helper->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); $this->getResponse()->clearBody(); $this->getResponse()->clearHeaders(); } }
public function exportAction() { $databasesModel = Daiquiri_Proxy::factory('Data_Model_Databases'); $databases = $databasesModel->export(); $tablesModel = Daiquiri_Proxy::factory('Data_Model_Tables'); $tables = $tablesModel->export(); $columnsModel = Daiquiri_Proxy::factory('Data_Model_Columns'); $columns = $columnsModel->export(); $functionsModel = Daiquiri_Proxy::factory('Data_Model_Functions'); $functions = $functionsModel->export(); $this->view->data = array_merge($databases['data'], $tables['data'], $columns['data'], $functions['data']); $this->view->status = 'ok'; // disable layout $this->_helper->layout->disableLayout(); $this->getResponse()->setHeader('Content-Type', 'text/plain'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Auth_Model_Account'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Meetings_Model_ParticipantStatus'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Meetings_Model_ContributionTypes'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Core_Model_Templates'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Data_Model_Functions'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Auth_Model_Registration'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Contact_Model_Submit'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Auth_Model_DetailKeys'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Meetings_Model_Meetings'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Auth_Model_Sessions'); }
public function init() { $this->_db = $this->_getParam('db'); $this->_table = $this->_getParam('table'); $this->_model = Daiquiri_Proxy::factory('Data_Model_Viewer'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Auth_Model_Password'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Core_Model_Config'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Query_Model_Jobs'); }
public function init() { $this->_model = Daiquiri_Proxy::factory('Contact_Model_Messages'); }