public static function prepare($data=null) {
        if ($data === null) {
            $data = new stdClass;
        }
        $data = file_prepare_standard_editor($data, 'summary', self::summary_editor_options());
        return $data;
    }
public static function prepare($data=null) {
        if ($data === null) {
            $data = new stdClass;
        }
        $data = file_prepare_standard_editor($data, 'summary', self::summary_editor_options());
        return $data;
    }
public static function prepare ( $ data = null ) { if ( $ data === null ) { $ data = new stdClass ; } $ data = file_prepare_standard_editor ( $ data , 'summary' , self :: summary_editor_options ( ) ) ; return $ data ; }
Static function to prepare the summary editor for working with a course
request.

@static
@param null|stdClass $data Optional, an object containing the default values
for the form, these may be modified when preparing the
editor so this should be called before creating the form
@return stdClass An object that can be used to set the default values for
an mforms form
Static function to prepare the summary editor for working with a course request .