2 /** @package verysimple::Phreeze */
5 * import supporting libraries
7 require_once("FieldMap.php");
8 require_once("KeyMap.php");
11 * IDaoMap2 is an interface for a mapped object that can be persisted by Phreeze
12 * Version 2 includes AddMap and SetFetchingStrategy
14 * @package verysimple::Phreeze
15 * @author VerySimple Inc.
16 * @copyright 1997-2007 VerySimple, Inc.
17 * @license http://www.gnu.org/licenses/lgpl.html LGPL
25 * @param string $property
26 * @param FieldMap $map
28 static function AddMap($property, FieldMap
$map);
31 * Change the fetching strategy for a KeyMap
33 * @param unknown $property
34 * @param int $loadType
35 * (KM_LOAD_LAZY | KM_LOAD_INNER | KM_LOAD_EAGER)
37 static function SetFetchingStrategy($property, $loadType);
40 * Returns a singleton array of FieldMaps for a Phreezable object
45 static function GetFieldMaps();
48 * Returns a singleton array of KeyMaps for the Phreezable object
53 static function GetKeyMaps();