Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 67... Línea 67...
67
            'attachment' => 1,
67
            'attachment' => 1,
68
            'notification' => 0,
68
            'notification' => 0,
69
            'status' => BADGE_STATUS_ACTIVE,
69
            'status' => BADGE_STATUS_ACTIVE,
70
            'version' => OPEN_BADGES_V2,
70
            'version' => OPEN_BADGES_V2,
71
            'language' => 'en',
71
            'language' => 'en',
72
            'imageauthorname' => 'Image author',
-
 
73
            'imageauthoremail' => 'author@example.com',
-
 
74
            'imageauthorurl' => 'http://image.example.com/',
-
 
75
            'imagecaption' => 'Image caption'
72
            'imagecaption' => 'Image caption'
76
        ], $record);
73
        ], $record);
Línea 77... Línea 74...
77
 
74
 
78
        $record->id = $DB->insert_record('badge', $record);
75
        $record->id = $DB->insert_record('badge', $record);