Tests
[ class tree: Tests ] [ index: Tests ] [ all elements ]

Class: SerializableTestClass1

Source Location: /tests/common/SerializableTest.php

Class Overview

Serializable
   |
   --SerializableTestClass1

Test class used to test abstract class Serializable (all types of attribute)


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Serializable

Serializable::__construct()
Constructor
Serializable::copyAllVars()
Copy all properties from one object to another (overwriting previous ones)
Serializable::getValue()
Returns structure's property value if property exists
Serializable::guessClassName()
Tries to guess the class to use from the property being unserialised.
Serializable::unserialize()
Unserializes from a stdClass structure
Serializable::unserializeArray()
Returns an array of typed values
Serializable::unserializeObject()
Returns an unserialized object from a stdClass structure
Serializable::unserializeObjectMap()
Returns an array of unserialized objects from a stdClass structure
Serializable::unserializeStringArray()
Returns an array of typed values from a string
Serializable::unserializeValue()
Returns a typed value from a structure property

Class Details

[line 248]
Test class used to test abstract class Serializable (all types of attribute)



Tags:

author:  Yves Bolognini <yves.bolognini@camptocamp.com>


[ Top ]


Class Variables

$boolArray =

[line 268]



Tags:

access:  public

Type:   array


[ Top ]

$intArray =

[line 263]



Tags:

access:  public

Type:   array


[ Top ]

$obj =

[line 273]



Tags:

access:  public

Type:   Object


[ Top ]

$objMap =

[line 278]



Tags:

access:  public

Type:   array


[ Top ]

$str =

[line 253]



Tags:

access:  public

Type:   string


[ Top ]

$strArray =

[line 258]



Tags:

access:  public

Type:   array


[ Top ]



Class Methods


constructor __construct [line 284]

SerializableTestClass1 __construct( [string $my_str = ''])

Constructor



Overrides Serializable::__construct() (Constructor)

Parameters:

string   $my_str  

[ Top ]

method unserialize [line 292]

void unserialize( mixed $struct)



Tags:

access:  public
see:  Serializable::unserialize()


Overrides Serializable::unserialize() (Unserializes from a stdClass structure)

[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:06:56 +0200 by phpDocumentor 1.3.0RC3