ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilRadioOption Class Reference

This class represents an option in a radio group. More...

+ Inheritance diagram for ilRadioOption:
+ Collaboration diagram for ilRadioOption:

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.
 setDisabled ($a_disabled)
 getDisabled ()
 addSubItem ($a_item)
 Add Subitem.
 getSubItems ()
 Get Subitems.

Protected Attributes

 $title
 $value
 $info
 $sub_items = array()
 $disabled

Detailed Description

This class represents an option in a radio group.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 31 of file class.ilRadioOption.php.

Constructor & Destructor Documentation

ilRadioOption::__construct (   $a_title = "",
  $a_value = "",
  $a_info = "" 
)

Definition at line 39 of file class.ilRadioOption.php.

References setInfo(), setTitle(), and setValue().

{
$this->setTitle($a_title);
$this->setValue($a_value);
$this->setInfo($a_info);
}

+ Here is the call graph for this function:

Member Function Documentation

ilRadioOption::getDisabled ( )

Definition at line 111 of file class.ilRadioOption.php.

References $disabled.

{
}
ilRadioOption::getInfo ( )

Get Info.

Returns
string Info

Definition at line 81 of file class.ilRadioOption.php.

References $info.

{
return $this->info;
}
ilRadioOption::getSubItems ( )

Get Subitems.

Returns
array Array of items

Definition at line 131 of file class.ilRadioOption.php.

References $sub_items.

{
}
ilRadioOption::getTitle ( )

Get Title.

Returns
string Title

Definition at line 61 of file class.ilRadioOption.php.

References $title.

{
return $this->title;
}
ilRadioOption::getValue ( )

Get Value.

Returns
string Value

Definition at line 101 of file class.ilRadioOption.php.

References $value.

{
return $this->value;
}
ilRadioOption::setDisabled (   $a_disabled)
ilRadioOption::setInfo (   $a_info)

Set Info.

Parameters
string$a_infoInfo

Definition at line 71 of file class.ilRadioOption.php.

Referenced by __construct(), ilCharSelectorGUI\addFormProperties(), ilObjTestDynamicQuestionSetConfigGUI\buildForm(), ilObjAssessmentFolderGUI\buildSettingsForm(), ilECSMappingSettingsGUI\cInitMappingForm(), ilSetupGUI\displaySessions(), ilObjNewsSettingsGUI\editSettings(), ilObjMediaCastGUI\initAddCastItemForm(), ilECSSettingsGUI\initCategoryMappingForm(), ilObjBookingPoolGUI\initEditCustomForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilPCConsultationHoursGUI\initForm(), ilRegistrationSettingsGUI\initForm(), ilPCProfileGUI\initForm(), ilObjMediaObjectGUI\initForm(), ilObjGroupGUI\initForm(), ilCalendarCategoryGUI\initFormCategory(), ilObjectActivationGUI\initFormEdit(), ilObjUserFolderGUI\initFormGeneralSettings(), ilNewsItemGUI\initFormNewsItem(), ilNewsItemGUIGen\initFormNewsItem(), ilAuthShibbolethSettingsGUI\initFormRoleAssignment(), ilLDAPSettingsGUI\initFormRoleAssignments(), ilCASSettingsGUI\initFormSettings(), ilObjMediaCastSettingsGUI\initFormSettings(), ilObjForumGUI\initForumCreateForm(), ilPersonalSettingsGUI\initGeneralSettingsForm(), ilShopNewsGUI\initNewsForm(), ilObjFileGUI\initPropertiesForm(), ilObjSurveyGUI\initPropertiesForm(), ilObjRepositorySettingsGUI\initSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilRadiusSettingsGUI\settings(), ilObjSurveyAdministrationGUI\settingsObject(), and ilConditionHandlerInterface\showObligatoryForm().

{
$this->info = $a_info;
}

+ Here is the caller graph for this function:

ilRadioOption::setTitle (   $a_title)

Set Title.

Parameters
string$a_titleTitle

Definition at line 51 of file class.ilRadioOption.php.

Referenced by __construct(), ilObjPaymentSettingsGUI\editPriceObject(), ilObjGroupGUI\initForm(), and ilObjPortfolioBaseGUI\initPageForm().

{
$this->title = $a_title;
}

+ Here is the caller graph for this function:

Field Documentation

ilRadioOption::$disabled
protected

Definition at line 37 of file class.ilRadioOption.php.

Referenced by getDisabled().

ilRadioOption::$info
protected

Definition at line 35 of file class.ilRadioOption.php.

Referenced by getInfo().

ilRadioOption::$sub_items = array()
protected

Definition at line 36 of file class.ilRadioOption.php.

Referenced by getSubItems().

ilRadioOption::$title
protected

Definition at line 33 of file class.ilRadioOption.php.

Referenced by getTitle().

ilRadioOption::$value
protected

Definition at line 34 of file class.ilRadioOption.php.

Referenced by getValue().


The documentation for this class was generated from the following file: