| 
    Open Journal Systems
    3.3.0
    
   | 
 
 
 
 
   22 define(
'ISSUE_ACCESS_OPEN', 1);
 
   23 define(
'ISSUE_ACCESS_SUBSCRIPTION', 2);
 
   31       return $this->
getData(
'journalId');
 
   39       return $this->
setData(
'journalId', $journalId);
 
   56       return $this->
getData(
'title', $locale);
 
   65       return $this->
setData(
'title', $title, $locale);
 
   73       return $this->
getData(
'volume');
 
   81       return $this->
setData(
'volume', $volume);
 
   89       return $this->
getData(
'number');
 
   97       return $this->
setData(
'number', $number);
 
  113       return $this->
setData(
'year', $year);
 
  121       return $this->
getData(
'published');
 
  129       return $this->
setData(
'published', $published);
 
  137       return $this->
getData(
'current');
 
  145       return $this->
setData(
'current', $current);
 
  153       return $this->
getData(
'datePublished');
 
  161       return $this->
setData(
'datePublished', $datePublished);
 
  169       return $this->
getData(
'dateNotified');
 
  177       return $this->
setData(
'dateNotified', $dateNotified);
 
  185       return $this->
getData(
'lastModified');
 
  193       return $this->
setData(
'lastModified', $lastModified);
 
  208       return $this->
getData(
'accessStatus');
 
  216       return $this->
setData(
'accessStatus', $accessStatus);
 
  224       return $this->
getData(
'openAccessDate');
 
  232       return $this->
setData(
'openAccessDate', $openAccessDate);
 
  249       return $this->
getData(
'description', $locale);
 
  258       return $this->
setData(
'description', $description, $locale);
 
  269       return $this->
getData(
'pub-id::'.$pubIdType);
 
  280       return $this->
setData(
'pub-id::'.$pubIdType, $pubId);
 
  288       return $this->
getData(
'showVolume');
 
  296       return $this->
setData(
'showVolume', $showVolume);
 
  304       return $this->
getData(
'showNumber');
 
  312       return $this->
setData(
'showNumber', $showNumber);
 
  320       return $this->
getData(
'showYear');
 
  328       return $this->
setData(
'showYear', $showYear);
 
  336       return $this->
getData(
'showTitle');
 
  344       return $this->
setData(
'showTitle', $showTitle);
 
  361       return $this->
getData(
'coverImage', $locale);
 
  370       return $this->
setData(
'coverImage', $coverImage, $locale);
 
  387       return $this->
getData(
'coverImageAltText', $locale);
 
  403       import(
'classes.file.PublicFileManager');
 
  406       return $request->getBaseUrl() . 
'/' . $publicFileManager->getContextFilesPath($this->
getJournalId()) . 
'/' . $coverImage;
 
  416       if (empty($coverImages)) {
 
  421       import(
'classes.file.PublicFileManager');
 
  426       foreach ($coverImages as $locale => $coverImage) {
 
  427          $urls[$locale] = sprintf(
'%s/%s/%s', $request->getBaseUrl(), $publicFileManager->getContextFilesPath($this->getJournalId()), $coverImage);
 
  439       return $this->
setData(
'coverImageAltText', $coverImageAltText, $locale);
 
  450       $displayOptions = array(
 
  451          'showVolume' => $this->
getData(
'showVolume'),
 
  452          'showNumber' => $this->
getData(
'showNumber'),
 
  453          'showYear' => $this->
getData(
'showYear'),
 
  454          'showTitle' => $this->
getData(
'showTitle'),
 
  457       $displayOptions = array_merge($displayOptions, $force);
 
  458       if(is_null($locale)){
 
  466       $vol = $this->
getData(
'volume');
 
  467       $num = $this->
getData(
'number');
 
  468       $year = $this->
getData(
'year');
 
  474       $identification = array();
 
  475       foreach($displayOptions as $opt => $val) {
 
  481          if ($opt == 
'showVolume') {
 
  482             $identification[] = 
"$volLabel $vol";
 
  483          } elseif ($opt == 
'showNumber') {
 
  484             $identification[] = 
"$numLabel $num";
 
  485          } elseif ($opt == 
'showYear') {
 
  486             $identification[] = !empty($identification) ? 
"($year)" : $year;
 
  487          } elseif ($opt == 
'showTitle' ) {
 
  488             if (!empty($title)) {
 
  490                if (!empty($identification)) {
 
  491                   end($identification);
 
  492                   $identification[key($identification)] .= 
':';
 
  494                $identification[] = $title;
 
  500       if (empty($identification)) {
 
  503                'showVolume' => 
true,
 
  504                'showNumber' => 
true,
 
  506                'showTitle' => 
false,
 
  512       return join(
' ', $identification);
 
  533       return $issueDao->getNumArticles($this->
getId());
 
  542       return $this->
getData(
'urlPath')
 
  553       return !empty($description);
 
  
 
setShowNumber($showNumber)
 
& getData($key, $locale=null)
 
getLocalizedData($key, $preferredLocale=null)
 
static requireComponents()
 
setStoredPubId($pubIdType, $pubId)
 
Any class with an associated DAO should extend this class.
 
static & getDAO($name, $dbconn=null)
 
static translate($key, $params=array(), $locale=null, $missingKeyHandler=array(__CLASS__, 'addOctothorpes'))
 
setDatePublished($datePublished)
 
getLocalizedCoverImageAltText()
 
setAccessStatus($accessStatus)
 
setShowVolume($showVolume)
 
Wrapper class for uploading files to a site/journal's public directory.
 
getIssueIdentification($force=array(), $locale=null)
 
getCoverImageAltText($locale)
 
setTitle($title, $locale)
 
setOpenAccessDate($openAccessDate)
 
getLocalizedCoverImageUrl()
 
setDateNotified($dateNotified)
 
setDescription($description, $locale)
 
static getCurrentDate($ts=null)
 
setLastModified($lastModified)
 
getStoredPubId($pubIdType)
 
getLocalizedDescription()
 
setCoverImage($coverImage, $locale)
 
setCoverImageAltText($coverImageAltText, $locale)
 
setData($key, $value, $locale=null)