All pastes #359601 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-16 22:57 UTC
rendered paste body
can I make a stuff like


$related = "subtable->field"
$obj = new table();

$obj->$related = "toto";

or make the relation under the Doctrine_Record class

not to do 
$obj->subtable->field = "toto"; 
but 
$obj->field = "toto";
set on the class an relation "subtable.field as field" ?