Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
extern_functions.inc.php File Reference

Namespaces

namespace  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)

Variables

 if (version_compare(PHP_VERSION, '5.2', '<'))

Function Documentation

array_condense (   $array)

Here is the caller graph for this function:

check_config (   $data,
  $type 
)
download_config (   $range_id,
  $config_id,
  $module 
)

Here is the call graph for this function:

enable_sri (   $i_id,
  $enable 
)
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 ( $default_config,
  $object_type 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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 (   $object_id)

Here is the caller graph for this function:

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 (   $str)

Here is the caller graph for this function:

mila_extern (   $string,
  $length 
)

Here is the caller graph for this function:

print_footer ( )

Here is the call graph for this function:

sri_is_enabled (   $i_id)

Here is the caller graph for this function:

store_config (   $range_id,
  $config_id,
  $jsonconfig 
)
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:

Variable Documentation

if(version_compare(PHP_VERSION, '5.2', '<'))