Ferreteria/v0.4/class/fcMenuOptionLink

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Ferreteria‎ | v0.4‎ | class
Revision as of 22:16, 12 January 2020 by Woozle (talk | contribs) (Created page with "{{page/code/class}} * '''file''': {{l/ferreteria/file|menu/hdr.php}} * '''extends''': {{l/version|class|fcToggleLink}} * '''extender''': {{l/version|class|fcHeaderChoice}} ==U...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

Objects are constructed with a single array argument:

array['base'] = base URL to prefix all output URLs
array['kname'] = name of option group to which this option belongs
array['kval'] (NEW) = value of unique key
array['value'] = default for [text-on] and [text-off]
array['text-on'] = (optional) text to display when toggle is on; defaults to [text-off]
array['text-off'] = (optional) text to display when toggle is off; defaults to [value]
array['popup'] = (optional) hover-over text