SC_db_layout Class Reference

List of all members.

Public Member Functions

 init ()
 menuConfig ()
 clearCache ()
 main ()
 renderQuickEdit ()
 renderListContent ()
 printContent ()
 getNumberOfHiddenElements ()
 local_linkThisScript ($params)
 exec_languageQuery ($id)

Public Attributes

 $id
 $pointer
 $imagemode
 $search_field
 $search_levels
 $showLimit
 $returnUrl
 $clear_cache
 $popView
 $edit_record
 $new_unique_uid
 $perms_clause
 $modTSconfig
 $pageinfo
 $doc
 $backPath
 $descrTable
 $colPosList
 $EDIT_CONTENT
 $CALC_PERMS
 $current_sys_language
 $MCONF = array()
 $MOD_MENU = array()
 $MOD_SETTINGS = array()
 $include_once = array()
 $content
 $topFuncMenu
 $editIcon

Detailed Description

Definition at line 181 of file db_layout.php.


Member Function Documentation

SC_db_layout::clearCache  ) 
 

Clears page cache for the current id, $this->id

Returns:
void

Definition at line 365 of file db_layout.php.

References t3lib_div::makeInstance().

SC_db_layout::exec_languageQuery id  ) 
 

Returns a SQL query for selecting sys_language records.

Parameters:
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)
Returns:
string Return query string.

Definition at line 1197 of file db_layout.php.

References $GLOBALS.

Referenced by menuConfig().

SC_db_layout::getNumberOfHiddenElements  ) 
 

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

Returns:
void

Definition at line 1172 of file db_layout.php.

References $GLOBALS.

Referenced by renderListContent(), and renderQuickEdit().

SC_db_layout::init  ) 
 

Initializing the module

Returns:
void

Definition at line 230 of file db_layout.php.

References $GLOBALS, t3lib_div::_GP(), menuConfig(), and t3lib_BEfunc::readPageAccess().

SC_db_layout::local_linkThisScript params  ) 
 

Returns URL to the current script. In particular the "popView" and "new_unique_uid" Get vars are unset.

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

Definition at line 1185 of file db_layout.php.

References t3lib_div::linkThisScript().

Referenced by renderQuickEdit().

SC_db_layout::main  ) 
 

Main function. Creates some general objects and calls other functions for the main rendering of module content.

Returns:
void

Definition at line 380 of file db_layout.php.

References $BACK_PATH, $LANG, a, t3lib_BEfunc::BEgetRootLine(), t3lib_BEfunc::cshItem(), t3lib_BEfunc::getFuncMenu(), t3lib_BEfunc::getModTSconfig(), height, img, t3lib_div::intExplode(), t3lib_div::makeInstance(), onclick, pages, renderListContent(), renderQuickEdit(), table, and t3lib_BEfunc::viewOnClick().

SC_db_layout::menuConfig  ) 
 

Initialize menu array

Returns:
void

Definition at line 283 of file db_layout.php.

References $GLOBALS, $LANG, $res, $TYPO3_CONF_VARS, t3lib_div::_GP(), exec_languageQuery(), t3lib_BEfunc::getModTSconfig(), t3lib_BEfunc::getModuleData(), t3lib_div::inList(), and t3lib_BEfunc::unsetMenuItems().

Referenced by init().

SC_db_layout::printContent  ) 
 

Print accumulated content of module

Returns:
void

Definition at line 1145 of file db_layout.php.

SC_db_layout::renderListContent  ) 
 

Rendering all other listings than QuickEdit

Returns:
void

Definition at line 866 of file db_layout.php.

References $BACK_PATH, $GLOBALS, $LANG, $table, $TCA, a, t3lib_BEfunc::cshItem(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFuncCheck(), t3lib_BEfunc::getFuncMenu(), getNumberOfHiddenElements(), height, img, t3lib_div::intExplode(), t3lib_div::intInRange(), t3lib_div::loadTCA(), t3lib_div::makeInstance(), margin, nowrap, onclick, pages, table, and td.

Referenced by main().

SC_db_layout::renderQuickEdit  ) 
 

