Exemplo n.º 1
0
 public function materialLocationCommitAction()
 {
     $this->_helper->layout->disableLayout(false);
     $this->_helper->viewRenderer->setNoRender(false);
     //multiple words must be camel cased and then the url structure looks like :
     //  pronav/material-location-commit/
     $project_id -= $this->_getParam('project_id');
     Application_Model_Projects::updateProject(array('project_id' => $project_id, 'material_location' => 'field data', 'material_location_last_modified_by' => ProNav_Auth::getUserID(), 'material_location_last_modified_date' => new Zend_Expr('NOW()')));
 }