Documentation TYPO3 par Ameos |
Public Member Functions | |
init () | |
menuConfig () | |
main () | |
printContent () | |
main () | |
printContent () | |
exportData ($inData) | |
exec_listQueryPid ($table, $pid) | |
makeConfigurationForm ($inData) | |
importData ($inData) | |
tableSelector ($prefix, $value, $excludeList='') | |
renderSelectBox ($prefix, $value, $optValues) | |
userTempFolder () | |
Public Attributes | |
$MCONF = array() | |
$MOD_MENU = array() | |
$MOD_SETTINGS = array() | |
$doc | |
$content | |
$lF | |
$be_user_Array | |
$pageinfo |
Definition at line 52 of file index.php.
|
[Describe function...]
Definition at line 536 of file index.php. References t3lib_BEfunc::deleteClause(). Referenced by exportData(). |
|
Definition at line 383 of file index.php. References exec_listQueryPid(), t3lib_BEfunc::getRecord(), t3lib_div::makeInstance(), and t3lib_div::trimExplode(). Referenced by main(). |
|
Definition at line 641 of file index.php. References t3lib_div::getFileAbsFileName(), t3lib_div::getFilesInDir(), t3lib_BEfunc::getSetUpdateSignal(), t3lib_div::makeInstance(), and t3lib_BEfunc::readPageAccess(). Referenced by main(). |
|
Initializes the backend module by setting internal variables, initializing the menu.
Reimplemented from t3lib_SCbase. Definition at line 62 of file index.php. References t3lib_BEfunc::getUserNames(), t3lib_div::makeInstance(), and menuConfig(). |
|
Incoming array has syntax: GETvar 'id' = import page id (must be readable) file = (pointing to filename relative to PATH_site) [all relation fields are clear, but not files]
EXPORTING DATA: Incoming array has syntax: record[]=table:uid,,,, FUTURE: list[]=table,,,,:pid,,, pagetree[id] = (single id) pagetree[levels]=1,2,3, -1=currently unpacked tree. pagetree[tables][]=table/_ALL external_ref[tables][]=table/_ALL EXAMPLE for using the impexp-class for exporting stuff: Create and initialize: $this->export = t3lib_div::makeInstance('tx_impexp'); $this->export->init(); Set which tables relations we will allow: $this->export->relExclTables[]='tt_news'; // excludes $this->export->relOnlyTables[]="tt_news"; // exclusively includes. See comment in the class Adding records: $this->export->export_addRecord("pages",$this->pageinfo); $this->export->export_addRecord("pages",t3lib_BEfunc::getRecord("pages",38)); $this->export->export_addRecord("pages",t3lib_BEfunc::getRecord("pages",39)); $this->export->export_addRecord("tt_content",t3lib_BEfunc::getRecord("tt_content",12)); $this->export->export_addRecord("tt_content",t3lib_BEfunc::getRecord("tt_content",74)); $this->export->export_addRecord("sys_template",t3lib_BEfunc::getRecord("sys_template",20)); Adding all the relations (recursively so relations has THEIR relations registered as well) for($a=0;$a<5;$a++) { $addR = $this->export->export_addDBRelations($a); if (!count($addR)) break; # debug("ADDED: ".count($addR),1); } Finally load all the files. $this->export->export_addFilesFromRelations(); // MUST be after the DBrelations are set so that file from ALL added records are included! Not the internal DAT array is ready to export: debug($this->export->dat); Write export $out = $this->export->compileMemoryToFileContent(); t3lib_div::writeFile(PATH_site."fileadmin/relations.trd",$out); debug(strlen($out)); Definition at line 234 of file index.php. References t3lib_div::_GP(), t3lib_SCbase::checkExtObj(), exportData(), importData(), and t3lib_div::makeInstance(). |
|
[Describe function...]
Definition at line 548 of file index.php. References t3lib_BEfunc::getRecord(), and t3lib_div::trimExplode(). |
|
Initializes the internal MOD_MENU array setting and unsetting items based on various conditions. It also merges in external menu items from the global array TBE_MODULES_EXT (see mergeExternalItems()) Then MOD_SETTINGS array is cleaned up (see t3lib_BEfunc::getModuleData()) so it contains only valid values. It's also updated with any SET[] values submitted. Also loads the modTSconfig internal variable.
Reimplemented from t3lib_SCbase. Definition at line 95 of file index.php. References t3lib_div::_GP(), t3lib_BEfunc::getGroupNames(), and t3lib_BEfunc::getModuleData(). Referenced by init(). |
|
[Describe function...]
|
|
Makes a selector-box from optValues
|
|
Returns a selector-box with tables
Definition at line 775 of file index.php. References t3lib_div::inList(). |
|
Returns first temporary folder of the user account (from $FILEMOUNTS)
|
|
Generally used for accumulating the output content of backend modules Reimplemented from t3lib_SCbase. |
|
Generally used to hold an instance of the 'template' class from typo3/template.php Reimplemented from t3lib_SCbase. |
|
Loaded with the global array $MCONF which holds some module configuration from the conf.php file of backend modules.
Reimplemented from t3lib_SCbase. |
|
The module menu items array. Each key represents a key for which values can range between the items in the array of that key.
Reimplemented from t3lib_SCbase. |
|
Current settings for the keys of the MOD_MENU array
Reimplemented from t3lib_SCbase. |