|
TYPO3 API
SVNRelease
|

Public Member Functions | |
| positionTree ($id, $pageinfo, $perms_clause, $R_URI) | |
| JSimgFunc ($prefix= '') | |
| boldTitle ($t_code, $dat, $id) | |
| onClickEvent ($pid, $newPagePID) | |
| insertlabel () | |
| linkPageTitle ($str, $rec) | |
| checkNewPageInPid ($pid) | |
| getModConfig ($pid) | |
| insertQuadLines ($codes, $allBlank=0) | |
| printContentElementColumns ($pid, $moveUid, $colPosList, $showHidden, $R_URI) | |
| printRecordMap ($lines, $colPosArray) | |
| wrapColumnHeader ($str, $vv) | |
| insertPositionIcon ($row, $vv, $kk, $moveUid, $pid) | |
| onClickInsertRecord ($row, $vv, $moveUid, $pid, $sys_lang=0) | |
| wrapRecordHeader ($str, $row) | |
| getRecordHeader ($row) | |
| wrapRecordTitle ($str, $row) | |
Public Attributes | |
| $moveOrCopy = 'move' | |
| $dontPrintPageInsertIcons = 0 | |
| $backPath = '' | |
| $depth = 2 | |
| $cur_sys_language | |
| $R_URI = '' | |
| $elUid = '' | |
| $moveUid = '' | |
| $getModConfigCache = array() | |
| $checkNewPageCache = Array() | |
| $l_insertNewPageHere = 'insertNewPageHere' | |
| $l_insertNewRecordHere = 'insertNewRecordHere' | |
| $modConfigStr = 'mod.web_list.newPageWiz' | |
Definition at line 78 of file class.t3lib_positionmap.php.
| t3lib_positionMap::boldTitle | ( | $ | t_code, |
| $ | dat, | ||
| $ | id | ||
| ) |
Wrap $t_code in bold IF the $dat uid matches $id
| string | Title string |
| array | Infomation array with record array inside. |
| integer | The current id. |
Reimplemented in ext_posMap_pages.
Definition at line 266 of file class.t3lib_positionmap.php.
| t3lib_positionMap::checkNewPageInPid | ( | $ | pid | ) |
Checks if the user has permission to created pages inside of the $pid page. Uses caching so only one regular lookup is made - hence you can call the function multiple times without worrying about performance.
| integer | Page id for which to test. |
Definition at line 325 of file class.t3lib_positionmap.php.
Referenced by positionTree().
| t3lib_positionMap::getModConfig | ( | $ | pid | ) |
Returns module configuration for a pid.
| integer | Page id for which to get the module configuration. |
Definition at line 341 of file class.t3lib_positionmap.php.
| t3lib_positionMap::getRecordHeader | ( | $ | row | ) |
Create record header (includes teh record icon, record title etc.)
| array | Record row. |
Definition at line 526 of file class.t3lib_positionmap.php.
| t3lib_positionMap::insertlabel | ( | ) |
Get label, htmlspecialchars()'ed
Definition at line 302 of file class.t3lib_positionmap.php.
| t3lib_positionMap::insertPositionIcon | ( | $ | row, |
| $ | vv, | ||
| $ | kk, | ||
| $ | moveUid, | ||
| $ | pid | ||
| ) |
Creates a linked position icon.
| array | Element row. |
| string | Column position value. |
| integer | Column key. |
| integer | Move uid |
| integer | PID value. |
Definition at line 479 of file class.t3lib_positionmap.php.
| t3lib_positionMap::insertQuadLines | ( | $ | codes, |
| $ | allBlank = 0 |
||
| ) |
Insert half/quad lines.
| string | keywords for which lines to insert. |
| boolean | If true all lines are just blank clear.gifs |
Definition at line 356 of file class.t3lib_positionmap.php.
Referenced by positionTree().
| t3lib_positionMap::JSimgFunc | ( | $ | prefix = '' | ) |
Creates the JavaScritp for insert new-record rollover image
| string | Insert record image prefix. |
Definition at line 236 of file class.t3lib_positionmap.php.
Referenced by positionTree().
| t3lib_positionMap::linkPageTitle | ( | $ | str, |
| $ | rec | ||
| ) |
Wrapping page title.
| string | Page title. |
| array | Page record (?) |
Reimplemented in ext_posMap_tt_content, and ext_posMap_pages.
Definition at line 314 of file class.t3lib_positionmap.php.
| t3lib_positionMap::onClickEvent | ( | $ | pid, |
| $ | newPagePID | ||
| ) |
Creates the onclick event for the insert-icons.
TSconfig mod.web_list.newPageWiz.overrideWithExtension may contain an extension which provides a module to be used instead of the normal create new page wizard.
| integer | The pid. |
| integer | New page id. |
Reimplemented in ext_posMap_pages.
Definition at line 283 of file class.t3lib_positionmap.php.
Referenced by positionTree().
| t3lib_positionMap::onClickInsertRecord | ( | $ | row, |
| $ | vv, | ||
| $ | moveUid, | ||
| $ | pid, | ||
| $ | sys_lang = 0 |
||
| ) |
Create on-click event value.
| array | The record. |
| string | Column position value. |
| integer | Move uid |
| integer | PID value. |
| integer | System language (not used currently) |
Reimplemented in ext_posMap.
Definition at line 496 of file class.t3lib_positionmap.php.
| t3lib_positionMap::positionTree | ( | $ | id, |
| $ | pageinfo, | ||
| $ | perms_clause, | ||
| $ | R_URI | ||
| ) |
Creates a "position tree" based on the page tree. Notice: A class, "localPageTree" must exist and probably it is an extension class of the t3lib_pageTree class. See "db_new.php" in the core for an example.
| integer | Current page id |
| array | Current page record. |
| string | Page selection permission clause. |
| string | Current REQUEST_URI |
Definition at line 120 of file class.t3lib_positionmap.php.
References $BE_USER, $R_URI, checkNewPageInPid(), insertQuadLines(), JSimgFunc(), t3lib_div\makeInstance(), and onClickEvent().
| t3lib_positionMap::printContentElementColumns | ( | $ | pid, |
| $ | moveUid, | ||
| $ | colPosList, | ||
| $ | showHidden, | ||
| $ | R_URI | ||
| ) |
Creates HTML for inserting/moving content elements.
| integer | page id onto which to insert content element. |
| integer | Move-uid (tt_content element uid?) |
| string | List of columns to show |
| boolean | If not set, then hidden/starttime/endtime records are filtered out. |
| string | Request URI |
Definition at line 387 of file class.t3lib_positionmap.php.
| t3lib_positionMap::printRecordMap | ( | $ | lines, |
| $ | colPosArray | ||
| ) |
Creates the table with the content columns
| array | Array with arrays of lines for each column |
| array | Column position array |
Definition at line 427 of file class.t3lib_positionmap.php.
| t3lib_positionMap::wrapColumnHeader | ( | $ | str, |
| $ | vv | ||
| ) |
Wrapping the column header
| string | Header value |
| string | Column info. |
Reimplemented in ext_posMap.
Definition at line 465 of file class.t3lib_positionmap.php.
| t3lib_positionMap::wrapRecordHeader | ( | $ | str, |
| $ | row | ||
| ) |
Wrapping the record header (from getRecordHeader())
| string | HTML content |
| array | Record array. |
Reimplemented in ext_posMap.
Definition at line 516 of file class.t3lib_positionmap.php.
| t3lib_positionMap::wrapRecordTitle | ( | $ | str, |
| $ | row | ||
| ) |
Wrapping the title of the record.
| string | The title value. |
| array | The record row. |
Reimplemented in ext_posMap_tt_content, ext_posMap, and ext_posMap.
Definition at line 539 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$backPath = '' |
Definition at line 83 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$checkNewPageCache = Array() |
Definition at line 95 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$cur_sys_language |
Definition at line 85 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$depth = 2 |
Definition at line 84 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$dontPrintPageInsertIcons = 0 |
Reimplemented in ext_posMap_tt_content, and ext_posMap.
Definition at line 82 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$elUid = '' |
Definition at line 90 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$getModConfigCache = array() |
Definition at line 94 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$l_insertNewPageHere = 'insertNewPageHere' |
Reimplemented in ext_posMap_pages.
Definition at line 98 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$l_insertNewRecordHere = 'insertNewRecordHere' |
Reimplemented in ext_posMap.
Definition at line 99 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$modConfigStr = 'mod.web_list.newPageWiz' |
Definition at line 101 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$moveOrCopy = 'move' |
Definition at line 81 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$moveUid = '' |
Definition at line 91 of file class.t3lib_positionmap.php.
| t3lib_positionMap::$R_URI = '' |
Definition at line 89 of file class.t3lib_positionmap.php.
Referenced by positionTree().
1.7.5.1