/** * Method called to associate a Online object to this object * through the Online foreign key attribute * * @param Online $l Online * @return void * @throws PropelException */ public function addOnline(Online $l) { $this->collOnlines[] = $l; $l->setUser($this); }