Ojs\JournalBundle\Entity\Journal::getContinuedAsJournal PHP Method

getContinuedAsJournal() public method

public getContinuedAsJournal ( ) : Journal
return Journal
    public function getContinuedAsJournal()
    {
        return $this->continuedAsJournal;
    }

Usage Example

コード例 #1
0
ファイル: Journal.php プロジェクト: ojs/ojs
 /**
  * @param Journal $formerlyKnownAsJournal
  *
  * @return $this
  */
 public function setFormerlyKnownAsJournal($formerlyKnownAsJournal)
 {
     $oldFormerlyKnownAsJournal = $this->formerlyKnownAsJournal;
     $this->formerlyKnownAsJournal = $formerlyKnownAsJournal;
     if ($formerlyKnownAsJournal instanceof Journal && empty($formerlyKnownAsJournal->getContinuedAsJournal())) {
         $formerlyKnownAsJournal->setContinuedAsJournal($this);
     } elseif (empty($formerlyKnownAsJournal) && !empty($oldFormerlyKnownAsJournal)) {
         $formerlyKnownAsJournal->setContinuedAsJournal(null);
     }
     return $this;
 }
Journal