Feature #8088

API method for retrieving the original filename of recently imported resources

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

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Resource
Start date:
2010-06-07
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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 (diff)
Added by Robert Lemke about 9 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 9 years ago

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

Applied in changeset r4446.

Also available in: Atom PDF