array( 'stdClass' => function($item) { return $item; } )); $options += $defaults; return parent::to($format, $options); } } ?>