\midcom_core_dbaproxy

MidCOM DBA proxy class. This is useful for loading objects on-demand

Summary

Methods
Properties
Constants
__construct()
__get()
__set()
__isset()
__call()
__sleep()
$__midcom_class_name__
No constants found
No protected methods found
No protected properties found
N/A
_load_object()
$__object
$__identifier
$__tried_to_load
N/A

Properties

$__midcom_class_name__

$__midcom_class_name__ : string

MidCOM DBA classname

Type

string

$__object

$__object : object

MidCOM DBA object

Type

object

$__identifier

$__identifier : mixed

MidCOM DBA object identifier, can be ID or GUID

Type

mixed

$__tried_to_load

$__tried_to_load : boolean

Flag that indicates whether or not we already tried to load this object

Type

boolean

Methods

__construct()

__construct(  $identifier,   $classname) 

Constructor

Parameters

$identifier
$classname

__get()

__get(string  $property) 

Magic getter for object property mapping

Parameters

string $property

Name of the property

__set()

__set(string  $property, mixed  $value) 

Magic setter for object property mapping

Parameters

string $property

Name of the property

mixed $value

Property value

__isset()

__isset(string  $property) 

Magic isset test for object property mapping

Parameters

string $property

Name of the property

__call()

__call(  $method,   $arguments) 

Parameters

$method
$arguments

__sleep()

__sleep() 

This is called when the object is serialized (f.x. written to memcache). It eliminates the object to increase performance

_load_object()

_load_object()