1
phillipd
What is the purpose of passng an array of strings to xoopsformcheckbox?
  • 2004/11/10 4:51

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


What is the purpose of passing an array of strings in the constructor of a XoopsFormCheckBox? What does the checkbox display?


Thanks

Doug P

2
Mithrandir
Re:What is the purpose of passng an array of strings to xoopsformcheckbox?

The third parameter in the constructor of XoopsFormCheckBox is to set the checked status.

E.g. if you have a checkbox group with 3 options - Yes, No and Maybe - you can supply the constructor with an array of Yes and Maybe. Then on rendering, Yes and Maybe checkboxes will be pre-checked.

Login

Who's Online

480 user(s) are online (76 user(s) are browsing Support Forums)


Members: 0


Guests: 480


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits