Harro Verton wrote on Tuesday 20th of September 2011:Maybe in your controller. But in a standard controller, no method render() exists (your option 2).
class Controller_Default extends Controller{ public function action_index(){ $data = array('number' => 12); //the variable &number; will be available in view file default/index.php return View::forge("default/index",$data); } }
It looks like you're new here. If you want to get involved, click one of these buttons!