wslib Klassenreferenz
Aufstellung aller Elemente
Dokumentation der Elementfunktionen
| wslib::autoPublishWorkspaces |
( |
|
) |
|
CLI internal function: Will search for workspaces which has timed out regarding publishing and publish them
- Rückgabe:
- void
Main function to call from cli-script
- Rückgabe:
- void
| wslib::getCmdArrayForPublishWS |
( |
$ |
wsid, |
|
|
$ |
doSwap, |
|
|
$ |
pageId = 0 | |
|
) |
| | |
Building tcemain CMD-array for swapping all versions in a workspace.
- Parameter:
-
| integer | Real workspace ID, cannot be ONLINE (zero). |
| boolean | If set, then the currently online versions are swapped into the workspace in exchange for the offline versions. Otherwise the workspace is emptied. |
| [type] | $pageId: ... |
- Rückgabe:
- array Command array for tcemain
| wslib::selectVersionsInWorkspace |
( |
$ |
wsid, |
|
|
$ |
filter = 0, |
|
|
$ |
stage = -99, |
|
|
$ |
pageId = -1 | |
|
) |
| | |
Select all records from workspace pending for publishing Used from backend to display workspace overview User for auto-publishing for selecting versions for publication
- Parameter:
-
| integer | Workspace ID. If -99, will select ALL versions from ANY workspace. If -98 will select all but ONLINE. >=-1 will select from the actual workspace |
| integer | Lifecycle filter: 1 = select all drafts (never-published), 2 = select all published one or more times (archive/multiple), anything else selects all. |
| integer | Stage filter: -99 means no filtering, otherwise it will be used to select only elements with that stage. For publishing, that would be "10" |
| integer | Page id: Live page for which to find versions in workspace! |
- Rückgabe:
- array Array of all records uids etc. First key is table name, second key incremental integer. Records are associative arrays with uid, t3ver_oid and t3ver_swapmode fields. The REAL pid of the online record is found as "realpid"
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /srv/www/vhosts/typo3.local/typo3_src-4.2.10/typo3/mod/user/ws/class.wslib.php