|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilCourseDefinedFieldDefinition:Public Member Functions | |
| __construct ($a_obj_id, $a_field_id=0) | |
| Constructor. More... | |
| getObjId () | |
| getId () | |
| getType () | |
| setType ($a_type) | |
| getName () | |
| setName ($a_name) | |
| getValues () | |
| setValues ($a_values) | |
| getValueById ($a_id) | |
| getIdByValue ($a_value) | |
| isRequired () | |
| enableRequired ($a_status) | |
| setValueOptions ($a_options) | |
| getValueOptions () | |
| prepareSelectBox () | |
| Prepare an array of options for ilUtil::formSelect() More... | |
| prepareValues ($a_values) | |
| Prepare values from POST. More... | |
| appendValues ($a_values) | |
| Append Values. More... | |
| deleteValue ($a_id) | |
| Delete value by id. More... | |
| save () | |
| Save. More... | |
| update () | |
| Update a field. More... | |
| delete () | |
| Delete a field. More... | |
Static Public Member Functions | |
| static | _clone ($a_source_id, $a_target_id) |
| Clone fields. More... | |
| static | _deleteByContainer ($a_container_id) |
| Delete all fields of a container. More... | |
| static | _hasFields ($a_container_id) |
| Check if there are any define fields. More... | |
| static | _getFields ($a_container_id, $a_sort=IL_CDF_SORT_NAME) |
| Get all fields of a container. More... | |
| static | _getRequiredFieldIds ($a_obj_id) |
| Get required filed id's. More... | |
| static | _fieldsToInfoString ($a_obj_id) |
| Fields to info string. More... | |
| static | _getFieldIds ($a_container_id, $a_sort=IL_CDF_SORT_ID) |
| Get all field ids of a container. More... | |
| static | _lookupName ($a_field_id) |
| Lookup field name. More... | |
Private Member Functions | |
| read () | |
| Read DB entries. More... | |
Private Attributes | |
| $db | |
| $obj_id | |
| $id | |
| $name | |
| $type | |
| $values | |
| $value_options = array() | |
| $required | |
| ilCourseDefinedFieldDefinition::__construct | ( | $a_obj_id, | |
$a_field_id = 0 |
|||
| ) |
Constructor.
@access public
| int | course obj_id |
| int | field_id |
Definition at line 58 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, and read().
Here is the call graph for this function:
|
static |
Clone fields.
@access public
| int | source obj id |
| int | target obj_id |
Definition at line 82 of file class.ilCourseDefinedFieldDefinition.php.
References _getFields().
Referenced by ilObjCourse\cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete all fields of a container.
@access public
| int | container_id |
Definition at line 103 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, $res, ilCourseUserData\_deleteByField(), and _getFieldIds().
Referenced by ilObjCourse\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Fields to info string.
@access public
| int | obj_id |
Definition at line 179 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjCourseGUI\infoScreen(), and ilObjGroupGUI\infoScreen().
Here is the caller graph for this function:
|
static |
Get all field ids of a container.
@access public
| int | container obj_id |
Definition at line 205 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, $res, and IL_CDF_SORT_ID.
Referenced by _deleteByContainer(), _getFields(), and ilCourseUserData\_getValuesByObjId().
Here is the caller graph for this function:
|
static |
Get all fields of a container.
@access public
| int | container obj_id |
Definition at line 139 of file class.ilCourseDefinedFieldDefinition.php.
References _getFieldIds(), and IL_CDF_SORT_ID.
Referenced by _clone(), _hasFields(), ilMemberAgreementGUI\addCustomFields(), ilMemberExport\getOrderedExportableFields(), ilObjectCustomUserFieldsPlaceholderValues\getPlaceholderValuesForPreview(), ilExportFieldsInfo\getSelectableFieldsInfo(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilObjectCustomUserFieldsPlaceholderDescription\initPlaceholders(), ilMemberExportGUI\initSettingsForm(), ilObjectCustomUserFieldsGUI\listFields(), ilAttendanceList\readOrderedExportableFields(), ilMemberAgreementGUI\saveCourseDefinedFields(), ilObjectCustomUserFieldsGUI\saveFields(), ilMemberAgreementGUI\setCourseDefinedFieldValues(), ilRegistrationGUI\showCustomFields(), and ilRegistrationGUI\validateCustomFields().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get required filed id's.
@access public
| int | container id |
Definition at line 155 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilCourseUserData\_checkRequired().
Here is the caller graph for this function:
|
static |
Check if there are any define fields.
@access public
| int | container_id |
Definition at line 126 of file class.ilCourseDefinedFieldDefinition.php.
References _getFields().
Referenced by ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilMemberAgreement\__construct(), ilMemberAgreement\agreementRequired(), ilObjCourseGUI\checkAgreement(), ilObjGroupGUI\checkAgreement(), ilRegistrationGUI\fillAgreement(), ilParticipantTableGUI\initSettings(), ilRegistrationGUI\setAccepted(), ilObjCourseGUI\setSubTabs(), and ilObjGroupGUI\setSubTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup field name.
@access public
| int | field_id |
Definition at line 229 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMemberExport\write().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::appendValues | ( | $a_values | ) |
Append Values.
@access public
Definition at line 356 of file class.ilCourseDefinedFieldDefinition.php.
| ilCourseDefinedFieldDefinition::delete | ( | ) |
Delete a field.
@access public
Definition at line 441 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, $res, ilCourseUserData\_deleteByField(), and getId().
Here is the call graph for this function:| ilCourseDefinedFieldDefinition::deleteValue | ( | $a_id | ) |
Delete value by id.
@access public
Definition at line 371 of file class.ilCourseDefinedFieldDefinition.php.
References update().
Here is the call graph for this function:| ilCourseDefinedFieldDefinition::enableRequired | ( | $a_status | ) |
Definition at line 292 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::getId | ( | ) |
Definition at line 248 of file class.ilCourseDefinedFieldDefinition.php.
References $id.
Referenced by delete(), prepareSelectBox(), read(), and update().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::getIdByValue | ( | $a_value | ) |
Definition at line 283 of file class.ilCourseDefinedFieldDefinition.php.
| ilCourseDefinedFieldDefinition::getName | ( | ) |
Definition at line 260 of file class.ilCourseDefinedFieldDefinition.php.
References $name.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::getObjId | ( | ) |
| ilCourseDefinedFieldDefinition::getType | ( | ) |
Definition at line 252 of file class.ilCourseDefinedFieldDefinition.php.
References $type.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::getValueById | ( | $a_id | ) |
Definition at line 276 of file class.ilCourseDefinedFieldDefinition.php.
| ilCourseDefinedFieldDefinition::getValueOptions | ( | ) |
Definition at line 302 of file class.ilCourseDefinedFieldDefinition.php.
References $value_options.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::getValues | ( | ) |
Definition at line 268 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::isRequired | ( | ) |
Definition at line 288 of file class.ilCourseDefinedFieldDefinition.php.
References $required.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::prepareSelectBox | ( | ) |
Prepare an array of options for ilUtil::formSelect()
@access public
Definition at line 315 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $lng, and getId().
Here is the call graph for this function:| ilCourseDefinedFieldDefinition::prepareValues | ( | $a_values | ) |
Prepare values from POST.
| array | array of values @access public |
Definition at line 336 of file class.ilCourseDefinedFieldDefinition.php.
|
private |
Read DB entries.
@access private
Definition at line 461 of file class.ilCourseDefinedFieldDefinition.php.
References $query, $res, enableRequired(), ilDBConstants\FETCHMODE_OBJECT, getId(), getObjId(), setName(), setType(), setValueOptions(), and setValues().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::save | ( | ) |
Save.
@access public
Definition at line 388 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, $res, getName(), getObjId(), getType(), getValueOptions(), getValues(), and isRequired().
Here is the call graph for this function:| ilCourseDefinedFieldDefinition::setName | ( | $a_name | ) |
Definition at line 264 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::setType | ( | $a_type | ) |
Definition at line 256 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::setValueOptions | ( | $a_options | ) |
Definition at line 297 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::setValues | ( | $a_values | ) |
Definition at line 272 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilCourseDefinedFieldDefinition::update | ( | ) |
Update a field.
@access public
Definition at line 416 of file class.ilCourseDefinedFieldDefinition.php.
References $DIC, $ilDB, $query, $res, getId(), getName(), getObjId(), getType(), getValueOptions(), getValues(), and isRequired().
Referenced by deleteValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 40 of file class.ilCourseDefinedFieldDefinition.php.
|
private |
Definition at line 43 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by getId().
|
private |
Definition at line 44 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by getName().
|
private |
Definition at line 41 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by getObjId().
|
private |
Definition at line 48 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by isRequired().
|
private |
Definition at line 45 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by getType().
|
private |
Definition at line 47 of file class.ilCourseDefinedFieldDefinition.php.
Referenced by getValueOptions().
|
private |
Definition at line 46 of file class.ilCourseDefinedFieldDefinition.php.