Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit b8ed779

Browse files
committed
Improved MD Files, avoiding \ after opening tags
1 parent 7bccb71 commit b8ed779

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you can't use Composer (or don't want to), you can also use this SDK without
2626
To initial this SDK, just require the [_nonComposerLoader.php](https://github.com/Petschko/dhl-php-sdk/blob/master/includes/_nonComposerLoader.php)-File from the `/includes/` directory.
2727

2828
```php
29-
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . '_nonComposerLoader.php');
29+
require_once(__DIR__ . '/includes/_nonComposerLoader.php');
3030
```
3131

3232
## Compatibility
@@ -40,7 +40,7 @@ Version 1 Methods are marked as @deprecated and will removed soon. Please upgrad
4040
- [Getting started (Just a quick guide how you have to use it)](https://github.com/Petschko/dhl-php-sdk/blob/master/examples/getting-started.md)
4141
- _More examples soon_
4242

43-
Please have a look at the [`examples` Directory](https://github.com/Petschko/dhl-php-sdk/tree/master/examples). There you can find how to use this SDK also with Code-Examples, else check the _(Doxygen)_ [Documentation](http://docs.petschko.org/dhl-php-sdk/index.html) for deeper knowledge.
43+
Please have a look at the `examples` [Directory](https://github.com/Petschko/dhl-php-sdk/tree/master/examples). There you can find how to use this SDK also with Code-Examples, else check the _(Doxygen)_ [Documentation](http://docs.petschko.org/dhl-php-sdk/index.html) for deeper knowledge.
4444

4545
## Code Documentation
4646

examples/getting-started.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ One of them:
9191

9292
#### How to create
9393

94-
##### \Petschko\DHL\ShipmentDetails Object
94+
##### `\Petschko\DHL\ShipmentDetails` Object
9595

9696
You need to setup the Shipment-Details for your Shipment (like Size/Weight etc). You can do that with the `\Petschko\DHL\ShipmentDetails` Object.
9797

@@ -152,11 +152,11 @@ $shipmentDetails->setHeight((int) $heightInCM); // Default: null -> Unset|none
152152
$shipmentDetails->setNotificationEmail((string) $email); // Default: null -> Disabled
153153
```
154154

155-
##### \Petschko\DHL\Sender, \Petschko\DHL\Receiver & \Petschko\DHL\ReturnReceiver Object(s)
155+
##### `\Petschko\DHL\Sender`, `\Petschko\DHL\Receiver` & `\Petschko\DHL\ReturnReceiver` Object(s)
156156

157157
Now you have to create a Sender and a Receiver. They are similar to set, just the XML creation is different so you have to use different Objects for that.
158158

159-
If you want to lookup all values, you can search trough the `\Petschko\DHL\SendPerson` + `\Petschko\DHL\Address` Classes.
159+
If you want to lookup all values, you can search trough the `\Petschko\DHL\SendPerson` & `\Petschko\DHL\Address` Classes.
160160

161161
Lets start with the Sender, in the most cases you =). Create a `\Petschko\DHL\Sender` Object:
162162

@@ -205,19 +205,19 @@ Please note, that they need some extra information.
205205

206206
You don't need to create the `\Petschko\DHL\ReturnReceiver` Object if you don't want a return Label.
207207

208-
##### \Petschko\DHL\Service Object
208+
##### `\Petschko\DHL\Service` Object
209209

210210
You can also setup more details for your Shipment by using the `\Petschko\DHL\Service` Object. It's an optional Object but may you should look, what you can set to this Object.
211211

212212
I'll not explain the Service-Object because there are too many settings. Please look into the Service-PHP-File by yourself. The fields are well documented.
213213

214-
##### \Petschko\DHL\BankData Object
214+
##### `\Petschko\DHL\BankData` Object
215215

216216
You can also use the `\Petschko\DHL\BankData` Object. Bank data can be provided for different purposes. E.g. if COD (Cash on Delivery) is booked as service, bank data must be provided by DHL customer (mandatory server logic). The collected money will be transferred to specified bank account.
217217

218218
You can look to the PHP-File of the `\Petschko\DHL\BankData`-Object, and checkout what you can set there. I will not explain it here.
219219

220-
##### \Petschko\DHL\BusinessShipment Object
220+
##### `\Petschko\DHL\BusinessShipment` Object
221221

222222
Finally you can add all together. You have to create the `\Petschko\DHL\BusinessShipment` Object
223223

@@ -412,7 +412,7 @@ $response = $dhl->getManifest('2018-08-06');
412412
If the request failed, you get `false` else a `\Petschko\DHL\Response` Object.
413413
For more Information about the Response, look down where I describe the `\Petschko\DHL\Response` Class.
414414

415-
### \Petschko\DHL\Response Object
415+
### `\Petschko\DHL\Response` Object
416416

417417
If you get a Response that is not `false`, you have to mess with the `\Petschko\DHL\Response` Object.
418418

0 commit comments

Comments
 (0)