Download User Manual

Transcript
 (high performance PHP archive manipulator)
User Manual
Parameters:
$prPath – the file name to search for
Returns:
string – the file permission attributes in Unix octal format
boolean psArchive::setAttributes( string $prPath, string $prAttr )
Sets the permission attributes for the given entry (file or directory).
Parameters:
$prPath – the file name to search for
$prAttr – the permission attributes to apply
Returns:
TRUE – if the attributes were applied successfully
FALSE – if the entry does not exist
int psArchive::getMTime( string $prPath )
Returns the last modification time of the given entry as a Unix timestamp.
Parameters:
$prPath – the file name to search for
Returns:
int – the file last modification time as a Unix timestamp
boolean psArchive::setMTime( string $prPath, string $prMTime )
Sets the last modification time for the given entry.
Parameters:
$prPath – the file name to search for
$prMTime – last modification time as a Unix timestamp.
Returns:
TRUE – if the time was applied successfully
FALSE – if the entry does not exist
Copyright ©2006 Paloş & Sons LTD. All rights reserved!
Page 21/26