Solutions Open Source

Référence de la classe t3lib_positionMap

Graphe d'héritage de t3lib_positionMap:

Inheritance graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 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)

Attributs publics

 $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'


Documentation des fonctions membres

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.

Paramètres:
integer Current page id
array Current page record.
string Page selection permission clause.
string Current REQUEST_URI
Renvoie:
string HTML code for the tree.

t3lib_positionMap::JSimgFunc ( prefix = ''  ) 

Creates the JavaScritp for insert new-record rollover image

Paramètres:
string Insert record image prefix.
Renvoie:
string <script> section

t3lib_positionMap::boldTitle ( t_code,
dat,
id 
)

Wrap $t_code in bold IF the $dat uid matches $id

Paramètres:
string Title string
array Infomation array with record array inside.
integer The current id.
Renvoie:
string The title string.

Réimplémentée dans ext_posMap_pages.

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.

Paramètres:
integer The pid.
integer New page id.
Renvoie:
string Onclick attribute content

Réimplémentée dans ext_posMap_pages.

t3lib_positionMap::insertlabel (  ) 

Get label, htmlspecialchars()'ed

Renvoie:
string The localized label for "insert new page here"

t3lib_positionMap::linkPageTitle ( str,
rec 
)

Wrapping page title.

Paramètres:
string Page title.
array Page record (?)
Renvoie:
string Wrapped title.

Réimplémentée dans ext_posMap_pages, et ext_posMap_tt_content.

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.

Paramètres:
integer Page id for which to test.
Renvoie:
boolean

t3lib_positionMap::getModConfig ( pid  ) 

Returns module configuration for a pid.

Paramètres:
integer Page id for which to get the module configuration.
Renvoie:
array The properties of teh module configuration for the page id.
Voir également:
onClickEvent()

t3lib_positionMap::insertQuadLines ( codes,
allBlank = 0 
)

Insert half/quad lines.

Paramètres:
string keywords for which lines to insert.
boolean If true all lines are just blank clear.gifs
Renvoie:
string HTML content.

t3lib_positionMap::printContentElementColumns ( pid,
moveUid,
colPosList,
showHidden,
R_URI 
)

Creates HTML for inserting/moving content elements.

Paramètres:
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
Renvoie:
string HTML

t3lib_positionMap::printRecordMap ( lines,
colPosArray 
)

Creates the table with the content columns

Paramètres:
array Array with arrays of lines for each column
array Column position array
Renvoie:
string HTML

t3lib_positionMap::wrapColumnHeader ( str,
vv 
)

Wrapping the column header

Paramètres:
string Header value
string Column info.
Renvoie:
string
Voir également:
printRecordMap()

Réimplémentée dans ext_posMap.

t3lib_positionMap::insertPositionIcon ( row,
vv,
kk,
moveUid,
pid 
)

Creates a linked position icon.

Paramètres:
array Element row.
string Column position value.
integer Column key.
integer Move uid
integer PID value.
Renvoie:
string

t3lib_positionMap::onClickInsertRecord ( row,
vv,
moveUid,
pid,
sys_lang = 0 
)

Create on-click event value.

Paramètres:
array The record.
string Column position value.
integer Move uid
integer PID value.
integer System language (not used currently)
Renvoie:
string

Réimplémentée dans ext_posMap.

t3lib_positionMap::wrapRecordHeader ( str,
row 
)

Wrapping the record header (from getRecordHeader())

Paramètres:
string HTML content
array Record array.
Renvoie:
string HTML content

Réimplémentée dans ext_posMap.

t3lib_positionMap::getRecordHeader ( row  ) 

Create record header (includes teh record icon, record title etc.)

Paramètres:
array Record row.
Renvoie:
string HTML

t3lib_positionMap::wrapRecordTitle ( str,
row 
)

Wrapping the title of the record.

Paramètres:
string The title value.
array The record row.
Renvoie:
string Wrapped title string.

Réimplémentée dans ext_posMap_tt_content, ext_posMap, et ext_posMap.


Documentation des données membres

t3lib_positionMap::$moveOrCopy = 'move'

t3lib_positionMap::$dontPrintPageInsertIcons = 0

Réimplémentée dans ext_posMap_tt_content, et ext_posMap.

t3lib_positionMap::$backPath = ''

t3lib_positionMap::$depth = 2

t3lib_positionMap::$cur_sys_language

t3lib_positionMap::$R_URI = ''

t3lib_positionMap::$elUid = ''

t3lib_positionMap::$moveUid = ''

t3lib_positionMap::$getModConfigCache = array()

t3lib_positionMap::$checkNewPageCache = Array()

t3lib_positionMap::$l_insertNewPageHere = 'insertNewPageHere'

Réimplémentée dans ext_posMap_pages.

t3lib_positionMap::$l_insertNewRecordHere = 'insertNewRecordHere'

Réimplémentée dans ext_posMap.

t3lib_positionMap::$modConfigStr = 'mod.web_list.newPageWiz'


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:42:27 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3