\AjaxUploadController
AjaxUploadController
- Author: Kalyptus SPRL <thomas@kalyptus.be>
Synopsis
class AjaxUploadController
extends Controller
{
- // constants
- const TEMPORARY_FOLDER = 'TemporaryUploads';
- const CKEDITOR_TYPE_IMAGES = 'Images';
- // members
- private static array $allowed_actions = ;
- // methods
- public void oembed()
- public void ckeditor()
- public static array findExternalLinks()
- public static array findTemporaryUploads()
- public static array deleteUnusedFiles()
- public static string moveTemporaryUploads()
Hierarchy
Extends
- Controller
Constants
Name | Value |
---|---|
TEMPORARY_FOLDER | 'TemporaryUploads' |
CKEDITOR_TYPE_IMAGES | 'Images' |
Members
private
- $allowed_actions
Methods
public
- ckeditor()
- deleteUnusedFiles() — Diff original and new content to find and delete removed files
- findExternalLinks() — Finds external links in a given html content
- findTemporaryUploads() — Finds temporary file and image in a given html content
- moveTemporaryUploads() — Move temporary files into a valid folder
- oembed()