Class mosFileManager

Description

File Manager including safe mode provision?

Located in /includes/core.classes.php (line 923)


	
			
Method Summary
 unknown acceptCopy (unknown_type $to)
 unknown containingDirectory (unknown_type $dir)
 unknown createDirectory (unknown_type $dir, [unknown_type $onlyCheck = false])
 unknown deleteDirectory (unknown_type $dir)
 unknown deleteFile (unknown_type $file)
 unknown forceCopy (unknown_type $from, unknown_type $to)
 void &getInstance ()
 unknown lightCopy (unknown_type $from, unknown_type $to)
 unknown makeDirectory (unknown_type $dir)
 TRUE=all mosChmod (path $path, filemode 1, dirmode 2)
 TRUE=all mosChmodRecursive (path $path, [filemode $filemode = NULL], [dirmode $dirmode = NULL])
 void mosPathName (string $p_path, [boolean $p_addtrailingslash = true])
 void setPermissions (unknown_type $fileSysObject)
 unknown simpleCopy (unknown_type $from, unknown_type $to)
Methods
acceptCopy (line 1091)

Enter description here...

unknown acceptCopy (unknown_type $to)
  • unknown_type $to
containingDirectory (line 1026)

Enter description here...

unknown containingDirectory (unknown_type $dir)
  • unknown_type $dir
createDirectory (line 1007)

Enter description here...

unknown createDirectory (unknown_type $dir, [unknown_type $onlyCheck = false])
  • unknown_type $dir
  • unknown_type $onlyCheck
deleteDirectory (line 954)

Enter description here...

unknown deleteDirectory (unknown_type $dir)
  • unknown_type $dir
deleteFile (line 940)

Enter description here...

unknown deleteFile (unknown_type $file)
  • unknown_type $file
forceCopy (line 1060)

Enter description here...

unknown forceCopy (unknown_type $from, unknown_type $to)
  • unknown_type $from
  • unknown_type $to
getInstance (line 928)

Singleton accessor

void &getInstance ()
lightCopy (line 1076)

Enter description here...

unknown lightCopy (unknown_type $from, unknown_type $to)
  • unknown_type $from
  • unknown_type $to
makeDirectory (line 989)

Enter description here...

unknown makeDirectory (unknown_type $dir)
  • unknown_type $dir
mosChmod (line 1125)

Chmods files and directories recursively to mos global permissions. Available from 4.5.2 up.

  • return: succeeded FALSE=one or more chmods failed
TRUE=all mosChmod (path $path, filemode 1, dirmode 2)
  • filemode 1: Integer value to chmod files. NULL = dont chmod files.
  • dirmode 2: Integer value to chmod directories. NULL = dont chmod directories.
  • path $path: The starting file or directory (no trailing slash)
mosChmodRecursive (line 1145)

Chmods files and directories recursively to given permissions. Available from 4.5.2 up.

  • return: succeeded FALSE=one or more chmods failed
TRUE=all mosChmodRecursive (path $path, [filemode $filemode = NULL], [dirmode $dirmode = NULL])
  • path $path: The starting file or directory (no trailing slash)
  • filemode $filemode: Integer value to chmod files. NULL = dont chmod files.
  • dirmode $dirmode: Integer value to chmod directories. NULL = dont chmod directories.
mosPathName (line 1102)

Function to strip additional / or \ in a path name

void mosPathName (string $p_path, [boolean $p_addtrailingslash = true])
  • string $p_path: The path
  • boolean $p_addtrailingslash: Add trailing slash
setPermissions (line 970)

Enter description here...

void setPermissions (unknown_type $fileSysObject)
  • unknown_type $fileSysObject
simpleCopy (line 1045)

Enter description here...

unknown simpleCopy (unknown_type $from, unknown_type $to)
  • unknown_type $from
  • unknown_type $to

Documentation generated on Mon, 05 May 2008 16:19:00 +0400 by phpDocumentor 1.4.0