public function listAction() { $oComponentGrid = new AM_Component_List_Revision($this, $this->iIssueId); $oComponentGrid->show(); $oComponetPager = new AM_Component_Pager($this, 'pager', $oComponentGrid); $oComponetPager->show(); }
public function listAction() { $oBreadCrumbHelper = new AM_View_Helper_Breadcrumbs($this->view, $this->oDb, $this->getUser(), AM_View_Helper_Breadcrumbs::ISSUE, $this->_getAllParams()); $oBreadCrumbHelper->show(); $oGridComponent = new AM_Component_List_Issue($this, $this->iApplicationId); $oGridComponent->show(); $oPagerComponent = new AM_Component_Pager($this, 'pager', $oGridComponent); $oPagerComponent->show(); }
/** * Device list action */ public function listAction() { $oComponentFilter = new AM_Component_Filter($this, 'filter', array('controls' => array('identifer' => array('title' => 'UDID'), 'linked' => array('title' => 'Only linked to users')))); if ($oComponentFilter->operation()) { return $this->_redirect($this->getHelper('Url')->url($oComponentFilter->getUrlParams(), null, true)); } $oComponentFilter->show(); $oGrid = new AM_Component_List_Devices($this, 'grid', $oComponentFilter); $oGrid->show(); $oPager = new AM_Component_Pager($this, 'pager', $oGrid); $oPager->show(); }
/** * Client list action */ public function listAction() { $oGrid = new AM_Component_List_Client($this); $oGrid->show(); $oPager = new AM_Component_Pager($this, 'pager', $oGrid); $oPager->show(); }
/** * List application action */ public function listAction() { $oGridComponent = new AM_Component_List_Subscription($this, $this->iApplicationId); $oGridComponent->show(); $oPagerComponent = new AM_Component_Pager($this, 'pager', $oGridComponent); $oPagerComponent->show(); $oApplication = AM_Model_Db_Table_Abstract::factory('application')->findOneBy('id', $this->iApplicationId); $this->view->iAppId = $this->iApplicationId; $this->view->iClientId = $oApplication->client; $this->view->aAppTitle = $oApplication->title; }
/** * List application action */ public function listAction() { if ($this->_aUserInfo['role'] == 'admin') { $iClientId = $this->_getParam('cid'); } else { $iClientId = $this->_aUserInfo['client']; } if (!$iClientId) { throw new AM_Controller_Exception_BadRequest(); } $oGrid = new AM_Component_List_Application($this, $iClientId); $oGrid->show(); $oPager = new AM_Component_Pager($this, 'pager', $oGrid); $oPager->show(); $this->view->clientId = $iClientId; }