From 0dfd2587b0dc883dc7e2624711ee01d459c3f6bb Mon Sep 17 00:00:00 2001 From: pmaziere Date: Sun, 21 Aug 2016 13:56:48 +0200 Subject: [PATCH] Rename file_get_html to getSimpleHTMLDOM --- BridgeAbstract.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BridgeAbstract.md b/BridgeAbstract.md index c1f6c2d..99ca95e 100644 --- a/BridgeAbstract.md +++ b/BridgeAbstract.md @@ -191,7 +191,7 @@ Following functions should be used for good practice and will support you with y * [`returnError`](#the-returnerror-function) * [`returnClientError`](#the-returnclienterror-function) * [`returnServerError`](#the-returnservererror-function) -* [`file_get_html`](#the-file_get_html-function) +* [`getSimpleHTMLDOM`](#the-getSimpleHTMLDOM-function) ## The `returnError` function @@ -225,12 +225,12 @@ $this->returnServerError('Your error message') Use this function when a problem occurs that has nothing to do with the parameters provided by the user. (like: Host service gone missing, empty data received, etc...) -## The `file_get_html` function +## The `getSimpleHTMLDOM` function This function is a wrapper around the [simple_html_dom](http://simplehtmldom.sourceforge.net/) [file_get_html](http://simplehtmldom.sourceforge.net/manual_api.htm#api) function in order to provide context by design. It is considered good practice to use this function. ```PHP -$html = $this->file_get_html('your URI'); +$html = $this->getSimpleHTMLDOM('your URI'); ``` # Template