Exemplo n.º 1
0
 public function syncCategories()
 {
     if (!$this->is_categories_modified) {
         return;
     }
     if (!kEntitlementUtils::getEntitlementEnforcement() || !kEntitlementUtils::isKsPrivacyContextSet()) {
         categoryEntryPeer::syncEntriesCategories($this, $this->is_categories_names_modified);
     }
     parent::save();
     $this->is_categories_modified = false;
 }