Class Xyster_Orm_Entity_Lookup_Abstract

Description

Implements interfaces:

Abstract base lookup

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • abstract:
  • license: New BSD License

Located in /Orm/Entity/Lookup/Abstract.php (line 32)


	
			
Direct descendents
Class Description
Xyster_Orm_Entity_Lookup_Enum Property lookups for enum values
Xyster_Orm_Entity_Lookup_Date Property lookups for date values
Method Summary
Xyster_Orm_Entity_Lookup_Abstract __construct (Xyster_Orm_Entity_Type $type,  $name)
string getName ()
void _checkSet (Xyster_Orm_Entity $entity, mixed $value)
Methods
Constructor __construct (line 51)

Creates a new lookup

  • access: public
Xyster_Orm_Entity_Lookup_Abstract __construct (Xyster_Orm_Entity_Type $type,  $name)

Redefined in descendants as:
getEntityType (line 66)

Gets the entity type supported by this lookup

  • access: public
Xyster_Orm_Entity_Type getEntityType ()

Implementation of:
Xyster_Orm_Entity_Lookup_Interface::getEntityType()
Gets the entity type supported by this lookup
getName (line 76)

Gets the field name of this lookup on the entity class

  • return: The field name
  • access: public
string getName ()

Implementation of:
Xyster_Orm_Entity_Lookup_Interface::getName()
Gets the field name of this lookup on the entity class
_checkEntity (line 86)

Checks the incoming entity for the correct type

  • access: protected
void _checkEntity (Xyster_Orm_Entity $entity)
_checkSet (line 100)

Sets any fields affected by changing the value of this lookup

  • access: protected
void _checkSet (Xyster_Orm_Entity $entity, mixed $value)

Documentation generated on Mon, 19 May 2008 17:06:52 -0400 by phpDocumentor 1.4.2