Beispiel #1
0
 /**
  * Remove a Organization object to this object
  * through the plugin_organization cross reference table.
  *
  * @param Organization $organization The PluginOrganization object to relate
  * @return Plugin The current object (for fluent API support)
  */
 public function removeOrganization(Organization $organization)
 {
     if ($this->getOrganizations()->contains($organization)) {
         $this->collOrganizations->remove($this->collOrganizations->search($organization));
         if (null === $this->organizationsScheduledForDeletion) {
             $this->organizationsScheduledForDeletion = clone $this->collOrganizations;
             $this->organizationsScheduledForDeletion->clear();
         }
         $this->organizationsScheduledForDeletion[] = $organization;
     }
     return $this;
 }
Beispiel #2
0
 /**
  * @param	JugadorMesa $jugadorMesa The jugadorMesa object to remove.
  */
 public function removeJugadorMesa($jugadorMesa)
 {
     if ($this->getJugadorMesas()->contains($jugadorMesa)) {
         $this->collJugadorMesas->remove($this->collJugadorMesas->search($jugadorMesa));
         if (null === $this->jugadorMesasScheduledForDeletion) {
             $this->jugadorMesasScheduledForDeletion = clone $this->collJugadorMesas;
             $this->jugadorMesasScheduledForDeletion->clear();
         }
         $this->jugadorMesasScheduledForDeletion[] = $jugadorMesa;
         $jugadorMesa->setJugador(null);
     }
 }
Beispiel #3
0
 /**
  * @param	Transaccion $transaccion The transaccion object to remove.
  */
 public function removeTransaccion($transaccion)
 {
     if ($this->getTransaccions()->contains($transaccion)) {
         $this->collTransaccions->remove($this->collTransaccions->search($transaccion));
         if (null === $this->transaccionsScheduledForDeletion) {
             $this->transaccionsScheduledForDeletion = clone $this->collTransaccions;
             $this->transaccionsScheduledForDeletion->clear();
         }
         $this->transaccionsScheduledForDeletion[] = $transaccion;
         $transaccion->setTipoTransaccion(null);
     }
 }
 /**
  * @param	sfGuardUserPermission $sfGuardUserPermission The sfGuardUserPermission object to remove.
  */
 public function removesfGuardUserPermission($sfGuardUserPermission)
 {
     if ($this->getsfGuardUserPermissions()->contains($sfGuardUserPermission)) {
         $this->collsfGuardUserPermissions->remove($this->collsfGuardUserPermissions->search($sfGuardUserPermission));
         if (null === $this->sfGuardUserPermissionsScheduledForDeletion) {
             $this->sfGuardUserPermissionsScheduledForDeletion = clone $this->collsfGuardUserPermissions;
             $this->sfGuardUserPermissionsScheduledForDeletion->clear();
         }
         $this->sfGuardUserPermissionsScheduledForDeletion[] = $sfGuardUserPermission;
         $sfGuardUserPermission->setsfGuardPermission(null);
     }
 }
 /**
  * @param	Afiliado $afiliado The afiliado object to remove.
  */
 public function removeAfiliado($afiliado)
 {
     if ($this->getAfiliados()->contains($afiliado)) {
         $this->collAfiliados->remove($this->collAfiliados->search($afiliado));
         if (null === $this->afiliadosScheduledForDeletion) {
             $this->afiliadosScheduledForDeletion = clone $this->collAfiliados;
             $this->afiliadosScheduledForDeletion->clear();
         }
         $this->afiliadosScheduledForDeletion[] = $afiliado;
         $afiliado->setPlan(null);
     }
 }
Beispiel #6
0
 /**
  * @param	State $state The state object to remove.
  */
 public function removeState($state)
 {
     if ($this->getStates()->contains($state)) {
         $this->collStates->remove($this->collStates->search($state));
         if (null === $this->statesScheduledForDeletion) {
             $this->statesScheduledForDeletion = clone $this->collStates;
             $this->statesScheduledForDeletion->clear();
         }
         $this->statesScheduledForDeletion[] = $state;
         $state->setCountry(null);
     }
 }
Beispiel #7
0
 /**
  * @param	Country $country The country object to remove.
  */
 public function removeCountry($country)
 {
     if ($this->getCountrys()->contains($country)) {
         $this->collCountrys->remove($this->collCountrys->search($country));
         if (null === $this->countrysScheduledForDeletion) {
             $this->countrysScheduledForDeletion = clone $this->collCountrys;
             $this->countrysScheduledForDeletion->clear();
         }
         $this->countrysScheduledForDeletion[] = $country;
         $country->setCurrency(null);
     }
 }
 /**
  * @param	SystemEventInstanceMessage $systemEventInstanceMessage The systemEventInstanceMessage object to remove.
  */
 public function removeSystemEventInstanceMessage($systemEventInstanceMessage)
 {
     if ($this->getSystemEventInstanceMessages()->contains($systemEventInstanceMessage)) {
         $this->collSystemEventInstanceMessages->remove($this->collSystemEventInstanceMessages->search($systemEventInstanceMessage));
         if (null === $this->systemEventInstanceMessagesScheduledForDeletion) {
             $this->systemEventInstanceMessagesScheduledForDeletion = clone $this->collSystemEventInstanceMessages;
             $this->systemEventInstanceMessagesScheduledForDeletion->clear();
         }
         $this->systemEventInstanceMessagesScheduledForDeletion[] = $systemEventInstanceMessage;
         $systemEventInstanceMessage->setSystemEventInstance(null);
     }
 }
Beispiel #9
0
 /**
  * @param	Agenda $agenda The agenda object to remove.
  */
 public function removeAgenda($agenda)
 {
     if ($this->getAgendas()->contains($agenda)) {
         $this->collAgendas->remove($this->collAgendas->search($agenda));
         if (null === $this->agendasScheduledForDeletion) {
             $this->agendasScheduledForDeletion = clone $this->collAgendas;
             $this->agendasScheduledForDeletion->clear();
         }
         $this->agendasScheduledForDeletion[] = $agenda;
         $agenda->setAtencion(null);
     }
 }
Beispiel #10
0
 /**
  * @param	Factura $factura The factura object to remove.
  */
 public function removeFactura($factura)
 {
     if ($this->getFacturas()->contains($factura)) {
         $this->collFacturas->remove($this->collFacturas->search($factura));
         if (null === $this->facturasScheduledForDeletion) {
             $this->facturasScheduledForDeletion = clone $this->collFacturas;
             $this->facturasScheduledForDeletion->clear();
         }
         $this->facturasScheduledForDeletion[] = $factura;
         $factura->setTipoPago(null);
     }
 }
Beispiel #11
0
 /**
  * @param	Producto $producto The producto object to remove.
  */
 public function removeProducto($producto)
 {
     if ($this->getProductos()->contains($producto)) {
         $this->collProductos->remove($this->collProductos->search($producto));
         if (null === $this->productosScheduledForDeletion) {
             $this->productosScheduledForDeletion = clone $this->collProductos;
             $this->productosScheduledForDeletion->clear();
         }
         $this->productosScheduledForDeletion[] = $producto;
         $producto->setTipoPresentacion(null);
     }
 }
Beispiel #12
0
 /**
  * @param	sfGuardUserGroup $sfGuardUserGroup The sfGuardUserGroup object to remove.
  */
 public function removesfGuardUserGroup($sfGuardUserGroup)
 {
     if ($this->getsfGuardUserGroups()->contains($sfGuardUserGroup)) {
         $this->collsfGuardUserGroups->remove($this->collsfGuardUserGroups->search($sfGuardUserGroup));
         if (null === $this->sfGuardUserGroupsScheduledForDeletion) {
             $this->sfGuardUserGroupsScheduledForDeletion = clone $this->collsfGuardUserGroups;
             $this->sfGuardUserGroupsScheduledForDeletion->clear();
         }
         $this->sfGuardUserGroupsScheduledForDeletion[] = $sfGuardUserGroup;
         $sfGuardUserGroup->setsfGuardGroup(null);
     }
 }
Beispiel #13
0
 /**
  * Remove a User object to this object
  * through the user_skill cross reference table.
  *
  * @param User $user The UserSkill object to relate
  * @return Skill The current object (for fluent API support)
  */
 public function removeUser(User $user)
 {
     if ($this->getUsers()->contains($user)) {
         $this->collUsers->remove($this->collUsers->search($user));
         if (null === $this->usersScheduledForDeletion) {
             $this->usersScheduledForDeletion = clone $this->collUsers;
             $this->usersScheduledForDeletion->clear();
         }
         $this->usersScheduledForDeletion[] = $user;
     }
     return $this;
 }
Beispiel #14
0
 /**
  * @param	Gastofacturacion $gastofacturacion The gastofacturacion object to remove.
  * @return Categoriagasto The current object (for fluent API support)
  */
 public function removeGastofacturacion($gastofacturacion)
 {
     if ($this->getGastofacturacions()->contains($gastofacturacion)) {
         $this->collGastofacturacions->remove($this->collGastofacturacions->search($gastofacturacion));
         if (null === $this->gastofacturacionsScheduledForDeletion) {
             $this->gastofacturacionsScheduledForDeletion = clone $this->collGastofacturacions;
             $this->gastofacturacionsScheduledForDeletion->clear();
         }
         $this->gastofacturacionsScheduledForDeletion[] = clone $gastofacturacion;
         $gastofacturacion->setCategoriagasto(null);
     }
     return $this;
 }
Beispiel #15
0
 /**
  * @param	Banco $banco The banco object to remove.
  * @return Conceptobanco The current object (for fluent API support)
  */
 public function removeBanco($banco)
 {
     if ($this->getBancos()->contains($banco)) {
         $this->collBancos->remove($this->collBancos->search($banco));
         if (null === $this->bancosScheduledForDeletion) {
             $this->bancosScheduledForDeletion = clone $this->collBancos;
             $this->bancosScheduledForDeletion->clear();
         }
         $this->bancosScheduledForDeletion[] = clone $banco;
         $banco->setConceptobanco(null);
     }
     return $this;
 }
 /**
  * @param	GalleryImage $galleryImage The galleryImage object to remove.
  * @return GalleryFolder The current object (for fluent API support)
  */
 public function removeGalleryImage($galleryImage)
 {
     if ($this->getGalleryImages()->contains($galleryImage)) {
         $this->collGalleryImages->remove($this->collGalleryImages->search($galleryImage));
         if (null === $this->galleryImagesScheduledForDeletion) {
             $this->galleryImagesScheduledForDeletion = clone $this->collGalleryImages;
             $this->galleryImagesScheduledForDeletion->clear();
         }
         $this->galleryImagesScheduledForDeletion[] = $galleryImage;
         $galleryImage->setGalleryFolder(null);
     }
     return $this;
 }
Beispiel #17
0
 /**
  * @param	Expedientehistorial $expedientehistorial The expedientehistorial object to remove.
  * @return Servicioestado The current object (for fluent API support)
  */
 public function removeExpedientehistorial($expedientehistorial)
 {
     if ($this->getExpedientehistorials()->contains($expedientehistorial)) {
         $this->collExpedientehistorials->remove($this->collExpedientehistorials->search($expedientehistorial));
         if (null === $this->expedientehistorialsScheduledForDeletion) {
             $this->expedientehistorialsScheduledForDeletion = clone $this->collExpedientehistorials;
             $this->expedientehistorialsScheduledForDeletion->clear();
         }
         $this->expedientehistorialsScheduledForDeletion[] = $expedientehistorial;
         $expedientehistorial->setServicioestado(null);
     }
     return $this;
 }
Beispiel #18
0
 /**
  * @param	LinkBarangRak $linkBarangRak The linkBarangRak object to remove.
  * @return Rak The current object (for fluent API support)
  */
 public function removeLinkBarangRak($linkBarangRak)
 {
     if ($this->getLinkBarangRaks()->contains($linkBarangRak)) {
         $this->collLinkBarangRaks->remove($this->collLinkBarangRaks->search($linkBarangRak));
         if (null === $this->linkBarangRaksScheduledForDeletion) {
             $this->linkBarangRaksScheduledForDeletion = clone $this->collLinkBarangRaks;
             $this->linkBarangRaksScheduledForDeletion->clear();
         }
         $this->linkBarangRaksScheduledForDeletion[] = $linkBarangRak;
         $linkBarangRak->setRak(null);
     }
     return $this;
 }
