|
TYPO3 API
SVNRelease
|
Public Member Functions | |
| tree ($arr, $depth_in, $depthData) | |
| wrapValue ($theValue, $depth) | |
| wrapArrayKey ($label, $depth, $theValue) | |
| getSearchKeys ($keyArr, $depth_in, $searchString, $keyArray) | |
| fixed_lgd ($string, $chars) | |
| depthKeys ($arr, $settings) | |
Public Attributes | |
| $expAll = FALSE | |
| $dontLinkVar = FALSE | |
| $depthKeys = array() | |
| $searchKeys = array() | |
| $fixedLgd = 1 | |
| $regexMode = 0 | |
| $searchKeysToo = FALSE | |
| $varName = '' | |
Definition at line 64 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::depthKeys | ( | $ | arr, |
| $ | settings | ||
| ) |
Function modifying the depthKey array
| array | Array with instructions to open/close nodes. |
| array | Input depth_key array |
Definition at line 248 of file class.t3lib_arraybrowser.php.
Referenced by tree().
| t3lib_arrayBrowser::fixed_lgd | ( | $ | string, |
| $ | chars | ||
| ) |
Fixed length function
| string | String to process |
| integer | Max number of chars |
Definition at line 231 of file class.t3lib_arraybrowser.php.
Referenced by tree().
| t3lib_arrayBrowser::getSearchKeys | ( | $ | keyArr, |
| $ | depth_in, | ||
| $ | searchString, | ||
| $ | keyArray | ||
| ) |
Creates an array with "depthKeys" which will expand the array to show the search results
| array | The array to search for the value |
| string | Depth string - blank for first call (will build up during recursive calling creating an id of the position: [key1].[key2].[key3] |
| string | The string to search for |
| array | Key array, for first call pass empty array |
Definition at line 194 of file class.t3lib_arraybrowser.php.
References $value.
| t3lib_arrayBrowser::tree | ( | $ | arr, |
| $ | depth_in, | ||
| $ | depthData | ||
| ) |
Make browsable tree Before calling this function you may want to set some of the internal vars like depthKeys, regexMode and fixedLgd. For examples see SC_mod_tools_config_index::main()
| array | The array to display |
| string | Key-position id. Build up during recursive calls - [key1].[key2].[key3] - an so on. |
| string | Depth-data - basically a prefix for the icons. For calling this function from outside, let it stay blank. |
Definition at line 84 of file class.t3lib_arraybrowser.php.
References $GLOBALS, $value, depthKeys(), fixed_lgd(), t3lib_iconWorks\skinImg(), wrapArrayKey(), and wrapValue().
| t3lib_arrayBrowser::wrapArrayKey | ( | $ | label, |
| $ | depth, | ||
| $ | theValue | ||
| ) |
Wrapping the value in bold tags etc.
| string | The title string |
| string | Depth path |
| string | The value for the array entry. |
Definition at line 169 of file class.t3lib_arraybrowser.php.
Referenced by tree().
| t3lib_arrayBrowser::wrapValue | ( | $ | theValue, |
| $ | depth | ||
| ) |
Wrapping the value in bold tags etc.
| string | The title string |
| string | Depth path |
Definition at line 153 of file class.t3lib_arraybrowser.php.
Referenced by tree().
| t3lib_arrayBrowser::$depthKeys = array() |
Definition at line 67 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::$dontLinkVar = FALSE |
Definition at line 66 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::$expAll = FALSE |
Definition at line 65 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::$fixedLgd = 1 |
Definition at line 69 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::$regexMode = 0 |
Definition at line 70 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::$searchKeys = array() |
Definition at line 68 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::$searchKeysToo = FALSE |
Definition at line 71 of file class.t3lib_arraybrowser.php.
| t3lib_arrayBrowser::$varName = '' |
Definition at line 72 of file class.t3lib_arraybrowser.php.
1.7.5.1