[TYPO3-english]  Extbase m:1 relationship
    Mitja 
    mitja.orlic at gmail.com
       
    Fri Sep 13 13:52:30 CEST 2013
    
    
  
Hello!
I have one object which has a relationship to another object. Example:
Car has Type. Type is object which has many different properties.
How do I assign a type to a "Car" using only the "Type" id(uid) ?
If I do $car->setType(1),  its ofcourse invalid. I need to init the object first. I would just like to know what is the more efficient way to do this in Extbase?
Many thanks!
    
    
More information about the TYPO3-english
mailing list