Details
-
Improvement
-
Resolution: Obsolete
-
High
-
None
-
3.10.0, 3.9.4, 4.0.0alpha2
-
None
Description
It does take some deviant thinking to understand why ezfilehandler methods return a nice and clean bool value on operations such as move, linkcopy, copy, while all the corresponding actions executed by a cluster file handler return void!
There is no other way that the cluster file handler can start to eb used as THE WAY TO STORE FILES IN EZ for all extensions.
Plus a cleanup of ezfsclusterfilehandler: why does storeContents rely on eZFile::create and fileStoreContents does not? both should rely on the same checks/access methods to fs.
Plus add some documentation: 1 is faster than 2
1: $file::fileStoreContents($filename, $contents); 2: $file = eZClusterFileHandler::instance($filename); $file::StoreContents($contents);