onPHP

AbstractProtoClass Class Reference

 

AbstractProtoClass Class Reference
[Common wrapper and helper classes]

Inheritance diagram for AbstractProtoClass:

List of all members.

Public Member Functions

 getPropertyList ()
 getExpandedPropertyList ($prefix=null)
 getPropertyByName ($name)
 makeForm ($prefix=null)
 fillQuery (InsertOrUpdateQuery $query, Prototyped $object)
 getMapping ()
 importPrimitive ($path, Form $form, BasePrimitive $prm, $object, $ignoreNull=true)
 exportPrimitive ($path, BasePrimitive $prm, $object, $ignoreNull=true)

Static Public Member Functions

static makeOnlyObject ($className, $array, $prefix=null)
static completeObject (Prototyped $object, $array, $prefix=null)
static fetchEncapsulants (Prototyped $object)

Protected Member Functions

 makePropertyList ()

Private Member Functions

 forwardPrimitive ($path, Form $form=null, BasePrimitive $prm, $object, $ignoreNull=true)

Static Private Member Functions

static assemblyObject (Prototyped $object, $encapsulants, $array, $prefix=null)


Detailed Description

Definition at line 16 of file AbstractProtoClass.class.php.


Member Function Documentation

AbstractProtoClass::makePropertyList (  )  [abstract, protected]

static AbstractProtoClass::makeOnlyObject ( className,
array,
prefix = null 
) [static]

Definition at line 20 of file AbstractProtoClass.class.php.

static AbstractProtoClass::completeObject ( Prototyped object,
array,
prefix = null 
) [static]

Definition at line 25 of file AbstractProtoClass.class.php.

static AbstractProtoClass::fetchEncapsulants ( Prototyped object  )  [static]

Definition at line 32 of file AbstractProtoClass.class.php.

References getPropertyList(), and MetaRelation::ONE_TO_ONE.

Here is the call graph for this function:

AbstractProtoClass::getPropertyList (  )  [final]

Definition at line 48 of file AbstractProtoClass.class.php.

References makePropertyList().

Referenced by assemblyObject(), fetchEncapsulants(), fillQuery(), getMapping(), getPropertyByName(), and makeForm().

Here is the call graph for this function:

AbstractProtoClass::getExpandedPropertyList ( prefix = null  )  [final]

Definition at line 61 of file AbstractProtoClass.class.php.

References makePropertyList().

Here is the call graph for this function:

AbstractProtoClass::getPropertyByName ( name  ) 

Returns:
LightMetaProperty
Exceptions:
MissingElementException 

Definition at line 95 of file AbstractProtoClass.class.php.

References getPropertyList().

Referenced by exportPrimitive(), forwardPrimitive(), importPrimitive(), and ProtoDAO::processPath().

Here is the call graph for this function:

AbstractProtoClass::makeForm ( prefix = null  ) 

Returns:
Form

Definition at line 110 of file AbstractProtoClass.class.php.

References Form::create(), and getPropertyList().

Here is the call graph for this function:

AbstractProtoClass::fillQuery ( InsertOrUpdateQuery query,
Prototyped object 
)

Returns:
InsertOrUpdateQuery

Definition at line 124 of file AbstractProtoClass.class.php.

References getPropertyList().

Here is the call graph for this function:

AbstractProtoClass::getMapping (  ) 

Definition at line 135 of file AbstractProtoClass.class.php.

References getPropertyList().

Here is the call graph for this function:

AbstractProtoClass::importPrimitive ( path,
Form form,
BasePrimitive prm,
object,
ignoreNull = true 
)

Definition at line 152 of file AbstractProtoClass.class.php.

References forwardPrimitive(), getPropertyByName(), Form::importValue(), and FetchStrategy::LAZY.

Here is the call graph for this function:

AbstractProtoClass::exportPrimitive ( path,
BasePrimitive prm,
object,
ignoreNull = true 
)

static AbstractProtoClass::assemblyObject ( Prototyped object,
encapsulants,
array,
prefix = null 
) [static, private]

Definition at line 248 of file AbstractProtoClass.class.php.

References getPropertyList(), and MetaRelation::ONE_TO_ONE.

Here is the call graph for this function:

AbstractProtoClass::forwardPrimitive ( path,
Form form = null,
BasePrimitive prm,
object,
ignoreNull = true 
) [private]

Definition at line 315 of file AbstractProtoClass.class.php.

References getPropertyByName(), and Assert::isTrue().

Referenced by exportPrimitive(), and importPrimitive().

Here is the call graph for this function:


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

generated by doxygen-1.5.5
for onPHP at Thu Feb 28 21:49:13 2008