This class represents an option in a radio group. More...
Public Member Functions | |
| __construct ($a_title="", $a_value="", $a_info="") | |
| setTitle ($a_title) | |
| Set Title. | |
| getTitle () | |
| Get Title. | |
| setInfo ($a_info) | |
| Set Info. | |
| getInfo () | |
| Get Info. | |
| setValue ($a_value) | |
| Set Value. | |
| getValue () | |
| Get Value. | |
| addSubItem ($a_item) | |
| Add Subitem. | |
| getSubItems () | |
| Get Subitems. | |
Protected Attributes | |
| $title | |
| $value | |
| $info | |
| $sub_items = array() | |
This class represents an option in a radio group.
Definition at line 31 of file class.ilRadioOption.php.
| ilRadioOption::__construct | ( | $ | a_title = "", |
|
| $ | a_value = "", |
|||
| $ | a_info = "" | |||
| ) |
Definition at line 38 of file class.ilRadioOption.php.
References setInfo(), setTitle(), and setValue().
Here is the call graph for this function:| ilRadioOption::addSubItem | ( | $ | a_item | ) |
Add Subitem.
| object | $a_item Item |
Definition at line 110 of file class.ilRadioOption.php.
Referenced by ilObjRemoteCourseGUI::initEditTable(), and ilLDAPSettingsGUI::initFormRoleAssignments().
{
$this->sub_items[] = $a_item;
}
Here is the caller graph for this function:| ilRadioOption::getInfo | ( | ) |
Get Info.
Definition at line 80 of file class.ilRadioOption.php.
{
return $this->info;
}
| ilRadioOption::getSubItems | ( | ) |
Get Subitems.
Definition at line 120 of file class.ilRadioOption.php.
{
return $this->sub_items;
}
| ilRadioOption::getTitle | ( | ) |
Get Title.
Definition at line 60 of file class.ilRadioOption.php.
{
return $this->title;
}
| ilRadioOption::getValue | ( | ) |
Get Value.
Definition at line 100 of file class.ilRadioOption.php.
{
return $this->value;
}
| ilRadioOption::setInfo | ( | $ | a_info | ) |
Set Info.
| string | $a_info Info |
Definition at line 70 of file class.ilRadioOption.php.
Referenced by __construct(), and ilLDAPSettingsGUI::initFormRoleAssignments().
{
$this->info = $a_info;
}
Here is the caller graph for this function:| ilRadioOption::setTitle | ( | $ | a_title | ) |
Set Title.
| string | $a_title Title |
Definition at line 50 of file class.ilRadioOption.php.
Referenced by __construct().
{
$this->title = $a_title;
}
Here is the caller graph for this function:| ilRadioOption::setValue | ( | $ | a_value | ) |
Set Value.
| string | $a_value Value |
Definition at line 90 of file class.ilRadioOption.php.
Referenced by __construct(), and ilLDAPSettingsGUI::initFormRoleAssignments().
{
$this->value = $a_value;
}
Here is the caller graph for this function:ilRadioOption::$info [protected] |
Definition at line 35 of file class.ilRadioOption.php.
ilRadioOption::$sub_items = array() [protected] |
Definition at line 36 of file class.ilRadioOption.php.
ilRadioOption::$title [protected] |
Definition at line 33 of file class.ilRadioOption.php.
ilRadioOption::$value [protected] |
Definition at line 34 of file class.ilRadioOption.php.
1.7.1