Minor - format code

pull/2487/head
jmontoyaa 7 years ago
parent f2e82adf4c
commit 636cd1d710
  1. 18
      main/inc/lib/document.lib.php
  2. 941
      main/lp/learnpathItem.class.php

@ -2167,11 +2167,23 @@ class DocumentManager
* @return array List of file paths. An additional field containing 'local' or 'remote' helps determine
* if the file should be copied into the zip or just linked
*/
public static function get_resources_from_source_html($source_html, $is_file = false, $type = null, $recursivity = 1)
{
public static function get_resources_from_source_html(
$source_html,
$is_file = false,
$type = null,
$recursivity = 1
) {
$max = 5;
$attributes = array();
$wanted_attributes = array('src', 'url', '@import', 'href', 'value', 'flashvars', 'poster');
$wanted_attributes = array(
'src',
'url',
'@import',
'href',
'value',
'flashvars',
'poster'
);
$explode_attributes = array('flashvars' => 'file');
$abs_path = '';

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save