ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
MergeLibraryFSTools Class Reference

Custom FSTools for this script that overloads some behavior. More...

+ Inheritance diagram for MergeLibraryFSTools:
+ Collaboration diagram for MergeLibraryFSTools:

Public Member Functions

 copyable ($entry)
 
 copy ($source, $dest)
 
- Public Member Functions inherited from FSTools
 mkdirr ($folder)
 Recursively creates a directory. More...
 
 copyr ($source, $dest)
 Copy a file, or recursively copy a folder and its contents; modified so that copied files, if PHP, have includes removed. More...
 
 copyable ($file)
 Overloadable function that tests a filename for copyability. More...
 
 rmdirr ($dirname)
 Delete a file, or a folder and its contents. More...
 
 globr ($dir, $pattern, $flags=NULL)
 Recursively globs a directory. More...
 
 __call ($name, $args)
 Allows for PHP functions to be called and be stubbed. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from FSTools
static singleton ()
 Returns a global instance of FSTools. More...
 
static setSingleton ($singleton)
 Sets our global singleton to something else; useful for overloading functions. More...
 

Detailed Description

Custom FSTools for this script that overloads some behavior.

Warning
The overloading of copy() is not necessarily global for this script. Watch out!

Definition at line 25 of file generate-standalone.php.

Member Function Documentation

◆ copy()

MergeLibraryFSTools::copy (   $source,
  $dest 
)

Definition at line 35 of file generate-standalone.php.

References copy_and_remove_includes().

36  {
37  copy_and_remove_includes($source, $dest);
38  }
copy_and_remove_includes($file, $sfile)
Copies a file to another location recursively, if it is a PHP file remove includes.
+ Here is the call graph for this function:

◆ copyable()

MergeLibraryFSTools::copyable (   $entry)

Definition at line 27 of file generate-standalone.php.

28  {
29  // Skip hidden files
30  if ($entry[0] == '.') {
31  return false;
32  }
33  return true;
34  }

The documentation for this class was generated from the following file: