===== RelationFactory =====
The RelationFactory is a factory cacheing all Relations loaded by Vortex. All instances of Relation have to be instanciated through the RelationFactory. The factory keeps a cache of the Relation instances which will be returned. If no chache exists a new instance of Relation class is created, put into cache and returned.
==== Extends ====
[[vortex:cacheobject|CacheObject]]
==== Implements ====
[[vortex:persistant|Persistant]]
==== Constants ====
==== Methods ====
==== Code Examples ====
Get a Relation from the factory
$relation = RelationFactory::getRelation( $idrelation );
Clear the factory cache (this you very seldom want to do)
RelationFactory::clear();