Answer the question
In order to leave comments, you need to log in
How to refer to the class object in the page code?
On the page I use {{user.name}} - displays the name
In the input code
function onStart()
{
$this['info'] = $user['name'];
}
Answer the question
In order to leave comments, you need to log in
If I understand correctly, then the class has a $info property, then$this->info = $user['name'];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question