The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION menu_data() documentation
#2
(2020-05-01, 04:31:31)drking Wrote: I'm revisiting GetSimple having been away many years, and having forgotten all about it.

As far as I can see the doumentation for the function menu_data() is "outputs an array of menu specific data".

Um, that's not very helpful - is there anything more specific anywhere?


Of course as in most such projects all the work goes into the code, and very little into the documentation - that's understandable. But I'm finding it lincreases the time I have to spend, and makes the task un-simple....

Thanks for any help, even a pointer to where the function is coded.

I may be barking up the wrong tree here so bear with with me if I've misunderstood. 

I would imagine it's exactly as is says: 

The function returns an array of all the menu items (pages created that have been selected to be included in the menu).
Next, the values from that array are probably used within the list context to display the menu within the website.

Where are you looking at the reference for unction menu_data()?

thanks
Reply


Messages In This Thread
menu_data() documentation - by drking - 2020-05-01, 04:31:31
RE: menu_data() documentation - by craiga - 2020-05-01, 20:26:14
RE: menu_data() documentation - by drking - 2020-05-02, 04:33:27
RE: menu_data() documentation - by Felix - 2020-05-02, 05:57:32
RE: menu_data() documentation - by drking - 2020-05-02, 06:59:46
RE: menu_data() documentation - by drking - 2020-05-03, 00:33:00



Users browsing this thread: 1 Guest(s)