예제 #1
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab += Location::getSearchOptionsToAdd();
     $tab[3]['datatype'] = 'itemlink';
     return $tab;
 }
예제 #2
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'code';
     $tab[14]['name'] = __('Code', 'resources');
     $tab[15]['table'] = $this->getTable();
     $tab[15]['field'] = __('Short name', 'resources');
     $tab[17]['table'] = 'glpi_plugin_resources_professions';
     $tab[17]['field'] = 'name';
     $tab[17]['name'] = __('Profession', 'resources');
     $tab[17]['datatype'] = 'dropdown';
     $tab[18]['table'] = $this->getTable();
     $tab[18]['field'] = 'is_active';
     $tab[18]['name'] = __('Active');
     $tab[18]['datatype'] = 'bool';
     $tab[19]['table'] = $this->getTable();
     $tab[19]['field'] = 'begin_date';
     $tab[19]['name'] = __('Begin date');
     $tab[19]['datatype'] = 'date';
     $tab[20]['table'] = $this->getTable();
     $tab[20]['field'] = 'end_date';
     $tab[20]['name'] = __('End date');
     $tab[20]['datatype'] = 'date';
     return $tab;
 }
예제 #3
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'code';
     $tab[14]['name'] = __('Code', 'resources');
     return $tab;
 }
예제 #4
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[10]['table'] = $this->getTable();
     $tab[10]['field'] = 'essid';
     $tab[10]['name'] = __('ESSID');
     $tab[10]['datatype'] = 'string';
     return $tab;
 }
예제 #5
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'value';
     $tab[11]['name'] = _n('Criterion', 'Criteria', 1);
     $tab[11]['datatype'] = 'string';
     return $tab;
 }
예제 #6
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  */
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab += Location::getSearchOptionsToAdd();
     $tab[3]['datatype'] = 'itemlink';
     $tab[3]['itemlink_type'] = 'Location';
     return $tab;
 }
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'value';
     $tab[11]['name'] = $LANG['rulesengine'][16];
     return $tab;
 }
예제 #8
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'tag';
     $tab[11]['name'] = __('ID TAG');
     $tab[11]['datatype'] = 'number';
     return $tab;
 }
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'content';
     $tab[11]['name'] = __('Content');
     $tab[11]['datatype'] = 'text';
     $tab[11]['massiveactoin'] = false;
     return $tab;
 }
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'color';
     $tab[11]['name'] = __('Color');
     $tab[11]['datatype'] = 'color';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_finished';
     $tab[12]['name'] = __('Finished state');
     $tab[12]['datatype'] = 'bool';
     return $tab;
 }
예제 #11
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[2303]['table'] = $this->getTable();
     $tab[2303]['field'] = 'color';
     $tab[2303]['name'] = __('Associated color', 'projet');
     $tab[2303]['datatype'] = 'text';
     $tab[2304]['table'] = $this->getTable();
     $tab[2304]['field'] = 'type';
     $tab[2304]['name'] = __('Finished', 'projet');
     $tab[2304]['datatype'] = 'bool';
     return $tab;
 }
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = 'glpi_plugin_timelineticket_grouplevels';
     $tab[11]['field'] = 'rank';
     $tab[11]['name'] = __('Position');
     $tab[11]['massiveaction'] = false;
     $tab[12]['table'] = 'glpi_plugin_timelineticket_grouplevels';
     $tab[12]['field'] = 'groups';
     $tab[12]['name'] = __('List of associated groups', 'timelineticket');
     $tab[12]['massiveaction'] = false;
     $tab[12]['nosearch'] = true;
     return $tab;
 }
예제 #13
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'value';
     $tab[11]['name'] = __('Value');
     $tab[11]['datatype'] = 'text';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'type';
     $tab[12]['name'] = _n('Type', 'Types', 1);
     $tab[12]['searchtype'] = array('equals', 'notequals');
     $tab[12]['datatype'] = 'specific';
     return $tab;
 }
예제 #14
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[4]['name'] = __('Content');
     $tab[4]['field'] = 'content';
     $tab[4]['table'] = $this->getTable();
     $tab[4]['datatype'] = 'text';
     $tab[4]['htmltext'] = true;
     $tab[3]['name'] = __('Task category');
     $tab[3]['field'] = 'name';
     $tab[3]['table'] = getTableForItemType('TaskCategory');
     $tab[3]['datatype'] = 'dropdown';
     return $tab;
 }
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'is_helpdesk_default';
     $tab[14]['name'] = __('Default for tickets');
     $tab[14]['datatype'] = 'bool';
     $tab[14]['massiveaction'] = false;
     $tab[15]['table'] = $this->getTable();
     $tab[15]['field'] = 'is_mail_default';
     $tab[15]['name'] = __('Default for mail recipients');
     $tab[15]['datatype'] = 'bool';
     $tab[15]['massiveaction'] = false;
     return $tab;
 }
예제 #16
0
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'is_helpdesk_default';
     $tab[14]['name'] = $LANG['tracking'][9];
     $tab[14]['datatype'] = 'bool';
     $tab[14]['massiveaction'] = false;
     $tab[15]['table'] = $this->getTable();
     $tab[15]['field'] = 'is_mail_default';
     $tab[15]['name'] = $LANG['tracking'][10];
     $tab[15]['datatype'] = 'bool';
     $tab[15]['massiveaction'] = false;
     return $tab;
 }
예제 #17
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[2303]['table'] = $this->getTable();
     $tab[2303]['field'] = 'color';
     $tab[2303]['name'] = __('Associated color', 'projet');
     $tab[2303]['datatype'] = 'text';
     $tab[2304]['table'] = $this->getTable();
     $tab[2304]['field'] = 'for_dependency';
     $tab[2304]['name'] = __('Finished task', 'projet');
     $tab[2304]['datatype'] = 'bool';
     $tab[2305]['table'] = $this->getTable();
     $tab[2305]['field'] = 'for_planning';
     $tab[2305]['name'] = __('Used for planning', 'projet');
     $tab[2305]['datatype'] = 'bool';
     return $tab;
 }
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'begin_date';
     $tab[11]['name'] = __('Start');
     $tab[11]['datatype'] = 'date';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'end_date';
     $tab[12]['name'] = __('End');
     $tab[12]['datatype'] = 'date';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'is_perpetual';
     $tab[13]['name'] = __('Recurrent');
     $tab[13]['datatype'] = 'bool';
     return $tab;
 }
예제 #19
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'short_name';
     $tab[14]['name'] = __('Short name', 'resources');
     $tab[15]['table'] = $this->getTable();
     $tab[15]['field'] = 'is_active';
     $tab[15]['name'] = __('Active');
     $tab[15]['datatype'] = 'bool';
     $tab[16]['table'] = $this->getTable();
     $tab[16]['field'] = 'is_leaving_state';
     $tab[16]['name'] = __("Employment state at leaving's resource", "resources");
     $tab[16]['datatype'] = 'bool';
     $tab[16]['massiveaction'] = false;
     return $tab;
 }
예제 #20
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'begin_date';
     $tab[11]['name'] = $LANG['buttons'][33];
     $tab[11]['datatype'] = 'date';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'end_date';
     $tab[12]['name'] = $LANG['buttons'][32];
     $tab[12]['datatype'] = 'date';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'is_perpetual';
     $tab[13]['name'] = $LANG['calendar'][3];
     $tab[13]['datatype'] = 'bool';
     return $tab;
 }
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[4]['table'] = $this->getTable();
     $tab[4]['field'] = 'itemtype';
     $tab[4]['name'] = $LANG['common'][17];
     $tab[4]['massiveaction'] = false;
     $tab[4]['datatype'] = 'itemtypename';
     $tab[4]['forcegroupby'] = true;
     $tab[6]['table'] = $this->getTable();
     $tab[6]['field'] = 'field';
     $tab[6]['name'] = $LANG['rulesengine'][12];
     $tab[6]['datatype'] = 'string';
     $tab[7]['table'] = $this->getTable();
     $tab[7]['field'] = 'value';
     $tab[7]['name'] = $LANG['rulesengine'][13];
     $tab[7]['datatype'] = 'string';
     return $tab;
 }
예제 #22
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'code';
     $tab[14]['name'] = __('Code', 'resources');
     $tab[15]['table'] = $this->getTable();
     $tab[15]['field'] = 'use_employee_wizard';
     $tab[15]['name'] = __('Enter general information about the resource', 'resources');
     $tab[15]['datatype'] = 'bool';
     $tab[16]['table'] = $this->getTable();
     $tab[16]['field'] = 'use_need_wizard';
     $tab[16]['name'] = __('Enter employer information about the resource', 'resources');
     $tab[16]['datatype'] = 'bool';
     $tab[17]['table'] = $this->getTable();
     $tab[17]['field'] = 'use_picture_wizard';
     $tab[17]['name'] = __('Add a picture', 'resources');
     $tab[17]['datatype'] = 'bool';
     return $tab;
 }
예제 #23
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[3]['table'] = $this->getTable();
     $tab[3]['field'] = 'ext';
     $tab[3]['name'] = $LANG['document'][9];
     $tab[6]['table'] = $this->getTable();
     $tab[6]['field'] = 'icon';
     $tab[6]['name'] = $LANG['document'][10];
     $tab[6]['massiveaction'] = false;
     $tab[4]['table'] = $this->getTable();
     $tab[4]['field'] = 'mime';
     $tab[4]['name'] = $LANG['document'][4];
     $tab[5]['table'] = $this->getTable();
     $tab[5]['field'] = 'is_uploadable';
     $tab[5]['name'] = $LANG['document'][15];
     $tab[5]['datatype'] = 'bool';
     return $tab;
 }
예제 #24
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[3]['table'] = $this->getTable();
     $tab[3]['field'] = 'ext';
     $tab[3]['name'] = __('Extension');
     $tab[3]['datatype'] = 'string';
     $tab[6]['table'] = $this->getTable();
     $tab[6]['field'] = 'icon';
     $tab[6]['name'] = __('Icon');
     $tab[6]['massiveaction'] = false;
     $tab[6]['datatype'] = 'specific';
     $tab[4]['table'] = $this->getTable();
     $tab[4]['field'] = 'mime';
     $tab[4]['name'] = __('MIME type');
     $tab[4]['datatype'] = 'string';
     $tab[5]['table'] = $this->getTable();
     $tab[5]['field'] = 'is_uploadable';
     $tab[5]['name'] = __('Authorized upload');
     $tab[5]['datatype'] = 'bool';
     return $tab;
 }
예제 #25
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'is_helpdesk_default';
     $tab[14]['name'] = __('Default for tickets');
     $tab[14]['datatype'] = 'bool';
     $tab[14]['massiveaction'] = false;
     $tab[182]['table'] = $this->getTable();
     $tab[182]['field'] = 'is_followup_default';
     $tab[182]['name'] = __('Default for followups');
     $tab[182]['datatype'] = 'bool';
     $tab[182]['massiveaction'] = false;
     $tab[15]['table'] = $this->getTable();
     $tab[15]['field'] = 'is_mail_default';
     $tab[15]['name'] = __('Default for mail recipients');
     $tab[15]['datatype'] = 'bool';
     $tab[15]['massiveaction'] = false;
     $tab[183]['table'] = $this->getTable();
     $tab[183]['field'] = 'is_mailfollowup_default';
     $tab[183]['name'] = __('Default for followup mail recipients');
     $tab[183]['datatype'] = 'bool';
     $tab[183]['massiveaction'] = false;
     $tab[8]['table'] = $this->getTable();
     $tab[8]['field'] = 'is_active';
     $tab[8]['name'] = __('Active');
     $tab[8]['datatype'] = 'bool';
     $tab[180]['table'] = $this->getTable();
     $tab[180]['field'] = 'is_ticketheader';
     $tab[180]['name'] = __('Request source visible for tickets');
     $tab[180]['datatype'] = 'bool';
     $tab[181]['table'] = $this->getTable();
     $tab[181]['field'] = 'is_ticketfollowup';
     $tab[181]['name'] = __('Request source visible for followups');
     $tab[181]['datatype'] = 'bool';
     return $tab;
 }