Beispiel #19
0
 /**
  * @param	Product $product The product object to remove.
  * @return Category The current object (for fluent API support)
  */
 public function removeProduct($product)
 {
     if ($this->getProducts()->contains($product)) {
         $this->collProducts->remove($this->collProducts->search($product));
         if (null === $this->productsScheduledForDeletion) {
             $this->productsScheduledForDeletion = clone $this->collProducts;
             $this->productsScheduledForDeletion->clear();
         }
         $this->productsScheduledForDeletion[] = clone $product;
         $product->setCategory(null);
     }
     return $this;
 }
 /**
  * @param	DetailTransaksi $detailTransaksi The detailTransaksi object to remove.
  * @return Transaksi The current object (for fluent API support)
  */
 public function removeDetailTransaksi($detailTransaksi)
 {
     if ($this->getDetailTransaksis()->contains($detailTransaksi)) {
         $this->collDetailTransaksis->remove($this->collDetailTransaksis->search($detailTransaksi));
         if (null === $this->detailTransaksisScheduledForDeletion) {
             $this->detailTransaksisScheduledForDeletion = clone $this->collDetailTransaksis;
             $this->detailTransaksisScheduledForDeletion->clear();
         }
         $this->detailTransaksisScheduledForDeletion[] = $detailTransaksi;
         $detailTransaksi->setTransaksi(null);
     }
     return $this;
 }
Beispiel #21
0
 /**
  * @param	HolidayDomain $holidayDomain The holidayDomain object to remove.
  * @return Holiday The current object (for fluent API support)
  */
 public function removeHolidayDomain($holidayDomain)
 {
     if ($this->getHolidayDomains()->contains($holidayDomain)) {
         $this->collHolidayDomains->remove($this->collHolidayDomains->search($holidayDomain));
         if (null === $this->holidayDomainsScheduledForDeletion) {
             $this->holidayDomainsScheduledForDeletion = clone $this->collHolidayDomains;
             $this->holidayDomainsScheduledForDeletion->clear();
         }
         $this->holidayDomainsScheduledForDeletion[] = clone $holidayDomain;
         $holidayDomain->setHoliday(null);
     }
     return $this;
 }
Beispiel #22
0
 /**
  * @param	Propiedadvalor $propiedadvalor The propiedadvalor object to remove.
  * @return Propiedad The current object (for fluent API support)
  */
 public function removePropiedadvalor($propiedadvalor)
 {
     if ($this->getPropiedadvalors()->contains($propiedadvalor)) {
         $this->collPropiedadvalors->remove($this->collPropiedadvalors->search($propiedadvalor));
         if (null === $this->propiedadvalorsScheduledForDeletion) {
             $this->propiedadvalorsScheduledForDeletion = clone $this->collPropiedadvalors;
             $this->propiedadvalorsScheduledForDeletion->clear();
         }
         $this->propiedadvalorsScheduledForDeletion[] = clone $propiedadvalor;
         $propiedadvalor->setPropiedad(null);
     }
     return $this;
 }
 /**
  * @param	DetailBarangMasuk $detailBarangMasuk The detailBarangMasuk object to remove.
  * @return BarangMasuk The current object (for fluent API support)
  */
 public function removeDetailBarangMasuk($detailBarangMasuk)
 {
     if ($this->getDetailBarangMasuks()->contains($detailBarangMasuk)) {
         $this->collDetailBarangMasuks->remove($this->collDetailBarangMasuks->search($detailBarangMasuk));
         if (null === $this->detailBarangMasuksScheduledForDeletion) {
             $this->detailBarangMasuksScheduledForDeletion = clone $this->collDetailBarangMasuks;
             $this->detailBarangMasuksScheduledForDeletion->clear();
         }
         $this->detailBarangMasuksScheduledForDeletion[] = $detailBarangMasuk;
         $detailBarangMasuk->setBarangMasuk(null);
     }
     return $this;
 }
Beispiel #24
0
 /**
  * @param	Articulo $articulo The articulo object to remove.
  * @return Tipo The current object (for fluent API support)
  */
 public function removeArticulo($articulo)
 {
     if ($this->getArticulos()->contains($articulo)) {
         $this->collArticulos->remove($this->collArticulos->search($articulo));
         if (null === $this->articulosScheduledForDeletion) {
             $this->articulosScheduledForDeletion = clone $this->collArticulos;
             $this->articulosScheduledForDeletion->clear();
         }
         $this->articulosScheduledForDeletion[] = clone $articulo;
         $articulo->setTipo(null);
     }
     return $this;
 }
