Example #1
0
 function modify($whereFields = "")
 {
     // betoltjuk aregi category-t:
     G::load($oldObject, $this->id, "appcategory");
     $this->handleExpirationFieldsContraversy();
     parent::modify($whereFields);
     // recursive esetben csak a wholeName valtoztatasarol van szo,
     // nincs attachment feltoltes, exp, vagy immediateAppear valtoztatas:
     if (!Roll::isFormInvalid()) {
         $this->storeAttachment();
         $this->handleExpirationChanges($oldObject->expiration);
         $this->handleImmediateAppearChanges($oldObject->immediateAppear);
         CacheManager::resetCache($this->id);
     }
 }