Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
[Docs] - Fixes #10 - Check For Blockquotes In Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
froschdesign committed Feb 14, 2016
1 parent 7f951d7 commit 27736d4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions doc/book/zend.xmlrpc.client.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Parameters may be passed to `call()` as native *PHP* variables, meaning as a `St
`Float`, `Boolean`, `Array`, or an `Object`. In this case, each *PHP* native type will be
auto-detected and converted into one of the *XML-RPC* types according to this table:

> ## Note
> ### Note
#### What type do empty arrays get cast to?
Passing an empty array to an *XML-RPC* method is problematic, as it could represent either an array
or a struct. `Zend\XmlRpc\Client` detects such conditions and makes a request to the server's
Expand Down Expand Up @@ -101,7 +101,7 @@ There are two ways to create a `Zend\XmlRpc\Value` object: instantiate one of th
`Zend\XmlRpc\Value` subclasses directly, or use the static factory method
`Zend\XmlRpc\AbstractValue::getXmlRpcValue()`.

> ## Note
> ### Note
#### Automatic Conversion
When building a new `Zend\XmlRpc\Value` object, its value is set by a *PHP* type. The *PHP* type
will be converted to the specified type using *PHP* casting. For example, if a string is given as a
Expand Down
2 changes: 1 addition & 1 deletion doc/book/zend.xmlrpc.intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $server->setClass('Greeter', 'greeter');
$server->handle();
```

> ## Note
> ### Note
It is necessary to write function and method docblocks for the services which are to be exposed via
`Zend\XmlRpc\Server`, as it will be used to validate parameters provided to the methods, and also to
determine the method help text and method signatures.
Expand Down
8 changes: 4 additions & 4 deletions doc/book/zend.xmlrpc.server.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function myFunc($val1, $val2, $val3)
}
```

> ## Note
> ### Note
Allowing multiple signatures can lead to confusion for developers using the services; to keep things
simple, a *XML-RPC* service method should only have a single signature.

Expand Down Expand Up @@ -483,7 +483,7 @@ $server->setResponseClass('Services\Response');
echo $server->handle($request);
```

> ## Note
> ### Note
The server cache file should be located outside the document root.

**Optimizing XML generation**
Expand All @@ -504,14 +504,14 @@ $server = new XmlRpc\Server();
...
```

> ## Note
> ### Note
#### Benchmark your application
Performance is determined by a lot of parameters and benchmarks only apply for the specific test
case. Differences come from *PHP* version, installed extensions, webserver and operating system just
to name a few. Please make sure to benchmark your application on your own and decide which generator
to use based on **your** numbers.

> ## Note
> ### Note
#### Benchmark your client
This optimization makes sense for the client side too. Just select the alternate *XML* generator
before doing any work with `Zend\XmlRpc\Client`.

0 comments on commit 27736d4

Please sign in to comment.