[ Index ]
 

Code source de Typo3 4.1.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/typo3/sysext/cms/layout/ -> db_layout.php (sommaire)

Module: Web>Page This module lets you view a page in a more Content Management like style than the ordinary record-list

Author: Kasper Skaarhoj <kasperYYYY@typo3.com>
Poids: 1265 lignes (54 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 typo3/sysext/cms/layout/class.tx_cms_layout.php
 typo3/sysext/cms/layout/conf.php

Définit 2 classes

ext_posMap:: (4 méthodes):
  wrapRecordTitle()
  wrapColumnHeader()
  onClickInsertRecord()
  wrapRecordHeader()

SC_db_layout:: (12 méthodes):
  init()
  menuConfig()
  clearCache()
  main()
  jumpToUrl()
  deleteRecord()
  renderQuickEdit()
  renderListContent()
  printContent()
  getNumberOfHiddenElements()
  local_linkThisScript()
  exec_languageQuery()


Classe: ext_posMap  - X-Ref

Local extension of position map class

wrapRecordTitle($str,$row)   X-Ref
Wrapping the title of the record.

param: string        The title value.
param: array        The record row.
return: string        Wrapped title string.

wrapColumnHeader($str,$vv)   X-Ref
Wrapping the column header

param: string        Header value
param: string        Column info.
return: string

onClickInsertRecord($row,$vv,$moveUid,$pid)   X-Ref
Create on-click event value.

param: array        The record.
param: string        Column position value.
param: integer        Move uid
param: integer        PID value.
return: string

wrapRecordHeader($str,$row)   X-Ref
Wrapping the record header  (from getRecordHeader())

param: string        HTML content
param: array        Record array.
return: string        HTML content

Classe: SC_db_layout  - X-Ref

Script Class for Web > Layout module

init()   X-Ref
Initializing the module

return: void

menuConfig()   X-Ref
Initialize menu array

return: void

clearCache()   X-Ref
Clears page cache for the current id, $this->id

return: void

main()   X-Ref
Main function.
Creates some general objects and calls other functions for the main rendering of module content.

return: void

jumpToUrl(URL,formEl)   X-Ref
Pas de description

deleteRecord(table,id,url)   X-Ref
Pas de description

renderQuickEdit()   X-Ref
Rendering the quick-edit view.

return: void

renderListContent()   X-Ref
Rendering all other listings than QuickEdit

return: void

printContent()   X-Ref
Print accumulated content of module

return: void

getNumberOfHiddenElements()   X-Ref
Returns the number of hidden elements (including those hidden by start/end times) on the current page (for the current sys_language)

return: void

local_linkThisScript($params)   X-Ref
Returns URL to the current script.
In particular the "popView" and "new_unique_uid" Get vars are unset.

param: array        Parameters array, merged with global GET vars.
return: string        URL

exec_languageQuery($id)   X-Ref
Returns a SQL query for selecting sys_language records.

param: integer        Page id: If zero, the query will select all sys_language records from root level which are NOT hidden. If set to another value, the query will select all sys_language records that has a pages_language_overlay record on that page (and is not hidden, unless you are admin user)
return: string        Return query string.



Généré le : Sun Nov 25 17:13:16 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics