XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
formradioyn.php
Go to the documentation of this file.
1 <?php
21 defined('XOOPS_ROOT_PATH') or die('Restricted access');
22 
24 
30 class XoopsFormRadioYN extends XoopsFormRadio
31 {
41  function XoopsFormRadioYN($caption, $name, $value = null, $yes = _YES, $no = _NO)
42  {
43  $this->XoopsFormRadio($caption, $name, $value);
44  $this->addOption(1, $yes);
45  $this->addOption(0, $no);
46  }
47 }
48 
49 ?>