|
@@ 1294-1302 (lines=9) @@
|
| 1291 |
|
function bigbluebuttonbn_get_recording_data($bbbsession, $recordings, $tools = ['protect', 'publish', 'delete']) { |
| 1292 |
|
$tabledata = array(); |
| 1293 |
|
// Build table content. |
| 1294 |
|
if (isset($recordings) && !array_key_exists('messageKey', $recordings)) { |
| 1295 |
|
// There are recordings for this meeting. |
| 1296 |
|
foreach ($recordings as $recording) { |
| 1297 |
|
$row = bigbluebuttonbn_get_recording_data_row($bbbsession, $recording, $tools); |
| 1298 |
|
if ($row != null) { |
| 1299 |
|
array_push($tabledata, $row); |
| 1300 |
|
} |
| 1301 |
|
} |
| 1302 |
|
} |
| 1303 |
|
return $tabledata; |
| 1304 |
|
} |
| 1305 |
|
|
|
@@ 1328-1336 (lines=9) @@
|
| 1325 |
|
$table->size[] = (count($tools) * 40) . 'px'; |
| 1326 |
|
} |
| 1327 |
|
// Build table content. |
| 1328 |
|
if (isset($recordings) && !array_key_exists('messageKey', $recordings)) { |
| 1329 |
|
// There are recordings for this meeting. |
| 1330 |
|
foreach ($recordings as $recording) { |
| 1331 |
|
if ( !bigbluebuttonbn_include_recording_table_row($bbbsession, $recording) ) { |
| 1332 |
|
continue; |
| 1333 |
|
} |
| 1334 |
|
bigbluebuttonbn_get_recording_table_row($bbbsession, $recording, $tools, $table); |
| 1335 |
|
} |
| 1336 |
|
} |
| 1337 |
|
return $table; |
| 1338 |
|
} |
| 1339 |
|
|