All pastes #806482 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-12-05 09:35 UTC
rendered paste body
<?php

class Default_XmascardAction extends ProjectBaseAction
{

	public function executeRead(AgaviRequestDataHolder $rd)
	{
		return 'Fill';
	}

	public function executeWrite(AgaviRequestDataHolder $rd)
	{
		if ($rd->getParameter('operation') == "preview")
			return 'Preview';
		else if ($rd->getParameter('operation') == "send")
			return 'Success';
	}


	public function getDefaultViewName()
	{
		return 'Error';
	}
}

?>