ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilRadioOption Class Reference

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

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

Protected Attributes

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

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 38 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::addSubItem (   $a_item)
ilRadioOption::getInfo ( )

Get Info.

Returns
string Info

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

References $info.

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

Get Subitems.

Returns
array Array of items

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

References $sub_items.

{
}
ilRadioOption::getTitle ( )

Get Title.

Returns
string Title

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

References $title.

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

Get Value.

Returns
string Value

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

References $value.

{
return $this->value;
}
ilRadioOption::setTitle (   $a_title)

Set Title.

Parameters
string$a_titleTitle

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.

Parameters
string$a_valueValue

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

Referenced by __construct(), ilObjCourseGUI\initForm(), ilObjGroupGUI\initForm(), ilLDAPSettingsGUI\initFormRoleAssignments(), and ilAdvancedMDRecordGUI\parseSearch().

{
$this->value = $a_value;
}

+ Here is the caller graph for this function:

Field Documentation

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: