/** * {@inheritdoc} */ public static function GetKeyMaps() { if (self::$KM == null) { self::$KM = array(); } return self::$KM; }
/** * {@inheritdoc} */ public static function GetKeyMaps() { if (self::$KM == null) { self::$KM = array(); self::$KM["fk_pedido_paciente"] = new KeyMap("fk_pedido_paciente", "Id", "Pedido", "ClienteId", KM_TYPE_ONETOMANY, KM_LOAD_LAZY); // use KM_LOAD_EAGER with caution here (one-to-one relationships only) } return self::$KM; }