<?php

class myActions extends sfActions {

  public function initialize($context, $moduleName, $actionName) {
    parent::initialize($context, $moduleName, $actionName);
  }

  public function executeHelloWorld(sfWebRequest $request) {
    $this->helloMessage = "Hello ".$request->getParameter('name');
  }
  
  public function executeGoodEvening(sfWebRequest $request) {
    sfContext::getInstance()->getConfiguration()->loadHelpers('Partial');
    $greetingParameters = 
      array('name' => $request->getParameter('name'));
    return $this->renderText(
      get_partial('example/goodEvening', $greetingParameters));
  }

}