Rendering the quick-edit view.

Returns:
void

Definition at line 481 of file db_layout.php.

References $BACK_PATH, $content, $edit_record, $GLOBALS, $LANG, $new_unique_uid, $res, t3lib_div::_GET(), a, t3lib_BEfunc::BEenableFields(), colspan, t3lib_BEfunc::cshItem(), t3lib_BEfunc::deleteClause(), enctype, exit, t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFuncCheck(), t3lib_div::getIndpEnv(), t3lib_BEfunc::getLabelFromItemlist(), getNumberOfHiddenElements(), t3lib_BEfunc::getRecordsByField(), height, img, t3lib_div::implodeArrayForUrl(), input, t3lib_extMgm::isLoaded(), t3lib_BEfunc::isRecordLocked(), local_linkThisScript(), t3lib_div::locationHeaderUrl(), t3lib_div::makeInstance(), margin, onclick, onsubmit, pages, select, selected, table, td, t3lib_div::testInt(), and value.

Referenced by main().


Member Data Documentation

SC_db_layout::$backPath
 

Definition at line 203 of file db_layout.php.

SC_db_layout::$CALC_PERMS
 

Definition at line 208 of file db_layout.php.

SC_db_layout::$clear_cache
 

Definition at line 193 of file db_layout.php.

SC_db_layout::$colPosList
 

Definition at line 206 of file db_layout.php.

SC_db_layout::$content
 

Definition at line 217 of file db_layout.php.

Referenced by renderQuickEdit().

SC_db_layout::$current_sys_language
 

Definition at line 209 of file db_layout.php.

SC_db_layout::$descrTable
 

Definition at line 205 of file db_layout.php.

SC_db_layout::$doc
 

Definition at line 202 of file db_layout.php.

SC_db_layout::$EDIT_CONTENT
 

Definition at line 207 of file db_layout.php.

SC_db_layout::$edit_record
 

Definition at line 195 of file db_layout.php.

Referenced by renderQuickEdit().

SC_db_layout::$editIcon
 

Definition at line 219 of file db_layout.php.

SC_db_layout::$id
 

Definition at line 184 of file db_layout.php.

SC_db_layout::$imagemode
 

Definition at line 186 of file db_layout.php.

SC_db_layout::$include_once = array()
 

Definition at line 214 of file db_layout.php.

SC_db_layout::$MCONF = array()
 

Definition at line 211 of file db_layout.php.

SC_db_layout::$MOD_MENU = array()
 

Definition at line 212 of file db_layout.php.

SC_db_layout::$MOD_SETTINGS = array()
 

Definition at line 213 of file db_layout.php.

SC_db_layout::$modTSconfig
 

Definition at line 200 of file db_layout.php.

SC_db_layout::$new_unique_uid
 

Definition at line 196 of file db_layout.php.

Referenced by renderQuickEdit().

SC_db_layout::$pageinfo
 

Definition at line 201 of file db_layout.php.

SC_db_layout::$perms_clause
 

Definition at line 199 of file db_layout.php.

SC_db_layout::$pointer
 

Definition at line 185 of file db_layout.php.

SC_db_layout::$popView
 

Definition at line 194 of file db_layout.php.

SC_db_layout::$returnUrl
 

Definition at line 191 of file db_layout.php.

SC_db_layout::$search_field
 

Definition at line 188 of file db_layout.php.

SC_db_layout::$search_levels
 

Definition at line 189 of file db_layout.php.

SC_db_layout::$showLimit
 

Definition at line 190 of file db_layout.php.

SC_db_layout::$topFuncMenu
 

Definition at line 218 of file db_layout.php.


The documentation for this class was generated from the following file:
Generated on Wed Aug 10 07:57:15 2005 for TYPO3 3.8.0 by  doxygen 1.4.3-20050530