ProjectTitle=$params['title']; $project->ProjectDescription=$params['description']; if (isset($params['type'])) $project->ProjectType=$params['type']; } return new View("Projects/create.view",array("project"=>$project)); } }