55 'OBJECT_ID' => $entity->getObjectId(),
56 'OBJECT_TYPE' => $entity->getObjectType(),
57 'HASH' => $entity->getHash(),
58 'OPTIONS' => $this->getOptionsJSON($entity),
60 'ACTIVE' => $entity->isActive(),
61 'DATE_EXPIRE' => $entity->getDateExpire(),
62 'JOINT' => $entity->isJoint(),
63 'FREQUENT_USE' => $entity->getFrequentUse(),
69 if ($result->isSuccess())
71 $entity->setId($result->getId());
85 'OPTIONS' => $this->getOptionsJSON($entity),
86 'ACTIVE' => $entity->isActive(),
87 'DATE_EXPIRE' => $entity->getDateExpire(),
88 'FREQUENT_USE' => $entity->getFrequentUse(),
94 if ($result->isSuccess())