Stud.IP  trunk Revision
extern_functions.inc.php File Reference

Namespaces

 studip_extern
 

Functions

 get_all_statusgruppen ($range_id)
 
 get_statusgruppen_by_id ($range_id, $ids)
 
 print_footer ()
 
 mila_extern ($string, $length)
 
 get_start_item_id ($object_id)
 
 get_generic_datafields ($object_type)
 
 array_condense ($array)
 
 update_generic_datafields (&$config, &$data_fields, &$field_names, $object_type)
 
 get_default_generic_datafields (&$default_config, $object_type)
 
 enable_sri ($i_id, $enable)
 
 sri_is_enabled ($i_id)
 
 download_config ($range_id, $config_id, $module)
 
 store_config ($range_id, $config_id, $jsonconfig)
 
 check_config ($data, $type)
 
 indentJson ($str)
 

Function Documentation

◆ array_condense()

array_condense (   $array)
Here is the caller graph for this function:

◆ check_config()

check_config (   $data,
  $type 
)

◆ download_config()

download_config (   $range_id,
  $config_id,
  $module 
)
Here is the call graph for this function:

◆ enable_sri()

enable_sri (   $i_id,
  $enable 
)
Here is the call graph for this function:

◆ get_all_statusgruppen()

get_all_statusgruppen (   $range_id)

Returns all statusgruppen for the given range.

If there is no statusgruppe for the given range, it returns FALSE.

public

Parameters
string$range_id
Returns
array (structure statusgruppe_id => name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_default_generic_datafields()

get_default_generic_datafields ( $default_config,
  $object_type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_generic_datafields()

get_generic_datafields (   $object_type)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_start_item_id()

get_start_item_id (   $object_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_statusgruppen_by_id()

get_statusgruppen_by_id (   $range_id,
  $ids 
)

Returns an array containing the ids as key and the name as value for every given name of statusgruppe.

If there is no known statusgruppe in the given range and name, it returns FALSE.

public

Parameters
string$range_id
string$idscomma separated list of statusgruppe_id for statusgruppe valid for the given range (syntax: 'id1','id2',...)
Returns
array (structure statusgruppe_id => name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ indentJson()

indentJson (   $str)
Here is the caller graph for this function:

◆ mila_extern()

mila_extern (   $string,
  $length 
)
Here is the caller graph for this function:

◆ print_footer()

print_footer ( )
Here is the call graph for this function:

◆ sri_is_enabled()

sri_is_enabled (   $i_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ store_config()

store_config (   $range_id,
  $config_id,
  $jsonconfig 
)

◆ update_generic_datafields()

update_generic_datafields ( $config,
$data_fields,
$field_names,
  $object_type 
)
Here is the call graph for this function:
Here is the caller graph for this function: