[TYPO3-media] why getDriver set as private in storage?

Fabien Udriot fabien.udriot at ecodev.ch
Mon Dec 5 08:28:15 CET 2011


Hi,

Just wondering why getDriver() has been set as private in the Storage?

http://git.typo3.org/TYPO3v4/Incubator.git?a=blob;f=t3lib/file/Storage.php;h=e226de57386097129eeeca3ffcf58126d93e1816;hb=refs/heads/project-fileabstraction#l197

How can we access the path of a File / Folder now? getIdentifier() is obviously not enough to 
determine a full path. Previously we had:

$storage->getDriver()->getAbsolutePath()

Now, it looks we have to go through the File / Folder itself. Is it possible something is still 
missing in Folder?

http://git.typo3.org/TYPO3v4/Incubator.git?a=blob;f=t3lib/file/Folder.php;h=2e24ded4ba62b450b465e77fc29ba9980fd363d5;hb=refs/heads/project-fileabstraction

Cheers,

Fabien



More information about the TYPO3-project-media mailing list