我需要加载模块的视图作为应用程序的另一视图内部的局部视图的局部视图。我不知道如何在手册中做到这一点。 的观点是完全独立的模块: <?php
// This is the module's class. Do I need it here?
use vendor\xxx\cropk\CropK;
/* @var $this yii\web\View */
$this
创建模块“论坛” - 完全如写here。然后创建嵌套模块“管理员”: //"Module.php" in '@app/modules/forum'
namespace app\modules\forum;
class Module extends \yii\base\Module {
public function init() {
parent::init();