Example #1
0
 public function delete(AbstractEntity $entity)
 {
     $commandArray = array('-recid' => $entity->getRecid(), '-modid' => $entity->getModid(), '-delete' => NULL);
     $this->simpleFMAdapter->setCommandArray($commandArray)->setLayoutname($this->getEntityLayout());
     $result = $this->handleAdapterResult($this->simpleFMAdapter->execute());
     return true;
 }