/** * {@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_produto"] = new KeyMap("fk_pedido_produto", "Id", "Pedido", "ProdutoId", KM_TYPE_ONETOMANY, KM_LOAD_LAZY); // use KM_LOAD_EAGER with caution here (one-to-one relationships only) } return self::$KM; }