[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/editors/tinymce/src/PluginTraits/ -> ResolveFiles.php (summary)

(no description)

Copyright: (C) 2021 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 113 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  includeRelativeFiles()
  resolveFileUrl()

Functions
Functions that are not part of a class:

includeRelativeFiles($folder, $file)   X-Ref
Compute the file paths to be included

param: string   $folder  Folder name to search in (i.e. images, css, js).
param: string   $file    Path to file.
return: array    files to be included.

resolveFileUrl($path = '')   X-Ref
Method that searches if file exists in given path and returns the relative path.
If a minified version exists it will be preferred.

param: string   $path          The actual path of the file
return: string  The relative path of the file



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer