Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
public function handleError(AgaviRequestDataHolder $rd) { $user = $this->getUser(); $request = $this->context->getRequest(); if (!$rd->hasParameter('start_date')) { $request->setAttribute('populate', new AgaviParameterHolder($rd->getParameters() + array('start_date' => $user['start_date'])), 'org.agavi.filter.FormPopulationFilter'); } return 'Input'; }
This paste will be private.
From the Design Piracy series on my blog: