Standard modular listing function for OcCLE FS hooks.
~array
listing
(array $meta_dir, string $meta_root_node, array $current_dir, array &$occle_fs)
-
array
$meta_dir: The current meta-directory path
-
string
$meta_root_node: The root node of the current meta-directory
-
array
$current_dir: The current directory listing
-
array
&$occle_fs: A reference to the OcCLE filesystem object
Standard modular directory creation function for OcCLE FS hooks.
boolean
make_directory
(array $meta_dir, string $meta_root_node, string $new_dir_name, array &$occle_fs)
-
array
$meta_dir: The current meta-directory path
-
string
$meta_root_node: The root node of the current meta-directory
-
string
$new_dir_name: The new directory name
-
array
&$occle_fs: A reference to the OcCLE filesystem object
Standard modular file reading function for OcCLE FS hooks.
~string
read_file
(array $meta_dir, string $meta_root_node, string $file_name, array &$occle_fs)
-
array
$meta_dir: The current meta-directory path
-
string
$meta_root_node: The root node of the current meta-directory
-
string
$file_name: The file name
-
array
&$occle_fs: A reference to the OcCLE filesystem object
Standard modular directory removal function for OcCLE FS hooks.
boolean
remove_directory
(array $meta_dir, string $meta_root_node, string $dir_name, array &$occle_fs)
-
array
$meta_dir: The current meta-directory path
-
string
$meta_root_node: The root node of the current meta-directory
-
string
$dir_name: The directory name
-
array
&$occle_fs: A reference to the OcCLE filesystem object
Standard modular file removal function for OcCLE FS hooks.
boolean
remove_file
(array $meta_dir, string $meta_root_node, string $file_name, array &$occle_fs)
-
array
$meta_dir: The current meta-directory path
-
string
$meta_root_node: The root node of the current meta-directory
-
string
$file_name: The file name
-
array
&$occle_fs: A reference to the OcCLE filesystem object
Standard modular file writing function for OcCLE FS hooks.
boolean
write_file
(array $meta_dir, string $meta_root_node, string $file_name, string $contents, array &$occle_fs)
-
array
$meta_dir: The current meta-directory path
-
string
$meta_root_node: The root node of the current meta-directory
-
string
$file_name: The file name
-
string
$contents: The new file contents
-
array
&$occle_fs: A reference to the OcCLE filesystem object