Exemple #1
0
 /**
  * Remove journal
  * @param Journal $journal
  * @return Publisher
  */
 public function removeJournal(Journal $journal)
 {
     if ($this->journals->contains($journal)) {
         $this->journals->removeElement($journal);
         $journal->setPublisher(null);
     }
     return $this;
 }
Exemple #2
0
 /**
  * Remove journal
  * @param Journal $journal
  */
 public function removeJournal(Journal $journal)
 {
     $this->journals->removeElement($journal);
 }
Exemple #3
0
Fichier : User.php Projet : ojs/ojs
 /**
  * Remove restrictedJournals
  *
  * @param Journal $restrictedJournals
  */
 public function removeRestrictedJournal(Journal $restrictedJournals)
 {
     $this->restrictedJournals->removeElement($restrictedJournals);
 }