Review main Merged

12732[FEATURE] Add signal to process public URL of file

Oliver Hader CR +2 V +2 Easy +26 −2 updated 06/03/13, 20:49

Commit message

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'
);

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1