I switched to Phalcon and I love it. Now, I was going through tutorials (btw, very good documented) and got confused a little bit. So, in the tutorial about Views it says that you can set View variables in the controller ( $this->view->setVar("myvar", $myvar);) and access them from the View with $this->myvar.
I installed Phalcon 1.3 on my local server running on WAMP (PHP 5.4.3). The problems that I have are:
I can't set View variables this way ($this->view->setVar("myvar", $myvar);) it gives me an error. I still can set variable this way ($this->view->myvar=$myvar), which is good.
I can't access the variable from the View this way ($this->myvar). But I can access it this way $this->view->myvar.
I'm not sure if this is ment to be this way or not.
Next week I'm planning to start coding on a new project and just would like to know, whether I should wait or go ahead with the project (hopefully don't need to change code if there are changes in the way it accesses variables).
Really cool and easy easy to learn MVC framework.
Thanks for clarification in advance.