[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jfw] Passing values to View renderer from Controller


I am using the sample app from https://github.com/dbhurley/framework-app   and trying to pass values to view.   

My controller :

namespace App\UserComponent\Controller;
use App\Controller\DefaultController;
class LoginController extends DefaultController
protected $defaultView = 'login';
        public function execute()
             //    $view->render->set('test', "this is a test");

            return $view;

Please suggest me a command or a way to do this.


Framework source code: https://github.com/joomla/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-framework+unsubscribe AT googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-framework.