Project

General

Profile

Actions

Feature #38821

closed

Add signal to process public URL of file

Added by Oliver Hader over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2012-07-09
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

By using the File Abstraction Layer (FAL), resources can be put to remote storages like Amazon S3 or WebDAV.
However, in those cases a protected URI (containing user credentials) is used for uploading which shall not be accessible for any user of course.
This change introduces the possibility to pre-process the public URL generation and allows i.e. to substitute by an alternative dispatcher URL.

Example for registering the slot:

$this->getSignalSlotDispatcher()->connect(
't3lib_file_Storage',
t3lib_file_Storage::SIGNAL_PreGeneratePublicUrl,
'Tx_MyExtension_HandlerSlot',
'preGeneratePublicUrl'
);

Actions

Also available in: Atom PDF