T
T
terehinis2014-10-25 23:52:29
Yii
terehinis, 2014-10-25 23:52:29

How to set title in yii2?

How to set title from controller in yii2?
The first version used $this->pageTitle inside the controller, how to do it in yii2 now?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Terminaft, 2014-10-26
@terehinis

Why inside the controller?
Inside View: $this->title

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question