XRL  latest
Simple XML-RPC Library (both client and server)
fpoirotte\XRL\Types\Base64 Class Reference

The XML-RPC "base64" type. More...

+ Inheritance diagram for fpoirotte\XRL\Types\Base64:

Public Member Functions

 write (\XMLWriter $writer,\DateTimeZone $timezone, $stringTag)
 
- Public Member Functions inherited from fpoirotte\XRL\Types\StringType
 set ($value)
 
 write (\XMLWriter $writer,\DateTimeZone $timezone, $stringTag)
 
- Public Member Functions inherited from fpoirotte\XRL\Types\AbstractType
 __construct ($value)
 
 __toString ()
 
 get ()
 
 set ($value)
 
 write (\XMLWriter $writer,\DateTimeZone $timezone, $stringTag)
 

Static Protected Member Functions

static parse ($value,\DateTimeZone $timezone=null)
 
- Static Protected Member Functions inherited from fpoirotte\XRL\Types\AbstractType
static parse ($value,\DateTimeZone $timezone=null)
 

Additional Inherited Members

- Static Public Member Functions inherited from fpoirotte\XRL\Types\AbstractType
static read ($value,\DateTimeZone $timezone=null)
 
- Protected Attributes inherited from fpoirotte\XRL\Types\AbstractType
 $value
 Current value associated with this object.
 

Detailed Description

The XML-RPC "base64" type.

Authors
François Poirotte click.nosp@m.y@er.nosp@m.ebot..nosp@m.net

Definition at line 20 of file Base64.php.

Member Function Documentation

static fpoirotte\XRL\Types\Base64::parse (   $value,
\DateTimeZone  $timezone = null 
)
staticprotected

Parse a string into a value compatible with this type.

Parameters
string$valueString to parse.
DateTimeZone$timezoneTimezone to use when converting dates/times.
Return values
mixedA value compatible with this type.

Definition at line 29 of file Base64.php.

References fpoirotte\XRL\Types\AbstractType\$value.

fpoirotte\XRL\Types\Base64::write ( \XMLWriter  $writer,
\DateTimeZone  $timezone,
  $stringTag 
)

Export this object's value to XML.

Parameters
XMLWriter$writerWriter the value will be exported to.
DateTimeZone$timezoneTimezone to use when exporting dates/times.
bool$stringTagWhether to use <string> tags at all when encoding strings.
Returns
This method does not return any value.

Definition at line 23 of file Base64.php.


The documentation for this class was generated from the following file: