Documentation TYPO3 par Ameos |
Public Member Functions | |
traverseFlexFormXMLData ($table, $field, $row, &$callBackObj, $callBackMethod_value) | |
traverseFlexFormXMLData_recurse ($dataStruct, $editData, &$PA, $path='') | |
getAvailableLanguages () | |
cleanFlexFormXML ($table, $field, $row) | |
cleanFlexFormXML_callBackFunction ($dsArr, $data, $PA, $path, &$pObj) | |
& | getArrayValueByPath ($pathArray, &$array) |
setArrayValueByPath ($pathArray, &$array, $value) | |
flexArray2Xml ($array, $addPrologue=FALSE) | |
Public Attributes | |
$convertCharset = FALSE | |
$reNumberIndexesOfSectionData = FALSE | |
$flexArray2Xml_options | |
$callBackObj = NULL | |
$cleanFlexFormXML = array() |
Definition at line 71 of file class.t3lib_flexformtools.php.
|
Cleaning up FlexForm XML to hold only the values it may according to its Data Structure. Also the order of tags will follow that of the data structure. BE CAREFUL: DO not clean records in workspaces unless IN the workspace! The Data Structure might resolve falsely on a workspace record when cleaned from Live workspace.
Definition at line 324 of file class.t3lib_flexformtools.php. References cleanFlexFormXML_callBackFunction(), flexArray2Xml(), and t3lib_div::makeInstance(). Referenced by cleanFlexFormXML_callBackFunction(). |
|
Call back function for t3lib_flexformtools class Basically just setting the value in a new array (thus cleaning because only values that are valid are visited!)
Definition at line 348 of file class.t3lib_flexformtools.php. References cleanFlexFormXML(). Referenced by cleanFlexFormXML(). |
|
Convert FlexForm data array to XML
Definition at line 434 of file class.t3lib_flexformtools.php. References t3lib_div::array2xml(). Referenced by cleanFlexFormXML(). |
|
Get a value from a multi-dimensional array by giving a path "../../.." pointing to the element
Definition at line 375 of file class.t3lib_flexformtools.php. |
|
Returns an array of available languages to use for FlexForm operations
Definition at line 274 of file class.t3lib_flexformtools.php. References t3lib_BEfunc::deleteClause(), t3lib_BEfunc::getRecord(), and t3lib_extMgm::isLoaded(). Referenced by traverseFlexFormXMLData(). |
|
Set a value in a multi-dimensional array by giving a path "../../.." pointing to the element
Definition at line 404 of file class.t3lib_flexformtools.php. |
|
Handler for Flex Forms
Definition at line 105 of file class.t3lib_flexformtools.php. References $callBackObj, getAvailableLanguages(), t3lib_BEfunc::getFlexFormDS(), t3lib_div::resolveSheetDefInDS(), traverseFlexFormXMLData_recurse(), t3lib_div::xml2array(), and t3lib_div::xmlGetHeaderAttribs(). |
|
Recursively traversing flexform data according to data structure and element data
Definition at line 203 of file class.t3lib_flexformtools.php. Referenced by traverseFlexFormXMLData(). |
|
Initial value: array( 'parentTagMap' => array( 'data' => 'sheet', 'sheet' => 'language', 'language' => 'field', 'el' => 'field', 'field' => 'value', 'field:el' => 'el', 'el:_IS_NUM' => 'section', 'section' => 'itemType' ), 'disableTypeAttrib' => 2 ) Definition at line 77 of file class.t3lib_flexformtools.php. |