Commit d8971b25 by Alexander Mohorev

short echo tags

parent 6e7edfdf
...@@ -26,7 +26,7 @@ ArrayHelper::multisort($methods, 'name'); ...@@ -26,7 +26,7 @@ ArrayHelper::multisort($methods, 'name');
<?= $method->visibility ?> <?= $method->visibility ?>
method method
<?php if (!empty($method->since)): ?> <?php if (!empty($method->since)): ?>
(available since version <?php echo $method->since; ?>) (available since version <?= $method->since ?>)
<?php endif; ?> <?php endif; ?>
</span> </span>
</div> </div>
......
...@@ -28,7 +28,7 @@ ArrayHelper::multisort($properties, 'name'); ...@@ -28,7 +28,7 @@ ArrayHelper::multisort($properties, 'name');
<?php if($property->getIsWriteOnly()) echo ' <em>write-only</em> '; ?> <?php if($property->getIsWriteOnly()) echo ' <em>write-only</em> '; ?>
property property
<?php if(!empty($property->since)): ?> <?php if(!empty($property->since)): ?>
(available since version <?php echo $property->since; ?>) (available since version <?= $property->since ?>)
<?php endif; ?> <?php endif; ?>
</span> </span>
</div> </div>
......
...@@ -14,7 +14,7 @@ $this->beginPage(); ...@@ -14,7 +14,7 @@ $this->beginPage();
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" /> <meta name="language" content="en" />
<?php $this->head(); ?> <?php $this->head(); ?>
<title><?php echo $this->context->pageTitle; ?></title> <title><?= $this->context->pageTitle ?></title>
</head> </head>
<body> <body>
...@@ -22,11 +22,11 @@ $this->beginPage(); ...@@ -22,11 +22,11 @@ $this->beginPage();
<div id="apiPage"> <div id="apiPage">
<div id="apiHeader"> <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><!-- end of header -->
<div id="content"> <div id="content">
<?php echo $content; ?> <?= $content ?>
</div><!-- end of content --> </div><!-- end of content -->
<div id="apiFooter"> <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