Index: class.tx_templavoila_access.php =================================================================== --- class.tx_templavoila_access.php (revision 29992) +++ class.tx_templavoila_access.php (working copy) @@ -29,37 +29,37 @@ * * @author Dmitry Dulepov */ -/** - * [CLASS/FUNCTION INDEX of SCRIPT] +/** + * [CLASS/FUNCTION INDEX of SCRIPT] + * * * - * * 55: class tx_templavoila_access * 64: function recordEditAccessInternals($params, $ref) - * 93: function checkObjectAccess($table, $uid, $be_user) - * - * TOTAL FUNCTIONS: 2 - * (This index is automatically created/updated by the extension "extdeveval") - * + * 108: function checkObjectAccess($table, $uid, $be_user) + * + * TOTAL FUNCTIONS: 2 + * (This index is automatically created/updated by the extension "extdeveval") + * */ require_once(PATH_typo3.'sysext/lang/lang.php'); -/** +/** * Class being included by UserAuthGroup using a hook * * @author Dmitry Dulepov * @package TYPO3 - * @subpackage templavoila + * @subpackage templavoila */ class tx_templavoila_access { - /** + /** * Checks if user is allowed to modify FCE. * * @param array $params Parameters * @param object $ref Parent object - * @return boolean true if change is allowed + * @return boolean true if change is allowed */ function recordEditAccessInternals($params, $ref) { if ($params['table'] == 'tt_content' && is_array($params['idOrRow']) && $params['idOrRow']['CType'] == 'templavoila_pi1') { @@ -97,13 +97,13 @@ return true; } - /** + /** * Checks user's access to given database object * * @param string $table Table name * @param int $uid UID of the record * @param object $be_user BE user object - * @return boolean true if access is allowed + * @return boolean true if access is allowed */ function checkObjectAccess($table, $uid, $be_user) { if (!$be_user) { Index: class.tx_templavoila_api.php =================================================================== --- class.tx_templavoila_api.php (revision 29992) +++ class.tx_templavoila_api.php (working copy) @@ -33,67 +33,69 @@ * * * - * 111: class tx_templavoila_api - * 124: function __construct ($rootTable = 'pages') - * 134: function tx_templavoila_api ($alternativeRootTable = 'pages') + * 113: class tx_templavoila_api + * 127: function __construct ($rootTable = 'pages') + * 137: function tx_templavoila_api ($alternativeRootTable = 'pages') * * SECTION: Element manipulation functions (public) - * 157: function insertElement ($destinationPointer, $elementRow) - * 179: function insertElement_createRecord ($destinationPointer, $row) - * 239: function insertElement_setElementReferences ($destinationPointer, $uid) - * 261: function moveElement ($sourcePointer, $destinationPointer) - * 276: function moveElement_setElementReferences ($sourcePointer, $destinationPointer) - * 292: function copyElement ($sourcePointer, $destinationPointer, $copySubElements = TRUE) - * 310: function localizeElement ($sourcePointer, $languageKey) - * 346: function referenceElement ($sourcePointer, $destinationPointer) - * 363: function referenceElementByUid ($uid, $destinationPointer) - * 379: function unlinkElement ($sourcePointer) - * 392: function deleteElement ($sourcePointer) + * 160: function insertElement ($destinationPointer, $elementRow) + * 191: function insertElement_createRecord ($destinationPointer, $row) + * 258: function insertElement_setElementReferences ($destinationPointer, $uid) + * 280: function moveElement ($sourcePointer, $destinationPointer) + * 295: function moveElement_setElementReferences ($sourcePointer, $destinationPointer) + * 311: function copyElement ($sourcePointer, $destinationPointer, $copySubElements = TRUE) + * 329: function localizeElement ($sourcePointer, $languageKey) + * 365: function referenceElement ($sourcePointer, $destinationPointer) + * 382: function referenceElementByUid ($uid, $destinationPointer) + * 398: function unlinkElement ($sourcePointer) + * 411: function deleteElement ($sourcePointer) * * SECTION: Processing functions (protected) - * 417: function process ($mode, $sourcePointer, $destinationPointer = NULL, $onlyHandleReferences = FALSE) - * 478: function process_move ($sourcePointer, $destinationPointer, $sourceReferencesArr, $destinationReferencesArr, $sourceParentRecord, $destinationParentRecord, $elementRecord, $onlyHandleReferences) - * 544: function process_copy ($sourceElementUid, $destinationPointer, $destinationReferencesArr, $destinationParentRecord) - * 578: function process_copyRecursively ($sourceElementUid, $destinationPointer, $destinationReferencesArr, $destinationParentRecord) - * 617: function process_localize ($sourceElementUid, $destinationPointer, $destinationReferencesArr) - * 659: function process_reference ($destinationPointer, $destinationReferencesArr, $elementUid) - * 675: function process_unlink ($sourcePointer, $sourceReferencesArr) - * 692: function process_delete ($sourcePointer, $sourceReferencesArr, $elementUid) + * 436: function process ($mode, $sourcePointer, $destinationPointer = NULL, $onlyHandleReferences = FALSE) + * 497: function process_move ($sourcePointer, $destinationPointer, $sourceReferencesArr, $destinationReferencesArr, $sourceParentRecord, $destinationParentRecord, $elementRecord, $onlyHandleReferences) + * 578: function process_copy ($sourceElementUid, $destinationPointer, $destinationReferencesArr, $destinationParentRecord) + * 612: function process_copyRecursively ($sourceElementUid, $destinationPointer, $destinationReferencesArr, $destinationParentRecord) + * 651: function process_localize ($sourceElementUid, $destinationPointer, $destinationReferencesArr) + * 693: function process_reference ($destinationPointer, $destinationReferencesArr, $elementUid) + * 709: function process_unlink ($sourcePointer, $sourceReferencesArr) + * 726: function process_delete ($sourcePointer, $sourceReferencesArr, $elementUid) * * SECTION: Flexform helper functions (public) - * 735: function flexform_getValidPointer ($flexformPointer) - * 774: function flexform_getPointerFromString ($flexformPointerString) - * 813: function flexform_getStringFromPointer ($flexformPointer) - * 846: function flexform_getRecordByPointer ($flexformPointer) - * 870: function flexform_getPointersByRecord ($elementUid, $pageUid) - * 896: function flexform_getElementReferencesFromXML($flexformXML, $flexformPointer) - * 934: function flexform_getListOfSubElementUidsRecursively ($table, $uid, &$recordUids, $recursionDepth=0) - * 983: function flexform_getFlexformPointersToSubElementsRecursively ($table, $uid, &$flexformPointers, $recursionDepth=0) + * 769: function flexform_getValidPointer ($flexformPointer) + * 808: function flexform_getPointerFromString ($flexformPointerString) + * 847: function flexform_getStringFromPointer ($flexformPointer) + * 880: function flexform_getRecordByPointer ($flexformPointer) + * 904: function flexform_getPointersByRecord ($elementUid, $pageUid) + * 930: function flexform_getElementReferencesFromXML($flexformXML, $flexformPointer) + * 968: function flexform_getListOfSubElementUidsRecursively ($table, $uid, &$recordUids, $recursionDepth=0) + * 1017: function flexform_getFlexformPointersToSubElementsRecursively ($table, $uid, &$flexformPointers, $recursionDepth=0) * * SECTION: Flexform helper functions (protected) - * 1053: function flexform_insertElementReferenceIntoList($currentReferencesArr, $position, $elementUid) - * 1093: function flexform_removeElementReferenceFromList($currentReferencesArr, $position) - * 1115: function flexform_storeElementReferencesListInRecord ($referencesArr, $destinationPointer) + * 1087: function flexform_insertElementReferenceIntoList($currentReferencesArr, $position, $elementUid) + * 1127: function flexform_removeElementReferenceFromList($currentReferencesArr, $position) + * 1149: function flexform_storeElementReferencesListInRecord ($referencesArr, $destinationPointer) * * SECTION: Data structure helper functions (public) - * 1156: function ds_getFieldNameByColumnPosition ($contextPageUid, $columnPosition) - * 1210: function ds_getExpandedDataStructure ($table, $row) - * 1247: function ds_getAvailablePageTORecords ($pageUid) + * 1209: function ds_getFieldNameByColumnPosition ($contextPageUid, $columnPosition) + * 1267: function ds_getColumnPositionByFieldName ($contextPageUid, $fieldName) + * 1298: function ds_getExpandedDataStructure ($table, $row) + * 1335: function ds_getAvailablePageTORecords ($pageUid) * * SECTION: Get content structure of page - * 1290: function getContentTree($table, $row, $includePreviewData=TRUE) - * 1320: function getContentTree_element($table, $row, &$tt_content_elementRegister, $prevRecList='') - * 1438: function getContentTree_processSubContent($listOfSubElementUids, &$tt_content_elementRegister, $prevRecList) - * 1484: function getContentTree_getLocalizationInfoForElement($contentTreeArr, &$tt_content_elementRegister) - * 1545: function getContentTree_fetchPageTemplateObject($row) + * 1378: function getContentTree($table, $row, $includePreviewData=TRUE) + * 1408: function getContentTree_element($table, $row, &$tt_content_elementRegister, $prevRecList='') + * 1535: function getContentTree_processSubContent($listOfSubElementUids, &$tt_content_elementRegister, $prevRecList) + * 1581: function getContentTree_getLocalizationInfoForElement($contentTreeArr, &$tt_content_elementRegister) + * 1644: function getContentTree_fetchPageTemplateObject($row) * * SECTION: Miscellaneous functions (protected) - * 1583: function setTCEmainRunningFlag ($flag) - * 1595: function getTCEmainRunningFlag () - * 1606: function getStorageFolderPid($pageUid) - * 1624: function loadWebsiteLanguages() + * 1685: function setTCEmainRunningFlag ($flag) + * 1697: function getTCEmainRunningFlag () + * 1708: function getStorageFolderPid($pageUid) + * 1734: function loadWebsiteLanguages() + * 1769: public function modifyReferencesInLiveWS ( $enable=true ) * - * TOTAL FUNCTIONS: 44 + * TOTAL FUNCTIONS: 46 * (This index is automatically created/updated by the extension "extdeveval") * */ Index: class.tx_templavoila_extdeveval.php =================================================================== --- class.tx_templavoila_extdeveval.php (revision 29992) +++ class.tx_templavoila_extdeveval.php (working copy) @@ -33,15 +33,18 @@ * * * - * 58: class tx_templavoila_extdeveval - * 69: function init() - * 77: function main() - * 103: function renderMenuOfDataStructures() - * 136: function getDataStructures() - * 180: function DSlanguageMode($DSstring) - * 203: function renderConversionView($dsIdForConversion) + * 61: class tx_templavoila_extdeveval + * 82: function init() + * 90: function main() + * 119: function renderMenuOfDataStructures() + * 156: function getDataStructures() + * 205: function DSlanguageMode($DSstring) + * 228: function renderConversionView($dsIdForConversion) + * 381: function traverseFlexFormXMLData_callBackFunction_Inheritance($dsArr, $data, $PA, $path, &$pObj) + * 405: function traverseFlexFormXMLData_callBackFunction_Separate($dsArr, $data, $PA, $path, &$pObj) + * 431: function traverseFlexFormXMLData_callBackFunction_Disabled($dsArr, $data, $PA, $path, &$pObj) * - * TOTAL FUNCTIONS: 6 + * TOTAL FUNCTIONS: 9 * (This index is automatically created/updated by the extension "extdeveval") * */ Index: class.tx_templavoila_handlestaticdatastructures.php =================================================================== --- class.tx_templavoila_handlestaticdatastructures.php (revision 29992) +++ class.tx_templavoila_handlestaticdatastructures.php (working copy) @@ -33,13 +33,20 @@ * * * - * 58: class tx_templavoila_handleStaticDataStructures - * 69: function main(&$params,&$pObj) - * 86: function main_scope1(&$params,&$pObj) - * 104: function main_scope2(&$params,&$pObj) - * 121: function pi_templates(&$params,$pObj) + * 65: class tx_templavoila_handleStaticDataStructures + * 77: function main(&$params,&$pObj) + * 95: function pi_templates(&$params,$pObj) + * 133: public function dataSourceItemsProcFunc(array &$params, t3lib_TCEforms& $pObj) + * 164: public function templateObjectItemsProcFunc(array &$params, t3lib_TCEforms &$pObj) + * 182: protected function templateObjectItemsProcFuncForCurrentDS(array &$params, t3lib_TCEforms &$pObj) + * 219: protected function templateObjectItemsProcFuncForAllDSes(array &$params, t3lib_TCEforms &$pObj) + * 272: protected function getDSList(array &$params, t3lib_TCEforms& $pObj) + * 315: protected function getStoragePid(array &$params, t3lib_TCEforms &$pObj) + * 336: protected function enableFields($tableName) + * 358: public function sortTemplateObjects($key1, $key2) + * 379: function check_permissions(&$params,&$pObj) * - * TOTAL FUNCTIONS: 4 + * TOTAL FUNCTIONS: 11 * (This index is automatically created/updated by the extension "extdeveval") * */ @@ -409,4 +416,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/templavoila/class.tx_templavoila_handlestaticdatastructures.php']) { include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/templavoila/class.tx_templavoila_handlestaticdatastructures.php']); } -?> +?> \ No newline at end of file Index: class.tx_templavoila_htmlmarkup.php =================================================================== --- class.tx_templavoila_htmlmarkup.php (revision 29992) +++ class.tx_templavoila_htmlmarkup.php (working copy) @@ -34,36 +34,36 @@ * * * 86: class tx_templavoila_htmlmarkup - * 214: function markupHTMLcontent($content,$backPath,$relPathFix,$showTags,$mode='') - * 255: function passthroughHTMLcontent($content,$relPathFix,$mode='',$altStyle='') - * 276: function getContentBasedOnPath($content,$pathStrArr) - * 319: function splitByPath($content,$pathString) - * 346: function splitContentToMappingInfo($fileContent,$currentMappingInfo) - * 409: function mappingInfoToSearchPath($currentMappingInfo) - * 450: function mergeSearchpartsIntoContent($content,$searchParts,$token='') - * 481: function mergeSampleDataIntoTemplateStructure($dataStruct,$currentMappingInfo,$firstLevelImplodeToken='',$sampleOrder='') - * 524: function mergeFormDataIntoTemplateStructure($editStruct,$currentMappingInfo,$firstLevelImplodeToken='',$valueKey='vDEF') - * 571: function splitPath($pathStr) - * 627: function getTemplateArrayForTO($uid) - * 650: function mergeDataArrayToTemplateArray($TA,$data) - * 671: function getTemplateRecord($uid,$renderType,$langUid) - * 729: function getTemplateMappingArray($uid,$renderType,$langUid,$sheet) - * 744: function getTemplateRecord_query($uid, $where) - * 764: function setHeaderBodyParts($MappingInfo_head,$MappingData_head_cached,$BodyTag_cached='') + * 215: function markupHTMLcontent($content,$backPath,$relPathFix,$showTags,$mode='') + * 254: function passthroughHTMLcontent($content,$relPathFix,$mode='',$altStyle='') + * 275: function getContentBasedOnPath($content,$pathStrArr) + * 318: function splitByPath($content,$pathString) + * 345: function splitContentToMappingInfo($fileContent,$currentMappingInfo) + * 408: function mappingInfoToSearchPath($currentMappingInfo) + * 449: function mergeSearchpartsIntoContent($content,$searchParts,$token='') + * 480: function mergeSampleDataIntoTemplateStructure($dataStruct,$currentMappingInfo,$firstLevelImplodeToken='',$sampleOrder='') + * 523: function mergeFormDataIntoTemplateStructure($editStruct,$currentMappingInfo,$firstLevelImplodeToken='',$valueKey='vDEF') + * 568: function splitPath($pathStr) + * 624: function getTemplateArrayForTO($uid) + * 647: function mergeDataArrayToTemplateArray($TA,$data) + * 668: function getTemplateRecord($uid,$renderType,$langUid) + * 726: function getTemplateMappingArray($uid,$renderType,$langUid,$sheet) + * 741: function getTemplateRecord_query($uid, $where) + * 761: function setHeaderBodyParts($MappingInfo_head,$MappingData_head_cached,$BodyTag_cached='') * * SECTION: Various sub processing - * 798: function init() - * 819: function setTagsFromXML($content) - * 846: function splitTagTypes($showTags) + * 813: function init() + * 835: function setTagsFromXML($content) + * 862: function splitTagTypes($showTags) * * SECTION: SPLITTING functions - * 896: function recursiveBlockSplitting($content,$tagsBlock,$tagsSolo,$mode,$path='',$recursion=0) - * 981: function getMarkupCode($mode,$v,$params,$firstTagName,$firstTag,$endTag,$subPath,$recursion) - * 1066: function getSearchCode($mode,$v,$params,$firstTagName,$firstTag,$endTag,$subPath,$path,$recursion) - * 1149: function sourceDisplay($str,$recursion,$gnyf='',$valueStr=0) - * 1171: function checkboxDisplay($str,$recursion,$path,$gnyf='',$valueStr=0) - * 1196: function makePath($path,$firstTagName,$attr) - * 1226: function getGnyf($firstTagName,$path,$title) + * 912: function recursiveBlockSplitting($content,$tagsBlock,$tagsSolo,$mode,$path='',$recursion=0) + * 1054: function getMarkupCode($mode,$v,$params,$firstTagName,$firstTag,$endTag,$subPath,$recursion) + * 1139: function getSearchCode($mode,$v,$params,$firstTagName,$firstTag,$endTag,$subPath,$path,$recursion) + * 1221: function sourceDisplay($str,$recursion,$gnyf='',$valueStr=0) + * 1243: function checkboxDisplay($str,$recursion,$path,$gnyf='',$valueStr=0) + * 1270: function makePath($path,$firstTagName,$attr) + * 1300: function getGnyf($firstTagName,$path,$title) * * TOTAL FUNCTIONS: 26 * (This index is automatically created/updated by the extension "extdeveval") Index: class.tx_templavoila_tcemain.php =================================================================== --- class.tx_templavoila_tcemain.php (revision 29992) +++ class.tx_templavoila_tcemain.php (working copy) @@ -34,19 +34,22 @@ * * * - * 64: class tx_templavoila_tcemain + * 67: class tx_templavoila_tcemain + * 83: public function __construct() * * SECTION: Public API (called by hook handler) - * 86: function processDatamap_preProcessFieldArray (&$incomingFieldArray, $table, $id, &$reference) - * 111: function processDatamap_postProcessFieldArray ($status, $table, $id, &$fieldArray, &$reference) - * 166: function processDatamap_afterDatabaseOperations ($status, $table, $id, $fieldArray, &$reference) - * 225: function processCmdmap_preProcess ($command, $table, $id, $value, &$reference) - * 261: function processCmdmap_postProcess($command, $table, $id, $value, &$reference) - * 283: function moveRecord_firstElementPostProcess ($table, $uid, $destPid, $sourceRecordBeforeMove, $updateFields, &$reference) - * 324: function moveRecord_afterAnotherElementPostProcess ($table, $uid, $destPid, $origDestPid, $sourceRecordBeforeMove, $updateFields, &$reference) - * 354: function correctSortingAndColposFieldsForPage($flexformXML) + * 105: function processDatamap_preProcessFieldArray(array &$incomingFieldArray, $table, $id, t3lib_TCEmain &$reference) + * 140: function processDatamap_postProcessFieldArray ($status, $table, $id, &$fieldArray, &$reference) + * 227: function processDatamap_afterDatabaseOperations ($status, $table, $id, $fieldArray, &$reference) + * 306: function processCmdmap_preProcess (&$command, $table, $id, $value, &$reference) + * 362: function processCmdmap_postProcess($command, $table, $id, $value, &$reference) + * 388: function moveRecord_firstElementPostProcess ($table, $uid, $destPid, $sourceRecordBeforeMove, $updateFields, &$reference) + * 429: function moveRecord_afterAnotherElementPostProcess ($table, $uid, $destPid, $origDestPid, $sourceRecordBeforeMove, $updateFields, &$reference) + * 460: function correctSortingAndColposFieldsForPage($flexformXML, $pid) + * 532: protected function updateDataSourceFromTemplateObject($table, array &$incomingFieldArray, t3lib_beUserAuth &$beUser) + * 552: protected function updateDataSourceFieldFromTemplateObjectField(array &$incomingFieldArray, $dsField, $toField, t3lib_beUserAuth &$beUser) * - * TOTAL FUNCTIONS: 8 + * TOTAL FUNCTIONS: 11 * (This index is automatically created/updated by the extension "extdeveval") * */ Index: class.tx_templavoila_unusedce.php =================================================================== --- class.tx_templavoila_unusedce.php (revision 29992) +++ class.tx_templavoila_unusedce.php (working copy) @@ -36,11 +36,11 @@ * * * - * 57: class tx_lowlevel_cleanflexform extends tx_lowlevel_cleaner_core - * 64: function tx_lowlevel_cleanflexform() - * 89: function main() - * 117: function main_parseTreeCallBack(&$pObj,$tableName,$uid,$echoLevel,$versionSwapmode,$rootIsVersion) - * 148: function main_autoFix($resultArray, $dryrun=TRUE) + * 65: class tx_templavoila_unusedce extends tx_lowlevel_cleaner_core + * 79: function tx_templavoila_unusedce() + * 103: function main() + * 140: function main_parseTreeCallBack($tableName,$uid,$echoLevel,$versionSwapmode,$rootIsVersion) + * 230: function main_autoFix($resultArray) * * TOTAL FUNCTIONS: 4 * (This index is automatically created/updated by the extension "extdeveval") Index: class.tx_templavoila_usedce.php =================================================================== --- class.tx_templavoila_usedce.php (revision 29992) +++ class.tx_templavoila_usedce.php (working copy) @@ -34,6 +34,14 @@ * [CLASS/FUNCTION INDEX of SCRIPT] * * + * + * 62: class tx_templavoila_usedCE + * 72: function init($page_uid) + * 97: function filter($table, $uid) + * + * TOTAL FUNCTIONS: 2 + * (This index is automatically created/updated by the extension "extdeveval") + * */ Index: pi1/class.tx_templavoila_pi1.php =================================================================== --- pi1/class.tx_templavoila_pi1.php (revision 29992) +++ pi1/class.tx_templavoila_pi1.php (working copy) @@ -34,17 +34,18 @@ * * * - * 71: class tx_templavoila_pi1 extends tslib_pibase - * 88: function main($content,$conf) - * 101: function main_page($content,$conf) - * 131: function initVars($conf) - * 144: function renderElement($row,$table) - * 282: function processDataValues(&$dataValues,$DSelements,$TOelements,$valueKey='vDEF') - * 446: function inheritValue($dV,$valueKey,$overlayMode='') - * 486: function formatError($string) - * 519: function visualID($content,$srcPointer,$DSrec,$TOrec,$row,$table) + * 73: class tx_templavoila_pi1 extends tslib_pibase + * 94: function main($content,$conf) + * 139: function main_record($content, $conf) + * 194: function main_page($content,$conf) + * 233: function initVars($conf) + * 246: function renderElement($row,$table) + * 429: function processDataValues(&$dataValues,$DSelements,$TOelements,$valueKey='vDEF') + * 663: function inheritValue($dV,$valueKey,$overlayMode='') + * 703: function formatError($string) + * 736: function visualID($content,$srcPointer,$DSrec,$TOrec,$row,$table) * - * TOTAL FUNCTIONS: 8 + * TOTAL FUNCTIONS: 9 * (This index is automatically created/updated by the extension "extdeveval") * */