PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
VFS - semantics of methods?

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> File System
View previous topic :: View next topic  
Author Message
Rulatir



Joined: 18 May 2009
Posts: 1
Location: Warsaw, Poland

PostPosted: Mon May 18, 2009 4:46 am    Post subject: VFS - semantics of methods? Reply with quote

VFS is badly underdocumented. For example I can only guess whether rename() can be used to rename directories, and if so, should I write


Code:
$vfs->rename(dirname($from), basename($from), dirname($to), basename($to));


or

Code:
$vfs->rename($from, "", $to, "");


in order to rename directory? Or maybe I should use nulls instead of empty strings?

Are there any tutorials for VFS? Does anyone have any trial-and-error experience to share? I am going to examine sources now...
Back to top
View user's profile Send private message
agreed



Joined: 27 Feb 2010
Posts: 1

PostPosted: Sat Feb 27, 2010 10:43 am    Post subject: Reply with quote

Quite interesting.
_________________
free baby stuff
free baby stuff
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> File System All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement