Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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';
- }
Add Comment
Please, Sign In to add comment