示例#1
0
 public function init()
 {
     $mainMenu = new Showcase_Admin_Menus();
     $this->view->assign('mainMenu', $mainMenu->mainMenu);
     $this->_clients = $this->_helper->Job->loadClient(1);
     //the 1 is the status... should be string saying live?
     $this->_status = Showcase_Admin::getStatus();
 }
示例#2
0
 public function init()
 {
     $mainMenu = new Showcase_Admin_Menus();
     $this->view->assign('mainMenu', $mainMenu->mainMenu);
     $this->_contentId = $this->_getParam('contentId');
     $this->_status = Showcase_Admin::getStatus();
     $this->_categories = Showcase_Admin::getCategories();
     $this->_types = Showcase_Admin::getTypes();
 }
示例#3
0
 public function init()
 {
     $mainMenu = new Showcase_Admin_Menus();
     $this->view->assign('mainMenu', $mainMenu->mainMenu);
     $this->_jobId = $this->_getParam('jobId');
     $this->_clientId = $this->_getParam('clientId');
     //load the job
     $job = new Showcase_Controller_Action_Helper_Jobs();
     $this->_job = $job->loadJob($this->_clientId, $this->_jobId, 'NULL', 'get_job_all_status');
     //list of status
     $this->_status = Showcase_Admin::getStatus();
     //get the list of clients
     $this->_clients = $this->_helper->Job->loadClient(1);
     //fetch the name of the client from the id
     $this->_clientName = Showcase_Admin::seekName($this->_clients, $this->_clientId);
 }