Prev | Current Page 314 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"


The second parameter refers to the class constant XMLRPC_TYPE_DATETIME which is
unsurprisingly defined as ???dateTime.iso8601???.
PHP Native Type XML-RPC Type Zend_XmlRpc_Value Object
boolean Zend_XmlRpc_Value_Boolean
integer or Zend_XmlRpc_Value_Integer
double Zend_XmlRpc_Value_Double
string (the default type) Zend_XmlRpc_Value_String
dateTime.iso8601 Zend_XmlRpc_Value_DateTime
base64 Zend_XmlRpc_Value_Base64
array Zend_XmlRpc_Value_Array
associative array Zend_XmlRpc_Value_Struct
Table 11.1 Mapping PHP native types against their XML-RPC Type and the corresponding Zend_XmlRpc_Value object
If you are thinking that all this introspection by Zend_Server_Reflection must come at a price then you
would be right, particularly when a lot of classes or functions are attached to the server. Thankfully there is a
solution in the form of Zend_XmlRpc_Server_Cache which, as the name implies, can be used to cache the
information gathered by Zend_Server_Reflection. We don??™t need to vary too much from the example given in
the Zend Framework manual as its use is really very simple as we can see in listing 11.7.
Listing 11.7 Our Zend_XmlRpc_Server with caching implemented
$cacheFile = ROOT_DIR .


Pages:
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
buchsbaum loans with no credit check Fundusze Emerytalne Biuro księgowe Lublin opony goodyear