0
点赞
收藏
分享

微信扫一扫

Yii2 使用十四 模板嵌套用法

1 定义子模板

<?php
use yii\helpers\Html;
?>
this is child


2 模板包含



<?php
use yii\helpers\Html;

/* @var $this yii\web\View */
$this->title = 'About';
?>
<?php echo $this->render('_left');?>




举报

相关推荐

0 条评论