예제 #26
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[4]['table'] = $this->getTable();
     $tab[4]['field'] = 'itemtype';
     $tab[4]['name'] = __('Type');
     $tab[4]['massiveaction'] = false;
     $tab[4]['datatype'] = 'itemtypename';
     $tab[4]['forcegroupby'] = true;
     $tab[6]['table'] = $this->getTable();
     $tab[6]['field'] = 'field';
     $tab[6]['name'] = _n('Field', 'Fields', 1);
     $tab[6]['massiveaction'] = false;
     $tab[6]['datatype'] = 'specific';
     $tab[6]['additionalfields'] = array('itemtype');
     $tab[7]['table'] = $this->getTable();
     $tab[7]['field'] = 'value';
     $tab[7]['name'] = __('Value');
     // Is also specific
     $tab[7]['datatype'] = 'specific';
     $tab[7]['additionalfields'] = array('itemtype', 'field');
     $tab[7]['massiveaction'] = false;
     return $tab;
 }
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'is_active';
     $tab[11]['name'] = __('Active');
     $tab[11]['datatype'] = 'bool';
     $tab[12]['table'] = 'glpi_tickettemplates';
     $tab[12]['field'] = 'name';
     $tab[12]['name'] = _n('Ticket template', 'Ticket templates', 1);
     $tab[12]['datatype'] = 'itemlink';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'begin_date';
     $tab[13]['name'] = __('Start date');
     $tab[13]['datatype'] = 'datetime';
     $tab[17]['table'] = $this->getTable();
     $tab[17]['field'] = 'end_date';
     $tab[17]['name'] = __('End date');
     $tab[17]['datatype'] = 'datetime';
     $tab[15]['table'] = $this->getTable();
     $tab[15]['field'] = 'periodicity';
     $tab[15]['name'] = __('Periodicity');
     $tab[15]['datatype'] = 'specific';
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'create_before';
     $tab[14]['name'] = __('Preliminary creation');
     $tab[14]['datatype'] = 'timestamp';
     $tab[16]['table'] = 'glpi_calendars';
     $tab[16]['field'] = 'name';
     $tab[16]['name'] = _n('Calendar', 'Calendars', 1);
     $tab[16]['datatype'] = 'itemlink';
     return $tab;
 }
예제 #28
0
 /**
  * Get search function for the class
  *
  * @return array of search option
  **/
 function getSearchOptions()
 {
     return parent::getSearchOptions();
 }
예제 #29
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[14]['table'] = 'glpi_plugin_resources_professions';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = __('Profession', 'resources');
     $tab[14]['datatype'] = 'dropdown';
     $tab[15]['table'] = 'glpi_plugin_resources_ranks';
     $tab[15]['field'] = 'name';
     $tab[15]['name'] = __('Rank', 'resources');
     $tab[15]['datatype'] = 'dropdown';
     $tab[17]['table'] = $this->getTable();
     $tab[17]['field'] = 'begin_date';
     $tab[17]['name'] = __('Begin date');
     $tab[17]['datatype'] = 'date';
     $tab[18]['table'] = $this->getTable();
     $tab[18]['field'] = 'end_date';
     $tab[18]['name'] = __('End date');
     $tab[18]['datatype'] = 'date';
     $tab[19]['table'] = $this->getTable();
     $tab[19]['field'] = 'cost';
     $tab[19]['name'] = __('Budget cost', 'resources');
     $tab[19]['datatype'] = 'decimal';
     return $tab;
 }
예제 #30
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'fqdn';
     $tab[11]['name'] = __('FQDN');
     $tab[11]['datatype'] = 'string';
     return $tab;
 }