return $this ->fetch('index); is not displayed in the browser
好的名字被用光了
好的名字被用光了 2017-09-04 16:30:54
0
4
2185

return $this ->fetch('index');

好的名字被用光了
好的名字被用光了

reply all(3)
浮尘

There is template in phpstorm. You see it is gray. In fact, this word does not exist. It is just a parameter mark. Therefore, you cannot add template when writing your own. Just leave it blank or write an 'index' parameter. Just fine

jim713

Is it true that the index class is not inherited from the controller?

冰泪000

return $this->view->fetch('index'); try

  • reply This is correct, hold the grass and add template: an error is reported, the reason is unknown. Master, can you leave a WeChat message to study together?
    yestrue author 2017-10-29 23:51:41
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template