Beispiel #25
0
 /**
  * @param	Consulta $consulta The consulta object to remove.
  * @return Consultorio The current object (for fluent API support)
  */
 public function removeConsulta($consulta)
 {
     if ($this->getConsultas()->contains($consulta)) {
         $this->collConsultas->remove($this->collConsultas->search($consulta));
         if (null === $this->consultasScheduledForDeletion) {
             $this->consultasScheduledForDeletion = clone $this->collConsultas;
             $this->consultasScheduledForDeletion->clear();
         }
         $this->consultasScheduledForDeletion[] = clone $consulta;
         $consulta->setConsultorio(null);
     }
     return $this;
 }
Beispiel #26
0
 /**
  * @param	Medicoespecialidad $medicoespecialidad The medicoespecialidad object to remove.
  * @return Especialidad The current object (for fluent API support)
  */
 public function removeMedicoespecialidad($medicoespecialidad)
 {
     if ($this->getMedicoespecialidads()->contains($medicoespecialidad)) {
         $this->collMedicoespecialidads->remove($this->collMedicoespecialidads->search($medicoespecialidad));
         if (null === $this->medicoespecialidadsScheduledForDeletion) {
             $this->medicoespecialidadsScheduledForDeletion = clone $this->collMedicoespecialidads;
             $this->medicoespecialidadsScheduledForDeletion->clear();
         }
         $this->medicoespecialidadsScheduledForDeletion[] = clone $medicoespecialidad;
         $medicoespecialidad->setEspecialidad(null);
     }
     return $this;
 }
 /**
  * @param	Expedientegasto $expedientegasto The expedientegasto object to remove.
  * @return Gastofacturacion The current object (for fluent API support)
  */
 public function removeExpedientegasto($expedientegasto)
 {
     if ($this->getExpedientegastos()->contains($expedientegasto)) {
         $this->collExpedientegastos->remove($this->collExpedientegastos->search($expedientegasto));
         if (null === $this->expedientegastosScheduledForDeletion) {
             $this->expedientegastosScheduledForDeletion = clone $this->collExpedientegastos;
             $this->expedientegastosScheduledForDeletion->clear();
         }
         $this->expedientegastosScheduledForDeletion[] = $expedientegasto;
         $expedientegasto->setGastofacturacion(null);
     }
     return $this;
 }
Beispiel #28
0
 /**
  * @param	Rolmodulo $rolmodulo The rolmodulo object to remove.
  * @return Rol The current object (for fluent API support)
  */
 public function removeRolmodulo($rolmodulo)
 {
     if ($this->getRolmodulos()->contains($rolmodulo)) {
         $this->collRolmodulos->remove($this->collRolmodulos->search($rolmodulo));
         if (null === $this->rolmodulosScheduledForDeletion) {
             $this->rolmodulosScheduledForDeletion = clone $this->collRolmodulos;
             $this->rolmodulosScheduledForDeletion->clear();
         }
         $this->rolmodulosScheduledForDeletion[] = clone $rolmodulo;
         $rolmodulo->setRol(null);
     }
     return $this;
 }
 /**
  * @param	Cajachica $cajachica The cajachica object to remove.
  * @return Conceptocajachica The current object (for fluent API support)
  */
 public function removeCajachica($cajachica)
 {
     if ($this->getCajachicas()->contains($cajachica)) {
         $this->collCajachicas->remove($this->collCajachicas->search($cajachica));
         if (null === $this->cajachicasScheduledForDeletion) {
             $this->cajachicasScheduledForDeletion = clone $this->collCajachicas;
             $this->cajachicasScheduledForDeletion->clear();
         }
         $this->cajachicasScheduledForDeletion[] = clone $cajachica;
         $cajachica->setConceptocajachica(null);
     }
     return $this;
 }
 /**
  * @param	signIn $signIn The signIn object to remove.
  * @return signInReason The current object (for fluent API support)
  */
 public function removesignIn($signIn)
 {
     if ($this->getsignIns()->contains($signIn)) {
         $this->collsignIns->remove($this->collsignIns->search($signIn));
         if (null === $this->signInsScheduledForDeletion) {
             $this->signInsScheduledForDeletion = clone $this->collsignIns;
             $this->signInsScheduledForDeletion->clear();
         }
         $this->signInsScheduledForDeletion[] = clone $signIn;
         $signIn->setsignInReason(null);
     }
     return $this;
 }