public function drop()
    {

        static::valTable();
        $sql = /** @lang text */
            "DROP TABLE " . self::$table;
        try {
            $this->exec($sql);
            static::$response["status"] = "success";
            static::$response["response"] = "success";
            return self::terminate(static::$response);

        } catch (Exception $e) {
            static::$response["status"] = "error";
            static::$response["response"] = $e->getMessage();
            static::$response["code"] = $e->getCode();
            return static::terminate(static::$response);
        }

    }
public function drop()
    {

        static::valTable();
        $sql = /** @lang text */
            "DROP TABLE " . self::$table;
        try {
            $this->exec($sql);
            static::$response["status"] = "success";
            static::$response["response"] = "success";
            return self::terminate(static::$response);

        } catch (Exception $e) {
            static::$response["status"] = "error";
            static::$response["response"] = $e->getMessage();
            static::$response["code"] = $e->getCode();
            return static::terminate(static::$response);
        }

    }
public function drop ( ) { static :: valTable ( ) ; $ sql = /** @lang text */ "DROP TABLE " . self :: $ table ; try { $ this -> exec ( $ sql ) ; static :: $ response [ "status" ] = "success" ; static :: $ response [ "response" ] = "success" ; return self :: terminate ( static :: $ response ) ; } catch ( Exception $ e ) { static :: $ response [ "status" ] = "error" ; static :: $ response [ "response" ] = $ e -> getMessage ( ) ; static :: $ response [ "code" ] = $ e -> getCode ( ) ; return static :: terminate ( static :: $ response ) ; } }
Function to drop a table
@return string
Function to drop a table