示例#1
0
<ul>
<li>
<p><cite><?php 
            echo $journeyPart->getTrain();
            ?>
</cite>: <?php 
            echo $journeyPart->getStartStation();
            ?>
 &gt; <?php 
            echo $journeyPart->getEndStation();
            ?>
 (<?php 
            echo Viewer::viewDateTime($journeyPart->getStart());
            ?>
 &ndash; <?php 
            echo Viewer::viewDateTime($journeyPart->getEnd());
            ?>
</td>) <?php 
            echo $journeyPart->getLength();
            ?>
 km
<?php 
            if (!is_null($journeyPart->getCar()) || !is_null($journeyPart->getNote()) || !is_null($journeyPart->getLocomotive())) {
                ?>
*</p><p>*)
<?php 
                if (!is_null($journeyPart->getLocomotive())) {
                    ?>
<em>Lokomotiva</em>: <?php 
                    echo $journeyPart->getLocomotive();
                }