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

Abstract class for fixed-length integer types. More...

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

Public Member Functions

 __toString ()
 
 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)
 

Additional Inherited Members

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

Detailed Description

Abstract class for fixed-length integer types.

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

Definition at line 21 of file AbstractInteger.php.

Member Function Documentation

fpoirotte\XRL\Types\AbstractInteger::__toString ( )

Return a string representation of this object's value.

Return values
stringString representation of this object's value.

Definition at line 24 of file AbstractInteger.php.

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

fpoirotte\XRL\Types\AbstractInteger::set (   $value)

Change the value associated with the object.

Parameters
mixed$valueNew value.
Returns
This method does not return any value.
Exceptions
InvalidArgumentExceptionThe given value is invalid for this type of object.

Definition at line 30 of file AbstractInteger.php.

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

fpoirotte\XRL\Types\AbstractInteger::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 59 of file AbstractInteger.php.


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