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; }