Skip to content

Latest commit

 

History

History
368 lines (185 loc) · 10.5 KB

class.MediaCore.md

File metadata and controls

368 lines (185 loc) · 10.5 KB

Class MediaCore

Contents

Properties

Methods

Properties

$jquery_ui_dependencies

public mixed $jquery_ui_dependencies = array('ui.core' => array('fileName' => 'jquery.ui.core.min.js', 'dependencies' => array(), 'theme' => true), 'ui.widget' => array('fileName' => 'jquery.ui.widget.min.js', 'dependencies' => array(), 'theme' => false), 'ui.mouse' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => false), 'ui.position' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array(), 'theme' => false), 'ui.draggable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => false), 'ui.droppable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse', 'ui.draggable'), 'theme' => false), 'ui.resizable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => true), 'ui.selectable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => true), 'ui.sortable' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => true), 'ui.accordion' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true), 'ui.autocomplete' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.position'), 'theme' => true), 'ui.button' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true), 'ui.dialog' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.position'), 'theme' => true), 'ui.slider' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget', 'ui.mouse'), 'theme' => true), 'ui.tabs' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true), 'ui.datepicker' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core'), 'theme' => true), 'ui.progressbar' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('ui.core', 'ui.widget'), 'theme' => true), 'effects.core' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array(), 'theme' => false), 'effects.blind' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.bounce' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.clip' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.drop' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.explode' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.fade' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.fold' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.highlight' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.pulsate' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.scale' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.shake' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.slide' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false), 'effects.transfer' => array('fileName' => 'jquery.ui.mouse.min.js', 'dependencies' => array('effects.core'), 'theme' => false))

Methods

cccCss

array MediaCore::cccCss($css_files)

Combine Compress and Cache CSS (ccc) calls

Arguments

  • $css_files mixed

cccJS

array MediaCore::cccJS($js_files)

Combine Compress and Cache (ccc) JS calls

Arguments

  • $js_files mixed

getBackTrackLimit

mixed MediaCore::getBackTrackLimit()

getCSSPath

string MediaCore::getCSSPath(mixed $css_uri, string $css_media_type)

addCSS return stylesheet path.

Arguments

  • $css_uri mixed
  • $css_media_type string

getJSPath

string MediaCore::getJSPath(mixed $js_uri)

addJS return javascript path

Arguments

  • $js_uri mixed

getJqueryPath

string MediaCore::getJqueryPath(mixed $version, $folder, $minifier)

return jquery path.

Arguments

  • $version mixed
  • $folder mixed
  • $minifier mixed

getJqueryPluginCSSPath

void MediaCore::getJqueryPluginCSSPath(mixed $name, $folder)

return jquery plugin css path if exist.

Arguments

  • $name mixed
  • $folder mixed

getJqueryPluginPath

void MediaCore::getJqueryPluginPath(mixed $name, $folder)

return jquery plugin path.

Arguments

  • $name mixed
  • $folder mixed

getJqueryUIPath

string MediaCore::getJqueryUIPath(mixed $component, $theme, $check_dependencies)

return jqueryUI component path.

Arguments

  • $component mixed
  • $theme mixed
  • $check_dependencies mixed

minifyCSS

mixed MediaCore::minifyCSS($css_content, $fileuri, $import_url)

Arguments

  • $css_content mixed
  • $fileuri mixed
  • $import_url mixed

minifyHTML

mixed MediaCore::minifyHTML($html_content)

Arguments

  • $html_content mixed

minifyHTMLpregCallback

mixed MediaCore::minifyHTMLpregCallback($preg_matches)

Arguments

  • $preg_matches mixed

packJS

mixed MediaCore::packJS($js_content)

Arguments

  • $js_content mixed

packJSinHTML

mixed MediaCore::packJSinHTML($html_content)

Arguments

  • $html_content mixed

packJSinHTMLpregCallback

mixed MediaCore::packJSinHTMLpregCallback($preg_matches)

Arguments

  • $preg_matches mixed