/** * function processData * <pre> * Processes the data for this form. * </pre> * @return [void] */ function processData() { // if this is a delete operation then if ($this->opType == 'D') { if ($this->shouldDelete) { $this->dataManager->deleteEntry(); } } else { // else // save the value of the Foriegn Key(s) /*[RAD_ADMINBOX_FOREIGNKEY]*/ // Store values in dataManager object $this->dataManager->loadFromArray($this->formValues); // Save the values into the Table. if (!$this->dataManager->isLoaded()) { $this->dataManager->createNewEntry(); } else { $this->dataManager->updateDBTable(); } } // end if // now tell Cache Manager to reset the cache entries... $cacheManager = new RowManager_NavBarCacheManager(); $cacheManager->flushCacheEntries(); // now Clear out dataManager & FormValues $this->dataManager->clearValues(); $this->formValues = $this->dataManager->getArrayOfValues(); // on a successful update return navbargroup_id to '' $this->navbargroup_id = ''; }