NAVIGATION
This shows you the differences between two versions of the page.
deutsch:technik:aufruf-interner-funktionen:kategorie-bottom-top [2010/08/23 13:27] Knut Heermann (flip-flop) |
deutsch:technik:aufruf-interner-funktionen:kategorie-bottom-top [2018/06/03 18:08] (current) |
||
---|---|---|---|
Line 22: | Line 22: | ||
* v1.0 KH (flip-flop) 23.08.2010 | * v1.0 KH (flip-flop) 23.08.2010 | ||
* Structure bottom->top given: Actual cat-ID (start) and parent cat-id (top > 0) | * Structure bottom->top given: Actual cat-ID (start) and parent cat-id (top > 0) | ||
- | * Are the current category a part of the subcategories of the given parent category? | + | * Is the current category a part of the subcategories of the given parent category? |
* Return: | * Return: | ||
* - on success: String separated by commas with all the IDs of the searched tree structure | * - on success: String separated by commas with all the IDs of the searched tree structure | ||
Line 92: | Line 92: | ||
Funktionsaufruf: ##$s = buildStruct_BottomTop(7, 3);## //category_02_01_02 -> ID=07, category_03 -> ID=03// | Funktionsaufruf: ##$s = buildStruct_BottomTop(7, 3);## //category_02_01_02 -> ID=07, category_03 -> ID=03// | ||
- | Ausgabe ##$s##: **%%''%%** -> Der String ist leer, da die Kategorie %%ID=7%% nicht unterhalb der Kategorie %%ID=3%% liegt. | + | Ausgabe ##$s##: **%%''%%** -> Der String ist leer, da die Kategorie %%ID=7%% nicht innerhalb des Strukturbaums der Kategorie %%ID=3%% liegt. |