Feature #8088

API method for retrieving the original filename of recently imported resources

Added by Robert Lemke about 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-06-07
Priority:Should have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Resource
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 10
PHP Version: Complexity:
Has patch:

Description

When a file is uploaded to FLOW3, there's currently no viable way to get knowledge of the original filename - all you get is a resource object.

It would be helpful if the Resource Manager had an API function for retrieving the imported resources (of the current script run) and get some further information about the import.

Associated revisions

Revision 00e63862
Added by Robert Lemke about 5 years ago

[+FEATURE] FLOW3 (Resource): The resource:// stream wrapper now also supports persistent resource - just specify the resource hash to access one. Resolves #8082
[+FEATURE] FLOW3 (Resource): The Resource Manager now provides an API method for getting more information about recently imported or uploaded resources. Resolves #8088
[+FEATURE] FLOW3 (Resource): Resource objects can now be converted to a string. Its __toString() method returns the resource's sha1 hash.
[+TASK] FLOW3 (Documentation): Updated the Resource Management section in the FLOW3 manual.
[~TASK] FLOW3 (Error): The debugger now doesn't filter Resource classes anymore.

History

#1 Updated by Robert Lemke about 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4446.

Also available in: Atom PDF