本文整理汇总了PHP中ilTextInputGUI::setSize方法的典型用法代码示例。如果您正苦于以下问题:PHP ilTextInputGUI::setSize方法的具体用法?PHP ilTextInputGUI::setSize怎么用?PHP ilTextInputGUI::setSize使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ilTextInputGUI
的用法示例。
在下文中一共展示了ilTextInputGUI::setSize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: addToForm
public function addToForm()
{
$def = $this->getADT()->getCopyOfDefinition();
if (!$this->isMulti()) {
$text = new ilTextInputGUI($this->getTitle(), $this->getElementId());
if ($def->getMaxLength()) {
$max = $def->getMaxLength();
$size = $text->getSize();
$text->setMaxLength($max);
if ($size && $max < $size) {
$text->setSize($max);
}
}
} else {
$text = new ilTextAreaInputGUI($this->getTitle(), $this->getElementId());
if ($this->multi_rows) {
$text->setRows($this->multi_rows);
}
if ($this->multi_cols) {
$text->setCols($this->multi_cols);
}
}
$this->addBasicFieldProperties($text, $def);
$text->setValue($this->getADT()->getText());
$this->addToParentElement($text);
}
示例2: initForm
/**
* Init form.
*
* @param string $a_mode edit mode
*/
public function initForm($a_mode = "edit")
{
global $lng, $ilCtrl;
include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
$this->form = new ilPropertyFormGUI();
// title
$ti = new ilTextInputGUI($lng->txt("title"), "title");
$ti->setMaxLength(200);
$ti->setSize(50);
$ti->setRequired(true);
$this->form->addItem($ti);
// order nr
$ni = new ilNumberInputGUI($lng->txt("skmg_order_nr"), "order_nr");
$ni->setMaxLength(6);
$ni->setSize(6);
$ni->setRequired(true);
$this->form->addItem($ni);
// save and cancel commands
if ($a_mode == "create") {
$this->form->addCommandButton("save", $lng->txt("save"));
$this->form->addCommandButton("cancelSave", $lng->txt("cancel"));
$this->form->setTitle($lng->txt("skmg_create_skll"));
} else {
$this->form->addCommandButton("update", $lng->txt("save"));
$this->form->setTitle($lng->txt("skmg_edit_skll"));
}
$ilCtrl->setParameter($this, "obj_id", $_GET["obj_id"]);
$this->form->setFormAction($ilCtrl->getFormAction($this));
}
示例3: showTrustees
public function showTrustees($a_show_delete = false)
{
global $ilToolbar;
$_SESSION['paya_delete_trustee'] = $_SESSION['paya_delete_trustee'] ? $_SESSION['paya_delete_trustee'] : array();
$actions = array(0 => $this->lng->txt("paya_disabled"), 1 => $this->lng->txt("paya_enabled"));
include_once "./Services/Form/classes/class.ilTextInputGUI.php";
$ul = new ilTextInputGUI($this->lng->txt("user"), "search_str");
$ul->setDataSource($this->ctrl->getLinkTarget($this, "performSearch", "", true));
$ul->setSize(20);
$ilToolbar->addInputItem($ul, true);
$ilToolbar->addFormButton($this->lng->txt("add"), "performSearch");
$ilToolbar->setFormAction($this->ctrl->getFormAction($this));
$this->tpl->addBlockfile('ADM_CONTENT', 'adm_content', 'tpl.main_view.html', 'Services/Payment');
if ($a_show_delete) {
$oConfirmationGUI = new ilConfirmationGUI();
// set confirm/cancel commands
$oConfirmationGUI->setFormAction($this->ctrl->getFormAction($this, "performDeleteTrustee"));
$oConfirmationGUI->setHeaderText($this->lng->txt("paya_sure_delete_selected_trustees"));
$oConfirmationGUI->setCancel($this->lng->txt("cancel"), "cancelDelete");
$oConfirmationGUI->setConfirm($this->lng->txt("confirm"), "performDeleteTrustee");
foreach ($this->trustee_obj->getTrustees() as $trustee) {
$delete_row = '';
if (in_array($trustee['trustee_id'], $_POST['trustee'])) {
if ($tmp_obj = ilObjectFactory::getInstanceByObjId($trustee['trustee_id'], false)) {
$delete_row = $tmp_obj->getLogin() . ' -> ' . $tmp_obj->getFirstname() . ' ' . $tmp_obj->getLastname();
}
}
$oConfirmationGUI->addItem('', $delete_row, $delete_row);
}
$this->tpl->setVariable("CONFIRMATION", $oConfirmationGUI->getHTML());
}
if (!count($this->trustee_obj->getTrustees())) {
ilUtil::sendInfo($this->lng->txt('paya_no_trustees'));
return true;
}
$counter = 0;
$f_result = array();
require_once 'Services/Mail/classes/class.ilMailFormCall.php';
foreach ($this->trustee_obj->getTrustees() as $trustee) {
// GET USER OBJ
if ($tmp_obj = ilObjectFactory::getInstanceByObjId($trustee['trustee_id'], false)) {
$f_result[$counter]['trustee_id'] = ilUtil::formCheckbox(in_array($trustee['trustee_id'], $_SESSION['paya_delete_trustee']) ? 1 : 0, "trustee[]", $trustee['trustee_id']);
$f_result[$counter]['login'] = $tmp_obj->getLogin();
$f_result[$counter]['firstname'] = $tmp_obj->getFirstname();
$f_result[$counter]['lastname'] = $tmp_obj->getLastname();
$f_result[$counter]['perm_stat'] = ilUtil::formSelect((int) $trustee['perm_stat'], 'perm_stat[' . $trustee['trustee_id'] . ']', $actions, false, true);
$f_result[$counter]['perm_obj'] = ilUtil::formSelect((int) $trustee['perm_obj'], 'perm_obj[' . $trustee['trustee_id'] . ']', $actions, false, true);
$f_result[$counter]['perm_coupons'] = ilUtil::formSelect((int) $trustee['perm_coupons'], 'perm_coupons[' . $trustee['trustee_id'] . ']', $actions, false, true);
# $link_mail = "<a target=\"_blank\" href=\"./ilias.php?baseClass=ilMailGUI&type=new&rcp_to=".
# $tmp_obj->getLogin()."\"".$img_mail."</a>";
$url_mail = ilMailFormCall::getLinkTarget($this, '', array(), array('type' => 'new', 'rcp_to' => $tmp_obj->getLogin()));
$link_mail = "<div class=\"il_ContainerItemCommands\"><a class=\"il_ContainerItemCommand\" href=\"" . $url_mail . "\">" . $this->lng->txt("mail") . "</a></div>";
$f_result[$counter]['options'] = $link_mail;
unset($tmp_obj);
++$counter;
}
}
return $this->__showTrusteesTable($f_result);
}
示例4: addToForm
public function addToForm()
{
$text = new ilTextInputGUI($this->getTitle(), $this->getElementId());
$text->setSize(20);
$text->setMaxLength(512);
$text->setSubmitFormOnEnter(true);
$text->setValue($this->getADT()->getText());
$this->addToParentElement($text);
}
示例5: initConfigurationForm
/**
* Init configuration form.
*
* @return object form object
*/
public function initConfigurationForm()
{
global $lng, $ilCtrl, $ilDB;
$pl = $this->getPluginObject();
$this->getPluginObject()->includeClass('class.ilOpenmeetingsConfig.php');
$this->object = ilOpenmeetingsConfig::getInstance();
include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
$this->form = new ilPropertyFormGUI();
$this->form->setTitle($pl->txt("openmeetings_plugin_configuration"));
$this->form->setFormAction($ilCtrl->getFormAction($this));
$this->form->addCommandButton("save", $lng->txt("save"));
// url (text)
$ti = new ilTextInputGUI($pl->txt("url"), "frmurl");
$ti->setRequired(true);
$ti->setMaxLength(256);
$ti->setSize(60);
$this->form->addItem($ti);
// port (text)
$ti = new ilTextInputGUI($pl->txt("port"), "frmport");
$ti->setRequired(true);
$ti->setMaxLength(10);
$ti->setSize(10);
$this->form->addItem($ti);
// appname
$ti = new ilTextInputGUI($pl->txt("appname"), "frmappname");
$ti->setRequired(true);
$ti->setMaxLength(32);
$ti->setSize(20);
$this->form->addItem($ti);
// username (text)
$ti = new ilTextInputGUI($pl->txt("username"), "frmusername");
$ti->setRequired(true);
$ti->setMaxLength(256);
$ti->setSize(20);
$this->form->addItem($ti);
// password (text)
$ti = new ilPasswordInputGUI($pl->txt("password"), "frmpassword");
$ti->setRequired(true);
$ti->setMaxLength(256);
$ti->setSize(20);
$ti->setRetype(false);
$this->form->addItem($ti);
foreach ($this->fields as $key => $item) {
$field = new $item["type"]($this->plugin_object->txt('conf_' . $key), $key);
$field->setInfo($this->plugin_object->txt($item["info"]));
if (is_array($item["subelements"])) {
foreach ($item["subelements"] as $subkey => $subitem) {
$subfield = new $subitem["type"]($this->plugin_object->txt('conf_' . $key . "_" . $subkey), $subkey);
$subfield->setInfo($this->plugin_object->txt($subitem["info"]));
$field->addSubItem($subfield);
}
}
$this->form->addItem($field);
}
return $this->form;
}
示例6: initFilter
/**
* Init filter
*/
function initFilter()
{
global $lng, $rbacreview, $ilUser;
// title
include_once "./Services/Form/classes/class.ilTextInputGUI.php";
$ti = new ilTextInputGUI($lng->txt("title"), "title");
$ti->setMaxLength(64);
$ti->setSize(20);
$ti->setValidationRegexp('/^[^%]+$/is');
$this->addFilterItem($ti);
$ti->readFromSession();
$this->filter["title"] = $ti->getValue();
}
示例7: _initForm
/**
* Init Social Bookmark edit/create Form
*
* @param ilObjectGUI $formhandlerObject taken as form target
* @param int $mode "create" / "edit"
*/
public static function _initForm($formhandlerObject, $mode = "create", $id = 0)
{
global $lng, $ilCtrl;
include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
$form = new ilPropertyFormGUI();
$form->setMultipart(true);
// File Title
$in_title = new ilTextInputGUI($lng->txt("title"), "title");
$in_title->setMaxLength(128);
$in_title->setSize(40);
$in_title->setRequired(true);
$form->addItem($in_title);
// Link
$in_link = new ilTextInputGUI($lng->txt("link"), "link");
$in_link->setMaxLength(300);
$in_link->setSize(40);
$in_link->setRequired(true);
$in_link->setInfo($lng->txt('socialbm_link_description'));
$form->addItem($in_link);
// File
$in_file = new ilFileInputGUI($lng->txt("file"), "image_file");
$in_file->setSuffixes(array('bmp', 'gif', 'jpg', 'jpeg', 'png'));
$form->addItem($in_file);
// Activate on submit
$in_activate = new ilCheckboxInputGUI($lng->txt("activate"), "activate");
$in_activate->setValue('1');
$form->addItem($in_activate);
// save and cancel commands
if ($mode == "create") {
$form->addCommandButton("createSocialBookmark", $lng->txt("create"));
$form->addCommandButton("editSocialBookmarks", $lng->txt("cancel"));
$form->setTitle($lng->txt("adm_social_bm_create"));
$in_file->setRequired(true);
} else {
if ($mode == "update") {
$in_hidden = new ilHiddenInputGUI("sbm_id", $id);
$form->addItem($in_hidden);
$form->addCommandButton("updateSocialBookmark", $lng->txt("update"));
$form->addCommandButton("cancel", $lng->txt("cancel"));
$form->setTitle($lng->txt("adm_social_bm_edit"));
$in_file->setRequired(false);
}
}
$form->setTableWidth("60%");
$form->setFormAction($ilCtrl->getFormAction($formhandlerObject));
return $form;
}
示例8: owner
function owner()
{
$this->__initSubTabs("owner");
include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
$form = new ilPropertyFormGUI();
$form->setFormAction($this->ctrl->getFormAction($this, "owner"));
$form->setTitle($this->lng->txt("info_owner_of_object"));
$login = new ilTextInputGUI($this->lng->txt("login"), "owner");
$login->setDataSource($this->ctrl->getLinkTargetByClass(array(get_class($this), 'ilRepositorySearchGUI'), 'doUserAutoComplete', '', true));
$login->setRequired(true);
$login->setSize(50);
$login->setInfo($this->lng->txt("chown_warning"));
$login->setValue(ilObjUser::_lookupLogin($this->gui_obj->object->getOwner()));
$form->addItem($login);
$form->addCommandButton("changeOwner", $this->lng->txt("change_owner"));
$this->tpl->setContent($form->getHTML());
}
示例9: initConfigurationForm
/**
* Init configuration form.
*
* @return object form object
*/
public function initConfigurationForm()
{
global $lng, $ilCtrl;
$pl = $this->getPluginObject();
include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
$form = new ilPropertyFormGUI();
// setting 1 (a checkbox)
$cb = new ilCheckboxInputGUI($pl->txt("setting_1"), "setting_1");
$form->addItem($cb);
// setting 2 (text)
$ti = new ilTextInputGUI($pl->txt("setting_2"), "setting_2");
$ti->setRequired(true);
$ti->setMaxLength(10);
$ti->setSize(10);
$form->addItem($ti);
$form->addCommandButton("save", $lng->txt("save"));
$form->setTitle($pl->txt("example_plugin_configuration"));
$form->setFormAction($ilCtrl->getFormAction($this));
return $form;
}
示例10: initFilter
/**
* Init filter
*/
public function initFilter()
{
global $lng;
$this->setDisableFilterHiding(true);
// object type selection
include_once "./Services/Form/classes/class.ilSelectInputGUI.php";
$si = new ilSelectInputGUI($lng->txt("obj_type"), "type");
$si->setOptions($this->getPossibleTypes(true, false, true));
$this->addFilterItem($si);
$si->readFromSession();
if (!$si->getValue()) {
$si->setValue("crs");
}
$this->filter["type"] = $si->getValue();
// title/description
include_once "./Services/Form/classes/class.ilTextInputGUI.php";
$ti = new ilTextInputGUI($lng->txt("trac_title_description"), "query");
$ti->setMaxLength(64);
$ti->setSize(20);
$this->addFilterItem($ti);
$ti->readFromSession();
$this->filter["query"] = $ti->getValue();
// read_count/spent_seconds
$si = new ilSelectInputGUI($lng->txt("trac_figure"), "figure");
$si->setOptions(array("read_count" => $lng->txt("trac_read_count"), "spent_seconds" => $lng->txt("trac_spent_seconds")));
$this->addFilterItem($si);
$si->readFromSession();
if (!$si->getValue()) {
$si->setValue("read_count");
}
$this->filter["measure"] = $si->getValue();
// year/month
$si = new ilSelectInputGUI($lng->txt("year") . " / " . $lng->txt("month"), "yearmonth");
$si->setOptions($this->getMonthsFilter());
$this->addFilterItem($si);
$si->readFromSession();
if (!$si->getValue()) {
$si->setValue(date("Y-m"));
}
$this->filter["yearmonth"] = $si->getValue();
}
示例11: initConfigurationForm
/**
* Init configuration form.
*
* @return object form object
*/
public function initConfigurationForm()
{
global $lng, $ilCtrl;
$pl = $this->getPluginObject();
include_once "Services/Form/classes/class.ilPropertyFormGUI.php";
$form = new ilPropertyFormGUI();
// Setting for the ephorus logging
$ephorus_logging = new ilCheckboxInputGUI($pl->txt("ephorus_logging"), "ephorus_logging");
$ephorus_logging->setValue(1);
$ephorus_logging->setInfo($pl->txt("ephorus_logging_description"));
$form->addItem($ephorus_logging);
// Setting for the hand-in code
$handin_code = new ilTextInputGUI($pl->txt("handin_code"), "handin_code");
$handin_code->setRequired(true);
$form->addItem($handin_code);
// Setting for the hand-in address
$handin_address = new ilTextInputGUI($pl->txt("handin_address"), "handin_address");
$handin_address->setSize(80);
$handin_address->setRequired(true);
$form->addItem($handin_address);
// Setting for the index address
$index_address = new ilTextInputGUI($pl->txt("index_address"), "index_address");
$index_address->setSize(80);
$index_address->setRequired(true);
$form->addItem($index_address);
// Setting for the processtype
$processtype = new ilSelectInputGUI($pl->txt("default_processtype"), "processtype");
$processtype->setOptions(array(1 => $pl->txt("default"), 3 => $pl->txt("private")));
$processtype->setInfo($pl->txt("default_processtype_description"));
$form->addItem($processtype);
// Setting for the disclosure
$disclosure = new ilTextAreaInputGUI($pl->txt("disclosure"), "disclosure");
$disclosure->setCols(79);
$disclosure->setRows(4);
$form->addItem($disclosure);
$form->addCommandButton("save", $lng->txt("save") . " / " . $pl->txt("check_connection"));
$form->setTitle($pl->txt("ephorus_plugin_configuration"));
$form->setFormAction($ilCtrl->getFormAction($this));
return $form;
}
示例12: initForm
/**
* get html
*
* @access public
* @param
* @return
*/
public function initForm()
{
$rec = new ilSelectInputGUI($this->lng->txt('cal_recurrences'), 'frequence');
$rec->setRequired(true);
$rec->setOptions(array(0 => $this->lng->txt('cal_no_recurrence'), ilCalendarRecurrence::FREQ_DAILY => $this->lng->txt('cal_rec_daily'), ilCalendarRecurrence::FREQ_WEEKLY => $this->lng->txt('cal_rec_weekly'), ilCalendarRecurrence::FREQ_MONTHLY => $this->lng->txt('cal_rec_monthly'), ilCalendarRecurrence::FREQ_YEARLY => $this->lng->txt('cal_rec_yearly')));
$rec->setValue($this->recurrence->getFrequenceType());
$this->form->addItem($rec);
// DAILY part
$interval = new ilTextInputGUI($this->lng->txt('interval'), 'interval');
$interval->setSize(2);
$interval->setMaxLength(3);
$interval->setValue($this->recurrence->getInterval() ? $this->recurrence->getInterval() : 1);
$interval->setInfo($this->lng->txt('interval_info'));
$rec->addSubItem($interval);
// Weekly
$check = new ilCheckboxInputGUI($this->lng->txt('Su_short'), 'w_day[0]');
$check->setChecked(true);
$rec->addSubItem($check);
$check = new ilCheckboxInputGUI($this->lng->txt('Mo_short'), 'w_day[1]');
$check->setChecked(true);
$rec->addSubItem($check);
$check = new ilCheckboxInputGUI($this->lng->txt('Tu_short'), 'w_day[2]');
$check->setChecked(true);
$rec->addSubItem($check);
$check = new ilCheckboxInputGUI($this->lng->txt('We_short'), 'w_day[3]');
$check->setChecked(true);
$rec->addSubItem($check);
$check = new ilCheckboxInputGUI($this->lng->txt('Th_short'), 'w_day[4]');
$check->setChecked(true);
$rec->addSubItem($check);
$check = new ilCheckboxInputGUI($this->lng->txt('Fr_short'), 'w_day[5]');
$check->setChecked(true);
$rec->addSubItem($check);
$check = new ilCheckboxInputGUI($this->lng->txt('Sa_short'), 'w_day[6]');
$check->setChecked(true);
$rec->addSubItem($check);
}
示例13: initFilter
/**
* Init filter
*/
function initFilter()
{
global $lng, $rbacreview, $ilUser, $ilDB;
// term
include_once "./Services/Form/classes/class.ilTextInputGUI.php";
$ti = new ilTextInputGUI($lng->txt("cont_term"), "term");
$ti->setMaxLength(64);
$ti->setSize(20);
$ti->setSubmitFormOnEnter(true);
$this->addFilterItem($ti);
$ti->readFromSession();
$this->filter["term"] = $ti->getValue();
// definition
if ($ilDB->getDBType() != "oracle") {
include_once "./Services/Form/classes/class.ilTextInputGUI.php";
$ti = new ilTextInputGUI($lng->txt("cont_definition"), "defintion");
$ti->setMaxLength(64);
$ti->setSize(20);
$ti->setSubmitFormOnEnter(true);
$this->addFilterItem($ti);
$ti->readFromSession();
$this->filter["definition"] = $ti->getValue();
}
}
示例14: showTopicForm
public function showTopicForm()
{
$this->tpl->addBlockFile('ADM_CONTENT', 'adm_content', 'tpl.main_view.html', 'Services/Payment');
include_once 'Services/Form/classes/class.ilPropertyFormGUI.php';
$form = new ilPropertyFormGUI();
if ($this->objCurrentTopic->getId()) {
$this->ctrl->setParameter($this, 'topic_id', $this->objCurrentTopic->getId());
}
$form->setFormAction($this->ctrl->getFormAction($this, 'saveTopic'));
$form->setTitle($this->lng->txt($this->objCurrentTopic->getId() ? 'edit_topic' : 'new_topic'));
$title = new ilTextInputGUI($this->lng->txt('title'), 'title');
$title->setValue($this->objCurrentTopic->getTitle());
$title->setRequired(true);
$form->addItem($title);
$sorting = new ilTextInputGUI($this->lng->txt('pay_sorting_value'), 'sorting');
$sorting->setValue($this->objCurrentTopic->getSorting());
$sorting->setMaxLength(11);
$sorting->setSize(11);
$form->addItem($sorting);
$form->addCommandButton('saveTopic', $this->lng->txt('save'));
$form->addCommandButton('showTopicsList', $this->lng->txt('cancel'));
$this->tpl->setVariable('FORM', $form->getHTML());
return true;
}
示例15: initFormSearch
public function initFormSearch()
{
global $ilCtrl;
include_once './Services/Form/classes/class.ilPropertyFormGUI.php';
$this->form = new ilPropertyFormGUI();
$this->form->setFormAction($this->ctrl->getFormAction($this, 'search'));
$this->form->setTitle($this->getTitle());
$this->form->addCommandButton('performSearch', $this->lng->txt('search'));
$this->form->addCommandButton('cancel', $this->lng->txt('cancel'));
$kind = new ilRadioGroupInputGUI($this->lng->txt('search_type'), 'search_for');
$kind->setValue($this->search_type);
$this->form->addItem($kind);
// Users
$users = new ilRadioOption($this->lng->txt('search_for_users'), 'usr');
// UDF
include_once 'Services/Search/classes/class.ilUserSearchOptions.php';
foreach (ilUserSearchOptions::_getSearchableFieldsInfo(!$this->isSearchableCheckEnabled()) as $info) {
switch ($info['type']) {
case FIELD_TYPE_UDF_SELECT:
case FIELD_TYPE_SELECT:
$sel = new ilSelectInputGUI($info['lang'], "rep_query[usr][" . $info['db'] . "]");
$sel->setOptions($info['values']);
$users->addSubItem($sel);
break;
case FIELD_TYPE_UDF_TEXT:
case FIELD_TYPE_TEXT:
if (isset($info['autoComplete']) and $info['autoComplete']) {
$ilCtrl->setParameterByClass(get_class($this), 'autoCompleteField', $info['db']);
$ul = new ilTextInputGUI($info['lang'], "rep_query[usr][" . $info['db'] . "]");
$ul->setDataSource($ilCtrl->getLinkTarget($this, "doUserAutoComplete", "", true));
$ul->setSize(30);
$ul->setMaxLength(120);
$users->addSubItem($ul);
} else {
$txt = new ilTextInputGUI($info['lang'], "rep_query[usr][" . $info['db'] . "]");
$txt->setSize(30);
$txt->setMaxLength(120);
$users->addSubItem($txt);
}
break;
}
}
$kind->addOption($users);
// Role
$roles = new ilRadioOption($this->lng->txt('search_for_role_members'), 'role');
$role = new ilTextInputGUI($this->lng->txt('search_role_title'), 'rep_query[role][title]');
$role->setSize(30);
$role->setMaxLength(120);
$roles->addSubItem($role);
$kind->addOption($roles);
// Course
$groups = new ilRadioOption($this->lng->txt('search_for_crs_members'), 'crs');
$group = new ilTextInputGUI($this->lng->txt('search_crs_title'), 'rep_query[crs][title]');
$group->setSize(30);
$group->setMaxLength(120);
$groups->addSubItem($group);
$kind->addOption($groups);
// Group
$groups = new ilRadioOption($this->lng->txt('search_for_grp_members'), 'grp');
$group = new ilTextInputGUI($this->lng->txt('search_grp_title'), 'rep_query[grp][title]');
$group->setSize(30);
$group->setMaxLength(120);
$groups->addSubItem($group);
$kind->addOption($groups);
}