public function addsfFileGallery(sfFileGallery $l) { $this->collsfFileGallerys[] = $l; $l->setsfGuardUser($this); }