Part of the EllisLab Network
   
80 of 80
80
[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition)
Posted: 21 October 2009 02:44 AM   [ Ignore ]   [ # 791 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1041
Joined  10-08-2008

UPDATED

I went ahead and fixed the docs, packaged up my changes, and put them on the server.

As promised, I also started a new thread.  Please post all new discussions there.

Please continue discussions of DMZ here.

 Signature 

Phil DeJarnett
  OverZealous Creations, LLC

Profile
 
 
Posted: 21 October 2009 10:07 AM   [ Ignore ]   [ # 792 ]  
Grad Student
Avatar
Rank
Total Posts:  97
Joined  08-29-2007

@OverZealous: Thanks for your answer. The manual is good but still there are a lot of thinks not clear enough to be understood easily. Sure for you as an experienced ORM user everything seems logical and very clear, but not as a beginner.

Thanks for your time.

 Signature 

Visit the german-speaking CI-community at http://codeigniter.ch
FreeBSD- and Server-Tutorials at http://serverzeit.de
The event-calendar for Mini-Drivers at http://miniyourlife.com

Profile
 
 
Posted: 10 November 2009 07:40 PM   [ Ignore ]   [ # 793 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  287
Joined  09-30-2006

Question: Why doesn’t DataMapper automatically try to insert new relations. Right now I have to save related items before I can save the relation itself

// Each contribution record has ONE transaction
// This works:
$contrib = new Contribution();
$trans    = new Transaction();

$trans->save();
$contrib->save($trans);

// This doesn't work
$contrib = new Contribution();
$trans    = new Transaction();

$contrib->save($trans); 

Hope I’m making myself clear. Both objects represent NEW records - I’d have thought that if record has never been saved, DMZ would just go ahead and make it so.

Thanks,
Juergen

 Signature 

sitesquad.net | < insert catchy tagline here />

Profile
 
 
Posted: 11 June 2011 11:13 PM   [ Ignore ]   [ # 794 ]  
Summer Student
Total Posts:  2
Joined  06-11-2011

Employee management and lone worker protection and solutions - health and safety UK - http://www.loneworkersystems.co.uk

Profile
 
 
   
80 of 80
80