GollemGollem Base Class.
Located in /lib/Gollem.php (line 38)
boolean
checkPermissions
(string $filter, [integer $permission = PERMS_READ], [string $backend = null])
addInlineScript (line 1107)
Add inline javascript to the output buffer.
backendSelect (line 874)
Generate the backend selection list for use in the menu.
canAutoLogin (line 83)
Can we log in without a login screen for the requested backend key?
changeDir (line 124)
Changes the current directory of the Gollem session based on the 'dir' form field.
changePermissions (line 528)
Change permissions on files using the current Gollem session settings.
checkAuthentication (line 50)
Check Gollem authentication and change to the currently active directory. Redirects to login page on authentication/session failure.
checkPermissions (line 743)
Checks if a user has the specified permissions on the selected backend.
copyFile (line 586)
Copies a file using the current Gollem session settings.
createFolder (line 427)
Create a folder using the current Gollem session settings.
deleteFile (line 511)
Delete a file using the current Gollem session settings.
deleteFolder (line 490)
Delete a folder using the current Gollem session settings.
directoryNavLink (line 769)
Produces a directory link used for navigation.
displayColumns (line 714)
Parse the 'columns' preference.
expireCache (line 354)
Expire a folder cache entry.
getAutologinID (line 915)
Get the authentication ID to use for autologins based on the value of the 'hordeauth' parameter.
getBackends (line 1076)
Get a list of the available backends for permissions setup.
getDir (line 163)
Get the current directory of the Gollem session.
getDisplayPath (line 1055)
Generate the display path (the path with any root information stripped out).
getHome (line 153)
Get the home directory of the Gollem session.
getMenu (line 807)
Build Gollem's list of menu items.
getPreferredBackend (line 659)
Get the current preferred backend key.
getRoot (line 143)
Get the root directory of the Gollem session.
getVFSOb (line 978)
Return a Horde_VFS object for the given backend.
getVFSPath (line 1206)
Take a fully qualified and break off the file or directory name.
This pair is used for the input to many VFS library functions.
listFolder (line 293)
List the current folder.
loadBackendList (line 892)
Load the backends list into the global $gollem_backends variable.
logoutUrl (line 395)
Generate an URL to the logout screen that includes any known information, such as username, server, etc., that can be filled in on the login form.
menu (line 844)
Outputs Gollem's menu to the current output stream.
moveFile (line 570)
Moves a file using the current Gollem session settings.
outputInlineScript (line 1133)
Print inline javascript to the output buffer.
pathEncode (line 1191)
Convert a Gollem path into a URL encoded string, but keep '/'.
This allows for proper PATH_INFO path parsing. Special care is taken to handle "+" and " ".
realPath (line 939)
Returns the canonical path of the string. Like PHP's built-in realpath() except the directory need not exist on the local server.
Algorithim loosely based on code from the Perl File::Spec::Unix module (version 1.5).
TODO: Remove once Gollem requires a minimum version of Horde that containts Util::realPath().
renameItem (line 477)
Rename files using the current Gollem session settings.
setDir (line 104)
Changes the current directory of the Gollem session to the supplied value.
status (line 864)
Outputs Gollem's status/notification bar.
stripAPIPath (line 1159)
Cleans a path presented to Gollem's browse API call.
This will remove:
subdirectory (line 375)
Generate correct subdirectory links.
verifyDir (line 702)
This function verifies whether a given directory is below the root.
writeFile (line 545)
Write an uploaded file to the VFS backend.
Documentation generated on Sun, 30 Jan 2011 05:24:44 +0000 by phpDocumentor 1.4.3