

| SC_mod_user_ws_index::menuConfig | ( | ) |
| SC_mod_user_ws_index::init | ( | ) |
| SC_mod_user_ws_index::main | ( | ) |
Main function for Workspace Manager module.
| SC_mod_user_ws_index::printContent | ( | ) |
Print module content. Called as last thing in the global scope.
| SC_mod_user_ws_index::moduleContent_publish | ( | ) |
Rendering the content for the publish and review panel in the workspace manager
| SC_mod_user_ws_index::displayVersionDetails | ( | $ | details | ) |
Display details for a single version from workspace
| string | Version identification, made of table and uid |
| SC_mod_user_ws_index::displayWorkspaceOverview | ( | ) |
Rendering the overview of versions in the current workspace
| SC_mod_user_ws_index::displayWorkspaceOverview_list | ( | $ | pArray, | |
| $ | tableRows = array(), |
|||
| $ | c = 0, |
|||
| $ | warnAboutVersions = FALSE | |||
| ) |
Rendering the content for the publish / review overview: (Made for internal recursive calling)
| array | Hierarchical storage of the elements to display (see displayWorkspaceOverview() / displayWorkspaceOverview_setInPageArray()) | |
| array | Existing array of table rows to add to | |
| array | Depth counter | |
| boolean | If set, a warning is shown if versions are found (internal flag) |
| SC_mod_user_ws_index::displayWorkspaceOverview_pageTreeIconTitle | ( | $ | pageUid, | |
| $ | title, | |||
| $ | indentCount | |||
| ) |
Create indentation, icon and title for the page tree identification for the list.
| integer | Page UID (record will be looked up again) | |
| string | Page title | |
| integer | Depth counter from displayWorkspaceOverview_list() used to indent the icon and title |
| SC_mod_user_ws_index::displayWorkspaceOverview_stageCmd | ( | $ | table, | |
| &$ | rec_off | |||
| ) |
Links to stage change of a version
| string | Table name | |
| array | Offline record (version) |
| SC_mod_user_ws_index::displayWorkspaceOverview_commandLinks | ( | $ | table, | |
| &$ | rec_on, | |||
| &$ | rec_off, | |||
| $ | vType | |||
| ) |
Links to publishing etc of a version
| string | Table name | |
| array | Online record | |
| array | Offline record (version) | |
| string | Swap type, "branch", "page" or "element" |
| SC_mod_user_ws_index::displayWorkspaceOverview_commandLinksSub | ( | $ | table, | |
| $ | rec, | |||
| $ | origId | |||
| ) |
Links to publishing etc of a version
| string | Table name | |
| array | Record array | |
| integer | The uid of the online version of $uid. If zero it means we are drawing a row for the online version itself while a value means we are drawing display for an offline version. |
| SC_mod_user_ws_index::displayWorkspaceOverview_setInPageArray | ( | &$ | pArray, | |
| $ | rlArr, | |||
| $ | table, | |||
| $ | row | |||
| ) |
Building up of the $pArray variable which is a hierarchical storage of table-rows arranged according to the level in the rootline the element was found (Internal) Made for recursive calling
| array | Array that is built up with the page tree structure | |
| array | Root line for element (table / row); The element is stored in pArray according to this root line. | |
| string | Table name | |
| array | Table row |
| SC_mod_user_ws_index::subElements | ( | $ | uid, | |
| $ | treeLevel, | |||
| $ | origId = 0 | |||
| ) |
Creates display of sub elements of a page when the swap mode is either "Page" or "Branch" (0 / ALL)
| integer | Page uid (for either online or offline version, but it MUST have swapmode/treeLevel set to >0 (not -1 indicating element versioning) | |
| integer | The treeLevel value, >0 indicates "branch" while 0 means page+content. (-1 would have meant element versioning, but that should never happen for a call to this function!) | |
| integer | For offline versions; This is t3ver_oid, the original ID of the online page. |
| SC_mod_user_ws_index::subElements_getNonPageRecords | ( | $ | tN, | |
| $ | uid, | |||
| &$ | recList | |||
| ) |
Select records from a table and add them to recList
| string | Table name (from TCA) | |
| integer | PID to select records from | |
| array | Array where records are accumulated, passed by reference |
| SC_mod_user_ws_index::subElements_renderItem | ( | &$ | tCell, | |
| $ | tN, | |||
| $ | uid, | |||
| $ | rec, | |||
| $ | origId, | |||
| $ | iconMode, | |||
| $ | HTMLdata | |||
| ) |
Render a single item in a subelement list into a table row:
| array | Table rows, passed by reference | |
| string | Table name | |
| integer | Page uid for which the subelements are selected/shown | |
| array | Row of element in list | |
| integer | The uid of the online version of $uid. If zero it means we are drawing a row for the online version itself while a value means we are drawing display for an offline version. | |
| integer | Mode of icon display: 0=not the last, 1= is the last in list (make joinbottom icon then), 2=do not shown icons are all (for pages from the page tree already rendered) | |
| string | Prefix HTML data (icons for tree rendering) |
| SC_mod_user_ws_index::markupNewOriginals | ( | ) |
JavaScript code to mark up new records that are online (in sub element lists)
| SC_mod_user_ws_index::createDiffView | ( | $ | table, | |
| $ | diff_1_record, | |||
| $ | diff_2_record | |||
| ) |
Create visual difference view of two records. Using t3lib_diff library
| string | Table name | |
| array | New version record (green) | |
| array | Old version record (red) |
| SC_mod_user_ws_index::moduleContent_workspaceList | ( | ) |
Rendering of the workspace list
| SC_mod_user_ws_index::workspaceList_displayUserWorkspaceList | ( | ) |
Generates HTML to display a list of workspaces.
| SC_mod_user_ws_index::workspaceList_getUserWorkspaceList | ( | ) |
Retrieves a list of workspaces where user has access.
| 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.
| array | Workspace information |
| SC_mod_user_ws_index::workspaceList_getWebMountPoints | ( | &$ | wksp | ) |
Retrieves and formats database mount points lists.
| array | &$wksp Workspace record |
| SC_mod_user_ws_index::workspaceList_getFileMountPoints | ( | &$ | wksp | ) |
Retrieves and formats file mount points lists.
| array | &$wksp Workspace record |
| SC_mod_user_ws_index::workspaceList_displayUserWorkspaceListHeader | ( | ) |
Creates a header for the workspace list table. This function only makes workspaceList_displayUserWorkspaceList() smaller.
| SC_mod_user_ws_index::workspaceList_getUserList | ( | &$ | wksp | ) |
Generates a list of <option> tags with user names.
| array | Workspace record |
| SC_mod_user_ws_index::workspaceList_getUserListForSysWorkspace | ( | &$ | wksp | ) |
Generates a list of user names that has access to the system workspace.
| array | &$wksp Workspace record |
| SC_mod_user_ws_index::workspaceList_getUserListWithAccess | ( | &$ | list, | |
| $ | access | |||
| ) |
Generates a list of user names that has access to the workspace.
| array | A list of user IDs separated by comma | |
| string | Access string |
| SC_mod_user_ws_index::workspaceList_displayIcons | ( | $ | currentWorkspace, | |
| &$ | wksp | |||
| ) |
Creates a list of icons for workspace.
| boolean | true if current workspace | |
| array | Workspace record |
| 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.
| array | Workspace record |
true if user can modify workspace parameters | SC_mod_user_ws_index::workspaceList_createFakeWorkspaceRecord | ( | $ | uid | ) |
Creates a fake workspace record for system workspaces. Record contains all fields found in sys_workspaces.
| integer | System workspace ID. Currently 0 and -1 are accepted. |
sys_workspaces for structure) | SC_mod_user_ws_index::formatVerId | ( | $ | verId | ) |
Formatting the version number for HTML output
| integer | Version number |
| SC_mod_user_ws_index::formatWorkspace | ( | $ | wsid | ) |
Formatting workspace ID into a visual label
| integer | Workspace ID |
| SC_mod_user_ws_index::formatCount | ( | $ | count | ) |
Format publishing count for version (lifecycle state)
| integer | t3ver_count value (number of times it has been online) |
| SC_mod_user_ws_index::versionsInOtherWS | ( | $ | table, | |
| $ | uid | |||
| ) |
Looking for versions of a record in other workspaces than the current
| string | Table name | |
| integer | Record uid |
| SC_mod_user_ws_index::showStageChangeLog | ( | $ | table, | |
| $ | id, | |||
| $ | stageCommands | |||
| ) |
Looks up stage changes for version and displays a formatted view on mouseover.
| string | Table name | |
| integer | Record ID | |
| string | HTML string to wrap the mouseover around (should be stage change links) |
| SC_mod_user_ws_index::$pageTreeIndent = 8 |
| SC_mod_user_ws_index::$pageTreeIndent_titleLgd = 30 |
| 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.
Réimplémentée à partir de t3lib_SCbase.
| 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.
Réimplémentée à partir de t3lib_SCbase.
| SC_mod_user_ws_index::$MOD_SETTINGS = array() |
Current settings for the keys of the MOD_MENU array
Réimplémentée à partir de t3lib_SCbase.
| SC_mod_user_ws_index::$doc |
Generally used to hold an instance of the 'template' class from typo3/template.php
Réimplémentée à partir de t3lib_SCbase.
| SC_mod_user_ws_index::$content |
Generally used for accumulating the output content of backend modules
Réimplémentée à partir de t3lib_SCbase.
| SC_mod_user_ws_index::$showWorkspaceCol = 0 |
| SC_mod_user_ws_index::$formatWorkspace_cache = array() |
| SC_mod_user_ws_index::$formatCount_cache = array() |
| SC_mod_user_ws_index::$targets = array() |
| SC_mod_user_ws_index::$pageModule = '' |
| SC_mod_user_ws_index::$publishAccess = FALSE |
| SC_mod_user_ws_index::$be_user_Array = array() |
| SC_mod_user_ws_index::$be_user_Array_full = array() |
| SC_mod_user_ws_index::$stageIndex = array() |
1.5.3