SC_db_new Klassenreferenz
Aufstellung aller Elemente
Öffentliche Methoden |
| | init () |
| | main () |
| | pagesOnly () |
| | regularNew () |
| | printContent () |
| | linkWrap ($code, $table, $pid, $addContentTable=0) |
| | isTableAllowedForThisPage ($pid_row, $checkTable) |
| | showNewRecLink ($table, array $allowedNewTables=array(), array $deniedNewTables=array()) |
Öffentliche Attribute |
|
| $pageinfo |
|
| $pidInfo |
|
| $newPagesInto |
|
| $newContentInto |
|
| $newPagesAfter |
|
| $web_list_modTSconfig |
|
| $allowedNewTables |
|
| $deniedNewTables |
|
| $web_list_modTSconfig_pid |
|
| $allowedNewTables_pid |
|
| $deniedNewTables_pid |
|
| $code |
|
| $R_URI |
|
| $id |
|
| $returnUrl |
|
| $pagesOnly |
|
| $perms_clause |
|
| $doc |
|
| $content |
Geschützte Methoden |
| | getButtons () |
Dokumentation der Elementfunktionen
| SC_db_new::getButtons |
( |
|
) |
[protected] |
Create the panel of buttons for submitting the form or otherwise perform operations.
- Rückgabe:
- array all available buttons as an assoc. array
Constructor function for the class
- Rückgabe:
- void
| SC_db_new::isTableAllowedForThisPage |
( |
$ |
pid_row, |
|
|
$ |
checkTable | |
|
) |
| | |
Returns true if the tablename $checkTable is allowed to be created on the page with record $pid_row
- Parameter:
-
| array | Record for parent page. |
| string | Table name to check |
- Rückgabe:
- boolean Returns true if the tablename $checkTable is allowed to be created on the page with record $pid_row
| SC_db_new::linkWrap |
( |
$ |
code, |
|
|
$ |
table, |
|
|
$ |
pid, |
|
|
$ |
addContentTable = 0 | |
|
) |
| | |
Links the string $code to a create-new form for a record in $table created on page $pid
- Parameter:
-
| string | Link string |
| string | Table name (in which to create new record) |
| integer | PID value for the "&edit['.$table.']['.$pid.']=new" command (positive/negative) |
| boolean | If $addContentTable is set, then a new contentTable record is created together with pages |
- Rückgabe:
- string The link.
Main processing, creating the list of new record tables to select from
- Rückgabe:
- void
Creates the position map for pages wizard
- Rückgabe:
- void
| SC_db_new::printContent |
( |
|
) |
|
Ending page output and echo'ing content to browser.
- Rückgabe:
- void
| SC_db_new::regularNew |
( |
|
) |
|
Create a regular new element (pages and records)
- Rückgabe:
- void
| SC_db_new::showNewRecLink |
( |
$ |
table, |
|
|
array $ |
allowedNewTables = array(), |
|
|
array $ |
deniedNewTables = array() | |
|
) |
| | |
Returns true if:
- $allowedNewTables and $deniedNewTables are empty
- the table is not found in $deniedNewTables and $allowedNewTables is not set or the $table tablename is found in $allowedNewTables
If $table tablename is found in $allowedNewTables and $deniedNewTables, $deniedNewTables has priority over $allowedNewTables.
- Parameter:
-
| string | Table name to test if in allowedTables |
| array | Array of new tables that are allowed. |
| array | Array of new tables that are not allowed. |
- Rückgabe:
- boolean Returns true if a link for creating new records should be displayed for $table
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /srv/www/vhosts/typo3.local/typo3_src-4.2.10/typo3/db_new.php