Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

uiBrowser Class Reference

Inheritance diagram for uiBrowser:

uiBase List of all members.

Public Member Functions

 uiBrowser ($config)
 uiBrowser
 alertMsg ()
 alertMsg
 loginform (&$Smarty, &$mask)
 loginform
 getUserInfo ()
 getUserInfo
 getStructure ($id, $homedir=FALSE)
 getStructure
 getNewFileForm ($id, $mask)
 getNewFileForm
 getSearchForm ($id, &$mask)
 getSearchForm
 getSubjects ()
 getSubjects
 getAddSubjectForm ($mask)
 addSubjectForm
 getChangePasswdForm ($uid)
 getChangePasswdForm
 getGroups ($id)
 getGroups
 getSubj2GroupForm ($id)
 getSubj2GroupForm
 getPermissions ($id)
 getPermissions
 getNewFileData ($id)
 getNewFileData
 getSearchRes ($id, $search)
 getSearchRes
 getFile ($id)
 getFile
 getMdata ($id)
 getMdata
 getInfo ($id)
 getInfo
 getMetadataForm ($id, &$mask)
 getMetaDataForm
 systemPrefs (&$mask)

Public Attributes

 $alertMsg

Constructor & Destructor Documentation

uiBrowser::uiBrowser config  ) 
 

uiBrowser

Initialize a new Browser Class including:

  • database initialation
  • GreenBox initialation

Parameters:
$config array, configurartion data

Definition at line 15 of file ui_browser.class.php.

References $_REQUEST, and $config.


Member Function Documentation

uiBrowser::alertMsg  ) 
 

alertMsg

takes error message from session var

Returns:
string

Definition at line 38 of file ui_browser.class.php.

References alertMsg().

Referenced by alertMsg(), and getFile().

uiBrowser::getAddSubjectForm mask  ) 
 

addSubjectForm

create a form to add GreenBox subjects (users/groups)

Returns:
string (html)

Definition at line 193 of file ui_browser.class.php.

References uiBase::_parseArr2Form().

uiBrowser::getChangePasswdForm uid  ) 
 

getChangePasswdForm

create a form to change user-passwords in GreenBox

Returns:
string (html)

Definition at line 214 of file ui_browser.class.php.

References changePasswd.

uiBrowser::getFile id  ) 
 

getFile

Call access method and show access path. Example only - not really useable. TODO: resource should be released by release method call

Parameters:
id int, local id of accessed file

Definition at line 353 of file ui_browser.class.php.

References alertMsg().

uiBrowser::getGroups id  ) 
 

getGroups

get a list of groups where user is member of

$id int local user ID

Returns:
array

Definition at line 241 of file ui_browser.class.php.

Referenced by getSubj2GroupForm().

uiBrowser::getInfo id  ) 
 

getInfo

Call getid3 library to analyze media file and show some results

Parameters:
$id int local ID of file

Definition at line 380 of file ui_browser.class.php.

uiBrowser::getMdata id  ) 
 

getMdata

Show file's metadata as XML

Parameters:
id int, local id of stored file
Returns:
array

Definition at line 368 of file ui_browser.class.php.

uiBrowser::getMetadataForm id,
&$  mask
 

getMetaDataForm

create a form to edit Metadata

Parameters:
id int
Returns:
string (html)

Definition at line 402 of file ui_browser.class.php.

References uiBase::_parseArr2Form(), and editMetaData.

uiBrowser::getNewFileData id  ) 
 

getNewFileData

get basic data about Folder to store file in

Parameters:
$id int local ID of folder
Returns:
array

Definition at line 313 of file ui_browser.class.php.

uiBrowser::getNewFileForm id,
mask
 

getNewFileForm

create a form for file-upload

Parameters:
int local $id of directory to store file in
string (html)

Definition at line 139 of file ui_browser.class.php.

References uiBase::_parseArr2Form(), and newfile.

uiBrowser::getPermissions id  ) 
 

getPermissions

get permissions for local object ID

Parameters:
$id int local ID (file/folder)
Returns:
array

Definition at line 293 of file ui_browser.class.php.

References subjects.

uiBrowser::getSearchForm id,
&$  mask
 

getSearchForm

create a form for searching in StorageServer

Parameters:
int local ID of start-directory
Returns:
string (html)

Definition at line 160 of file ui_browser.class.php.

References uiBase::_parseArr2Form(), and search.

uiBrowser::getSearchRes id,
search
 

getSearchRes

get Search Result

Parameters:
$id int local ID (file/folder) to search in
$serach string
Returns:
array

Definition at line 330 of file ui_browser.class.php.

References search.

uiBrowser::getStructure id,
homedir = FALSE
 

getStructure

get directory-structure

Parameters:
int local ID of start-directory
boolean $homedir TRUE: get homedir of current user
array tree of directory with subs

Definition at line 99 of file ui_browser.class.php.

References $_REQUEST.

uiBrowser::getSubj2GroupForm id  ) 
 

getSubj2GroupForm

creates a form to assign groups to a user

Parameters:
$id int local user ID
Returns:
string (html)

Definition at line 262 of file ui_browser.class.php.

References addSubj2Group, and getGroups().

uiBrowser::getSubjects  ) 
 

getSubjects

get all GreenBox subjects (users/groups)

Returns:
array subj=>unique id of subject, loggedAs=>corresponding login name

Definition at line 178 of file ui_browser.class.php.

uiBrowser::getUserInfo  ) 
 

getUserInfo

get info about logged in user

Returns:
array uname=>user Name, uid=>user ID

Definition at line 83 of file ui_browser.class.php.

uiBrowser::loginform &$  Smarty,
&$  mask
 

loginform

create a login-form

Parameters:
string $faillogin login name of failed login process
Returns:
string (html)

Definition at line 57 of file ui_browser.class.php.

References uiBase::_parseArr2Form().

uiBrowser::systemPrefs &$  mask  ) 
 

Definition at line 416 of file ui_browser.class.php.

References uiBase::_parseArr2Form(), and systemPrefs().

Referenced by systemPrefs().


Member Data Documentation

uiBrowser::$alertMsg
 

Definition at line 3 of file ui_browser.class.php.


The documentation for this class was generated from the following file:
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  doxygen 1.4.0