Topic: [Solved] Defining Relationships Manual Page  (Read 211 times)

Pages: [1]   Go Down

#1: 1-Feb-2010, 02:14 PM

jbjoe
Posts: 34

Hey jo,

I have a quick question related to xpo 2.0...
Can anyone tell me why on this page http://svn.modxcms.com/docs/display/xPDO20/Defining+Relationships the code example says
Code:
$crayon = $xpdo->getObject('Crayon',1);
and not
Code:
$crayon = $xpdo->getObject('myCrayon',1);
I don't get it or is it a mistake in the manual?

thanks in advance
regards,
JB
« Last Edit: 1-Feb-2010, 03:54 PM by jbjoe »

#2: 1-Feb-2010, 02:56 PM

Moderator

OpenGeek
MODx Co-Founder
Posts: 6,985

damn accurate caricatures...

WWW
It was a mistake; and fixed.
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @ Collabpad
work productively.
work intelligently.
work together.
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
  Frank Zappa

#3: 1-Feb-2010, 03:54 PM

jbjoe
Posts: 34

Ok thanks a lot!

JB
Pages: [1]   Go Up
0 Members and 1 Guest are viewing this topic.