예제 #1
0
 /**
  *  Prepare a "selector" document to search treaing the property
  *  as a reference to the given ActiveMongo object.
  *
  */
 final function getColumnDeference(&$document, $property, ActiveMongo $obj)
 {
     $document["{$property}.\$id"] = $obj->getID();
 }