"TYPO3 4.0.1: tx_cms_layout Class Reference", "datetime" => "Sat Dec 2 19:27:01 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
Public Member Functions | |
getTable ($table, $id) | |
getTable_pages ($id) | |
getTable_tt_content ($id) | |
getTable_fe_users ($id) | |
getTable_sys_note ($id) | |
getTable_tt_board ($id) | |
getTable_tt_address ($id) | |
getTable_tt_links ($id) | |
getTable_tt_guest ($id) | |
getTable_tt_news ($id) | |
getTable_tt_calender ($id) | |
getTable_tt_products ($id) | |
makeOrdinaryList ($table, $id, $fList, $icon=0, $addWhere='') | |
dataFields ($fieldArr, $table, $row, $out=array()) | |
headerFields ($fieldArr, $table, $out=array()) | |
pages_getTree ($theRows, $pid, $qWhere, $treeIcons, $depth) | |
pages_drawItem ($row, $fieldArr) | |
tt_content_drawColHeader ($colName, $editParams, $newParams) | |
tt_content_drawHeader ($row, $space=0, $disableMoveAndNewButtons=FALSE, $langMode=FALSE) | |
tt_content_drawItem ($row, $isRTE=FALSE) | |
getNonTranslatedTTcontentUids ($defLanguageCount, $id, $lP) | |
newLanguageButton ($defLanguageCount, $lP) | |
infoGif ($infoArr) | |
newContentElementOnClick ($id, $colPos, $sys_language) | |
linkEditContent ($str, $row) | |
linkRTEbutton ($row) | |
languageSelector ($id) | |
getResult ($result) | |
tt_board_getTree ($theRows, $parent, $pid, $qWhere, $treeIcons) | |
tt_board_drawItem ($table, $row, $re) | |
numberOfRecords ($table, $pid) | |
renderText ($input) | |
getIcon ($table, $row) | |
getProcessedValue ($table, $fieldList, $row, &$info) | |
isDisabled ($table, $row) | |
wordWrapper ($content, $max=50, $char='-') | |
noEditIcon ($label='noEditItems') | |
cleanTableNames () | |
isRTEforField ($table, $row, $field) | |
getSpecConfForField ($table, $row, $field) | |
getPageInfoBox ($rec, $edit=0) | |
getTableMenu ($id) | |
strip_tags ($content, $fillEmptyContent=false) | |
Public Attributes | |
$stat_select_field = 'page_id' | |
$stat_codes = array() | |
$pI_showUser = 0 | |
$pI_showStat = 1 | |
$nextThree = 3 | |
$pages_noEditColumns = 0 | |
$option_showBigButtons = 1 | |
$option_newWizard = 1 | |
$ext_function = 0 | |
$doEdit = 1 | |
$agePrefixes = ' min| hrs| days| yrs' | |
$externalTables = array() | |
$descrTable | |
$defLangBinding = FALSE | |
$tt_contentConfig | |
$allowedTableNames = array() | |
$activeTables = array() | |
$tt_contentData | |
$CType_labels = array() | |
$itemLabels = array() |
Definition at line 115 of file class.tx_cms_layout.php.
|
Function, which fills in the internal array, $this->allowedTableNames with all tables to which the user has access. Also a set of standard tables (pages, static_template, sys_filemounts, etc...) are filtered out. So what is left is basically all tables which makes sense to list content from.
Definition at line 2238 of file class.tx_cms_layout.php. Referenced by getTable_pages(). |
|
Adds content to all data fields in $out array
Definition at line 1224 of file class.tx_cms_layout.php. References recordList::$table, t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getProcessedValue(), isDisabled(), t3lib_div::loadTCA(), and recordList::thumbCode(). Referenced by makeOrdinaryList(). |
|
Creates the icon image tag for record from table and wraps it in a link which will trigger the click menu.
Definition at line 2151 of file class.tx_cms_layout.php. References t3lib_iconWorks::getIconImage(), and t3lib_BEfunc::getRecordIconAltText(). Referenced by getTable_sys_note(), makeOrdinaryList(), pages_drawItem(), and tt_content_drawHeader(). |
|
Filters out all tt_content uids which are already translated so only non-translated uids is left. Selects across columns, but within in the same PID. Columns are expect to be the same for translations and original but this may be a conceptual error (?)
Definition at line 1806 of file class.tx_cms_layout.php. References recordList::$id, getResult(), and recordList::makeQueryArray(). Referenced by getTable_tt_content(). |
|
Creates an info-box for the current page (identified by input record).
Definition at line 2341 of file class.tx_cms_layout.php. References t3lib_BEfunc::blindUserNames(), t3lib_BEfunc::calcAge(), t3lib_BEfunc::datetime(), t3lib_iconWorks::getIconImage(), and t3lib_BEfunc::getUserNames(). |
|
Creates processed values for all fieldnames in $fieldList based on values from $row array. The result is 'returned' through $info which is passed as a reference
Definition at line 2174 of file class.tx_cms_layout.php. References t3lib_BEfunc::getProcessedValue(). Referenced by getTable_sys_note(), tt_content_drawHeader(), and tt_content_drawItem(). |
|
Traverse the result pointer given, adding each record to array and setting some internal values at the same time.
Definition at line 1967 of file class.tx_cms_layout.php. Referenced by getNonTranslatedTTcontentUids(), and getTable_tt_content(). |
|
Returns "special" configuration from the "types" configuration in TCA for the record given by tablename/fieldname. Used by isRTEforField() in the process of finding whether a field has RTE enabled or not.
Definition at line 2304 of file class.tx_cms_layout.php. References t3lib_BEfunc::getTCAtypes(). |
|
Adds the code of a single table
Definition at line 180 of file class.tx_cms_layout.php. References recordList::$id, recordList::$table, getTable_fe_users(), getTable_pages(), getTable_sys_note(), getTable_tt_address(), getTable_tt_board(), getTable_tt_calender(), getTable_tt_content(), getTable_tt_guest(), getTable_tt_links(), getTable_tt_news(), getTable_tt_products(), t3lib_div::loadTCA(), and makeOrdinaryList(). |
|
Renders Frontend Users from the fe_users table from page id
Definition at line 754 of file class.tx_cms_layout.php. References recordList::$id, and makeOrdinaryList(). Referenced by getTable(). |
|
Renders records from the pages table from page id (Used to get information about the page tree content by "Web>Info"!)
Definition at line 240 of file class.tx_cms_layout.php. References recordList::$id, cleanTableNames(), t3lib_BEfunc::cshItem(), t3lib_BEfunc::deleteClause(), t3lib_recordList::fwd_rwd_nav(), t3lib_BEfunc::getItemLabel(), pages_drawItem(), pages_getTree(), t3lib_BEfunc::versioningPlaceholderClause(), and t3lib_BEfunc::workspaceOL(). Referenced by getTable(). |
|
Renders records from the sys_notes table from page id NOTICE: Requires the sys_note extension to be loaded.
Definition at line 780 of file class.tx_cms_layout.php. References recordList::$id, recordList::$perms_clause, t3lib_BEfunc::deleteClause(), t3lib_recordList::fwd_rwd_nav(), getIcon(), getProcessedValue(), recordList::getTreeObject(), t3lib_extMgm::isLoaded(), and t3lib_BEfunc::workspaceOL(). Referenced by getTable(). |
|
Renders address records from the tt_address table from page id NOTICE: Requires the tt_address extension to be loaded.
Definition at line 955 of file class.tx_cms_layout.php. References recordList::$id, and makeOrdinaryList(). Referenced by getTable(). |
|
Renders records from the tt_board table from page id NOTICE: Requires the tt_board extension to be loaded.
Definition at line 873 of file class.tx_cms_layout.php. References recordList::$id, t3lib_BEfunc::deleteClause(), t3lib_recordList::fwd_rwd_nav(), recordList::makeQueryArray(), recordList::setTotalItems(), tt_board_drawItem(), tt_board_getTree(), and t3lib_BEfunc::workspaceOL(). Referenced by getTable(). |
|
Renders calender elements link records from the tt_calender table from page id NOTICE: Requires the tt_calender extension to be loaded.
Definition at line 1047 of file class.tx_cms_layout.php. References recordList::$id, and makeOrdinaryList(). Referenced by getTable(). |
|
Renders Content Elements from the tt_content table from page id
Definition at line 378 of file class.tx_cms_layout.php. References t3lib_recordList::$counter, $defLangBinding, recordList::$id, t3lib_BEfunc::BEenableFields(), t3lib_BEfunc::cshItem(), t3lib_BEfunc::editOnClick(), t3lib_div::fixed_lgd_cs(), t3lib_iconWorks::getIconImage(), t3lib_div::getIndpEnv(), getNonTranslatedTTcontentUids(), t3lib_BEfunc::getProcessedValue(), t3lib_BEfunc::getRecordsByField(), t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::getRecordWSOL(), getResult(), t3lib_recordList::initializeLanguages(), isRTEforField(), languageSelector(), recordList::makeQueryArray(), newContentElementOnClick(), tt_content_drawColHeader(), tt_content_drawHeader(), tt_content_drawItem(), and t3lib_BEfunc::workspaceOL(). Referenced by getTable(). |
|
Renders link records from the tt_links table from page id NOTICE: Requires the tt_links extension to be loaded.
Definition at line 1011 of file class.tx_cms_layout.php. References recordList::$id, and makeOrdinaryList(). Referenced by getTable(). |
|
Renders link records from the tt_links table from page id NOTICE: Requires the tt_links extension to be loaded.
Definition at line 985 of file class.tx_cms_layout.php. References recordList::$id, and makeOrdinaryList(). Referenced by getTable(). |
|
Renders news items from the tt_news table from page id NOTICE: Requires the tt_news extension to be loaded.
Definition at line 1026 of file class.tx_cms_layout.php. References recordList::$id, and makeOrdinaryList(). Referenced by getTable(). |
|
Renders shopping elements from the tt_products table from page id NOTICE: Requires the tt_products extension to be loaded.
Definition at line 1097 of file class.tx_cms_layout.php. References recordList::$id, and makeOrdinaryList(). Referenced by getTable(). |
|
Creates a menu of the tables that can be listed by this function Only tables which has records on the page will be included. Notice: The function also fills in the internal variable $this->activeTables with icon/titles.
Definition at line 2510 of file class.tx_cms_layout.php. References t3lib_BEfunc::deleteClause(), t3lib_iconWorks::getIconImage(), t3lib_div::inList(), t3lib_extMgm::isLoaded(), and t3lib_BEfunc::versioningPlaceholderClause(). |
|
Header fields made for the listing of records
Definition at line 1275 of file class.tx_cms_layout.php. References recordList::$table, and t3lib_div::loadTCA(). Referenced by makeOrdinaryList(). |
|
Returns an icon, which has its title attribute set to a massive amount of information about the element.
Definition at line 1857 of file class.tx_cms_layout.php. Referenced by tt_content_drawItem(). |
|
Returns true, if the record given as parameters is NOT visible based on hidden/starttime/endtime (if available)
Definition at line 2194 of file class.tx_cms_layout.php. Referenced by dataFields(), and tt_content_drawItem(). |
|
Checking if the RTE is available/enabled for a certain table/field and if so, it returns true. Used to determine if the RTE button should be displayed.
Definition at line 2274 of file class.tx_cms_layout.php. References t3lib_BEfunc::fixVersioningPid(), t3lib_BEfunc::getPagesTSconfig(), t3lib_BEfunc::getSpecConfParametersFromArray(), t3lib_BEfunc::getTCAtypeValue(), t3lib_BEfunc::getTSCpid(), and t3lib_BEfunc::RTEsetup(). Referenced by getTable_tt_content(). |
|
Make selector box for creating new translation in a language Displays only languages which are not yet present for the current page.
Definition at line 1930 of file class.tx_cms_layout.php. References recordList::$id, and t3lib_div::getIndpEnv(). Referenced by getTable_tt_content(). |
|
Will create a link on the input string and possible a big button after the string which links to editing in the RTE Used for content element content displayed so the user can click the content / "Edit in Rich Text Editor" button
Definition at line 1891 of file class.tx_cms_layout.php. References t3lib_BEfunc::editOnClick(). Referenced by tt_content_drawItem(). |
|
Adds a button to edit the row in RTE wizard
Definition at line 1909 of file class.tx_cms_layout.php. References t3lib_div::implodeArrayForUrl(), and t3lib_div::linkThisScript(). Referenced by tt_content_drawItem(). |
|
Creates a standard list of elements from a table.
Definition at line 1143 of file class.tx_cms_layout.php. References recordList::$id, recordList::$table, dataFields(), t3lib_recordList::fwd_rwd_nav(), getIcon(), headerFields(), recordList::makeQueryArray(), noEditIcon(), recordList::setTotalItems(), and t3lib_BEfunc::workspaceOL(). Referenced by getTable(), getTable_fe_users(), getTable_tt_address(), getTable_tt_calender(), getTable_tt_guest(), getTable_tt_links(), getTable_tt_news(), and getTable_tt_products(). |
|
Creates onclick-attribute content for a new content element
Definition at line 1873 of file class.tx_cms_layout.php. References recordList::$id, t3lib_BEfunc::editOnClick(), and t3lib_div::getIndpEnv(). Referenced by getTable_tt_content(). |
|
Creates button which is used to create copies of records..
Definition at line 1836 of file class.tx_cms_layout.php. |
|
Returns icon for "no-edit" of a record. Basically, the point is to signal that this record could have had an edit link if the circumstances were right. A placeholder for the regular edit icon...
Definition at line 2229 of file class.tx_cms_layout.php. Referenced by makeOrdinaryList(). |
|
Counts and returns the number of records on the page with $pid
Definition at line 2118 of file class.tx_cms_layout.php. References t3lib_BEfunc::deleteClause(), and t3lib_BEfunc::versioningPlaceholderClause(). Referenced by pages_drawItem(). |
|
Adds a list item for the pages-rendering
Definition at line 1350 of file class.tx_cms_layout.php. References getIcon(), t3lib_BEfunc::getProcessedValue(), t3lib_extMgm::isLoaded(), and numberOfRecords(). Referenced by getTable_pages(). |
|
Adds pages-rows to an array, selecting recursively in the page tree.
Definition at line 1317 of file class.tx_cms_layout.php. References t3lib_BEfunc::workspaceOL(). Referenced by getTable_pages(). |
|
Processing of larger amounts of text (usually from RTE/bodytext fields) with word wrapping etc.
Definition at line 2137 of file class.tx_cms_layout.php. References t3lib_div::fixed_lgd_cs(). Referenced by tt_content_drawItem(). |
|
Enhancement for the strip_tags function that provides the feature to fill in empty tags. Example <link email@hostname.com></link> is accepted by TYPO3 but would not displayed in the Backend otherwise.
Definition at line 2575 of file class.tx_cms_layout.php. |
|
Adds an element to the tt_board listing:
Definition at line 2071 of file class.tx_cms_layout.php. References t3lib_BEfunc::calcAge(), t3lib_BEfunc::datetime(), and t3lib_div::fixed_lgd_cs(). Referenced by getTable_tt_board(). |
|
Traverses recursively a branch in a message board.
Definition at line 2036 of file class.tx_cms_layout.php. References t3lib_iconWorks::skinImg(). Referenced by getTable_tt_board(). |
|
Draw header for a content element column:
Definition at line 1461 of file class.tx_cms_layout.php. Referenced by getTable_tt_content(). |
|
Draw the header for a single tt_content element
Definition at line 1513 of file class.tx_cms_layout.php. References t3lib_BEfunc::editOnClick(), getIcon(), t3lib_div::getIndpEnv(), getProcessedValue(), t3lib_BEfunc::isRecordLocked(), t3lib_recordList::languageFlag(), and t3lib_div::loadTCA(). Referenced by getTable_tt_content(). |
|
Draws the preview content for a content element
Definition at line 1643 of file class.tx_cms_layout.php. References t3lib_BEfunc::date(), t3lib_BEfunc::getItemLabel(), t3lib_BEfunc::getLabelFromItemlist(), getProcessedValue(), infoGif(), isDisabled(), linkEditContent(), linkRTEbutton(), renderText(), and recordList::thumbCode(). Referenced by getTable_tt_content(). |
|
Will perform "word-wrapping" on the input string. What it does is to split by space or linebreak, then find any word longer than $max and if found, a hyphen is inserted. Works well on normal texts, little less well when HTML is involved (since much HTML will have long strings that will be broken).
Definition at line 2212 of file class.tx_cms_layout.php. |
|
Initial value: Array ( 'showInfo' => 1, // Boolean: Display info-marks or not 'showCommands' => 1, // Boolean: Display up/down arrows and edit icons for tt_content records 'showCommands_info' => 1, // Boolean: Displays infoGif with the command buttons 'single' => 1, // Boolean: If set, the content of column(s) $this->tt_contentConfig['showSingleCol'] is shown in the total width of the page 'showSingleCol' => 0, // The column(s) to show if single mode (under each other) 'languageCols' => 0, 'languageMode' => 0, 'languageColsPointer' => 0, 'showHidden' => 1, // Displays hidden records as well 'sys_language_uid' => 0, // Which language 'cols' => '1,0,2,3' // The order of the rows: Default is left(1), Normal(0), right(2), margin(3) ) Definition at line 136 of file class.tx_cms_layout.php. |
|
Initial value: Array( 'nextThree' => Array(), 'prev' => Array(), 'next' => Array() ) Definition at line 153 of file class.tx_cms_layout.php. |