Commit d8971b25 by Alexander Mohorev

short echo tags

parent 6e7edfdf
......@@ -26,7 +26,7 @@ ArrayHelper::multisort($methods, 'name');
<?= $method->visibility ?>
method
<?php if (!empty($method->since)): ?>
(available since version <?php echo $method->since; ?>)
(available since version <?= $method->since ?>)
<?php endif; ?>
</span>
</div>
......
......@@ -28,7 +28,7 @@ ArrayHelper::multisort($properties, 'name');
<?php if($property->getIsWriteOnly()) echo ' <em>write-only</em> '; ?>
property
<?php if(!empty($property->since)): ?>
(available since version <?php echo $property->since; ?>)
(available since version <?= $property->since ?>)
<?php endif; ?>
</span>
</div>
......
......@@ -14,7 +14,7 @@ $this->beginPage();
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<?php $this->head(); ?>
<title><?php echo $this->context->pageTitle; ?></title>
<title><?= $this->context->pageTitle ?></title>
</head>
<body>
......@@ -22,11 +22,11 @@ $this->beginPage();
<div id="apiPage">
<div id="apiHeader">
<a href="http://www.yiiframework.com">Yii Framework</a> v<?php echo Yii::getVersion(); ?> Class Reference
<a href="http://www.yiiframework.com">Yii Framework</a> v<?= Yii::getVersion() ?> Class Reference
</div><!-- end of header -->
<div id="content">
<?php echo $content; ?>
<?= $content ?>
</div><!-- end of content -->
<div id="apiFooter">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment