getRelease() public method

public getRelease ( )
コード例 #1
0
ファイル: camp_html.php プロジェクト: sourcefabric/newscoop
/**
 * Display the copyright notice and close the HTML page.
 */
function camp_html_copyright_notice($p_displayBorder = true)
{
    global $Campsite;
    $campVersion = new CampVersion();
    if ($p_displayBorder) {
        ?>
    <div class="footer">
    <?php 
    } else {
        ?>
    <div class="footer_plain">
    <?php 
    }
    ?>
    <a href="http://newscoop.sourcefabric.org/" target="_blank">
    <?php 
    echo $campVersion->getPackage();
    ?>
</a>, the open content management system for professional journalists. Version: <?php 
    echo $campVersion->getRelease();
    ?>
      <br />
      <?php 
    echo $campVersion->getCopyright() . '&nbsp;';
    echo $campVersion->getPackage();
    ?>
       is distributed under
    <?php 
    echo $campVersion->getLicense();
    ?>
    </div>
	<?php 
}
コード例 #2
0
ファイル: CampInstallation.php プロジェクト: nidzix/Newscoop
 /**
  *
  */
 public function dispatch($p_step)
 {
     if (array_key_exists($p_step, $this->m_steps)) {
         $this->m_step = $p_step;
     } else {
         $this->m_step = $this->m_defaultStep;
     }
     $cVersion = new CampVersion();
     $this->m_title = $cVersion->getPackage() . ' ' . $cVersion->getRelease();
     $this->m_title .= strlen($cVersion->getDevelopmentStatus()) > 0 ? '-' . $cVersion->getDevelopmentStatus() : '';
     $this->m_title .= strlen($cVersion->getCodeName()) > 0 && $cVersion->getCodeName() != 'undefined' ? ' [ ' . $cVersion->getCodeName() . ' ]' : '';
     $this->m_title .= ' Installer';
 }