SC_mod_user_ws_index Class Reference

Inheritance diagram for SC_mod_user_ws_index:

Inheritance graph
[legend]
Collaboration diagram for SC_mod_user_ws_index:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 menuConfig ()
 execute ()
 init ()
 main ()
 printContent ()
 moduleContent_publish ()
 displayVersionDetails ($details)
 displayWorkspaceOverview ()
 moduleContent_workspaceList ()
 workspaceList_displayUserWorkspaceList ()
 workspaceList_getUserWorkspaceList ()
 workspaceList_formatWorkspaceData (&$wksp)
 workspaceList_getWebMountPoints (&$wksp)
 workspaceList_getFileMountPoints (&$wksp)
 workspaceList_displayUserWorkspaceListHeader ()
 workspaceList_getUserList (&$wksp)
 workspaceList_getUserListForSysWorkspace (&$wksp)
 workspaceList_getUserListWithAccess (&$list, $access)
 workspaceList_displayIcons ($currentWorkspace, &$wksp)
 workspaceList_hasEditAccess (&$wksp)
 workspaceList_createFakeWorkspaceRecord ($uid)

Public Attributes

 $MCONF = array()
 $MOD_MENU = array()
 $MOD_SETTINGS = array()
 $doc
 $content
 $publishAccess = FALSE
 $be_user_Array = array()
 $be_user_Array_full = array()


Detailed Description

Definition at line 101 of file index.php.


Member Function Documentation

SC_mod_user_ws_index::menuConfig (  ) 

Initialize menu configuration

Returns:
void

Reimplemented from t3lib_SCbase.

Definition at line 134 of file index.php.

SC_mod_user_ws_index::execute (  ) 

Executes action for selected elements, if any is sent:

Definition at line 179 of file index.php.

SC_mod_user_ws_index::init (  ) 

Standard init function of a module.

Returns:
void

Reimplemented from t3lib_SCbase.

Definition at line 247 of file index.php.

SC_mod_user_ws_index::main (  ) 

Main function for Workspace Manager module.

Returns:
void

Definition at line 305 of file index.php.

SC_mod_user_ws_index::printContent (  ) 

Print module content. Called as last thing in the global scope.

Returns:
void

Definition at line 352 of file index.php.

SC_mod_user_ws_index::moduleContent_publish (  ) 

Rendering the content for the publish and review panel in the workspace manager

Returns:
string HTML content

Definition at line 382 of file index.php.

SC_mod_user_ws_index::displayVersionDetails ( details  ) 

Display details for a single version from workspace

Parameters:
string Version identification, made of table and uid
Returns:
string HTML string

Definition at line 491 of file index.php.

SC_mod_user_ws_index::displayWorkspaceOverview (  ) 

Rendering the overview of versions in the current workspace

Returns:
string HTML (table)

Definition at line 500 of file index.php.

SC_mod_user_ws_index::moduleContent_workspaceList (  ) 

Rendering of the workspace list

Returns:
string HTML

Definition at line 542 of file index.php.

SC_mod_user_ws_index::workspaceList_displayUserWorkspaceList (  ) 

Generates HTML to display a list of workspaces.

Returns:
string Generated HTML code

Definition at line 557 of file index.php.

SC_mod_user_ws_index::workspaceList_getUserWorkspaceList (  ) 

Retrieves a list of workspaces where user has access.

Returns:
array A list of workspaces available to the current BE user

Definition at line 634 of file index.php.

SC_mod_user_ws_index::workspaceList_formatWorkspaceData ( &$  wksp  ) 

Create inner information panel for workspace list. This panel is initially hidden and becomes visible when user click on the expand icon on the very left of workspace list against the workspace he wants to explore.

Parameters:
array Workspace information
Returns:
string Formatted workspace information

Definition at line 673 of file index.php.

SC_mod_user_ws_index::workspaceList_getWebMountPoints ( &$  wksp  ) 

Retrieves and formats database mount points lists.

Parameters:
array &$wksp Workspace record
Returns:
string Generated HTML

Definition at line 715 of file index.php.

SC_mod_user_ws_index::workspaceList_getFileMountPoints ( &$  wksp  ) 

Retrieves and formats file mount points lists.

Parameters:
array &$wksp Workspace record
Returns:
string Generated HTML

Definition at line 764 of file index.php.

SC_mod_user_ws_index::workspaceList_displayUserWorkspaceListHeader (  ) 

Creates a header for the workspace list table. This function only makes workspaceList_displayUserWorkspaceList() smaller.

Returns:
string Generated content

Definition at line 817 of file index.php.

SC_mod_user_ws_index::workspaceList_getUserList ( &$  wksp  ) 

Generates a list of <option> tags with user names.

Parameters:
array Workspace record
Returns:
string Generated content

Definition at line 837 of file index.php.

SC_mod_user_ws_index::workspaceList_getUserListForSysWorkspace ( &$  wksp  ) 

Generates a list of user names that has access to the system workspace.

Parameters:
array &$wksp Workspace record
Returns:
string Generated content

Definition at line 864 of file index.php.

SC_mod_user_ws_index::workspaceList_getUserListWithAccess ( &$  list,
access 
)

Generates a list of user names that has access to the workspace.

Parameters:
array A list of user IDs separated by comma
string Access string
Returns:
string Generated content

Definition at line 891 of file index.php.

SC_mod_user_ws_index::workspaceList_displayIcons ( currentWorkspace,
&$  wksp 
)

Creates a list of icons for workspace.

Parameters:
boolean true if current workspace
array Workspace record
Returns:
string Generated content

Definition at line 964 of file index.php.

SC_mod_user_ws_index::workspaceList_hasEditAccess ( &$  wksp  ) 

Checks if user has edit access to workspace. Access is granted if workspace is custom and user is admin or the the owner of the workspace. This function assumes that $wksp were passed through $GLOBALS['BE_USER']->checkWorkspace() function to obtain _ACCESS attribute of the workspace.

Parameters:
array Workspace record
Returns:
boolean true if user can modify workspace parameters

Definition at line 1012 of file index.php.

SC_mod_user_ws_index::workspaceList_createFakeWorkspaceRecord ( uid  ) 

Creates a fake workspace record for system workspaces. Record contains all fields found in sys_workspaces.

Parameters:
integer System workspace ID. Currently 0 and -1 are accepted.
Returns:
array Generated record (see sys_workspaces for structure)

Definition at line 1024 of file index.php.


Member Data Documentation

SC_mod_user_ws_index::$MCONF = array()

Loaded with the global array $MCONF which holds some module configuration from the conf.php file of backend modules.

See also:
init()

Reimplemented from t3lib_SCbase.

Definition at line 104 of file index.php.

SC_mod_user_ws_index::$MOD_MENU = array()

The module menu items array. Each key represents a key for which values can range between the items in the array of that key.

See also:
init()

Reimplemented from t3lib_SCbase.

Definition at line 105 of file index.php.

SC_mod_user_ws_index::$MOD_SETTINGS = array()

Current settings for the keys of the MOD_MENU array

See also:
$MOD_MENU

Reimplemented from t3lib_SCbase.

Definition at line 106 of file index.php.

SC_mod_user_ws_index::$content

Generally used for accumulating the output content of backend modules

Reimplemented from t3lib_SCbase.

Definition at line 114 of file index.php.


The documentation for this class was generated from the following file:
This documentation has been generated automatically from TYPO3 source code using Doxygen and is provided as is by Cast Iron Coding as a courtesy to other TYPO3 developers and users. Please consider Cast Iron Coding — a full-service web development agency in Portland, Oregon specializing in TYPO3 extension development — for all of your TYPO3 development and consulting needs!