HTML_MenuBrowser::exploreFile()

HTML_MenuBrowser::exploreFile() – Returns additional menu informations decoded in the file that appears in the menu.

Synopsis

require_once 'HTML/MenuBrowser.php';

void HTML_MenuBrowser::exploreFile ( string $file )

Description

You should subclass this method to make it work with your own file formats. I used a simple XML format to store the content.

Parameter

string $file

filename

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Recursive function that does the scan and builds the menu (3) hash. (Previous) Returns a hash to be used with menu(3)'s setMenu(). (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.