Does no delete the field definitions!
abstract public deleteType ( mixed $typeId, integer $status ) | ||
$typeId | mixed | |
$status | integer |
/** * Deletes a the Type. * * Does no delete the field definitions! * * @param mixed $typeId * @param int $status */ public function deleteType($typeId, $status) { try { return $this->innerGateway->deleteType($typeId, $status); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }