Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
ExternConfig Class Reference
Inheritance diagram for ExternConfig:
Inheritance graph
Collaboration diagram for ExternConfig:
Collaboration graph

Public Member Functions

 GetInstance ($range_id, $module_name, $config_id= '')
 ExternConfig ($range_id, $module_name, $config_id= '')
 getName ()
 getConfigName ()
 getType ()
 getTypeName ()
getConfiguration ()
 setConfiguration ($config)
 setDefaultConfiguration ($config)
 getParameterNames ()
 getAllParameterNames ()
 getValue ($element_name, $attribute)
 setValue ($element_name, $attribute, $value)
 getAttributes ($element_name, $tag, $second_set=FALSE)
 getTag ($element_name, $tag, $second_set=FALSE)
 restore ($module, $element_name= '', $values= '')
 store ()
 parse ()
 makeId ()
 getId ()
 createConfigName ($range_id)
 setGlobalConfig ($global_config, $registered_elements)
 insertConfiguration ()
 deleteConfiguration ()
 copy ($range_id)
 GetAllConfigurations ($range_id, $type=NULL)
 GetConfigurationMetaData ($range_id, $config_id)
 ExistConfiguration ($range_id, $config_id)
 SetStandardConfiguration ($range_id, $config_id)
 DeleteAllConfigurations ($range_id)
 GetInfo ($range_id, $config_id)
 GetGlobalConfiguration ($range_id)
 ChangeName ($range_id, $module_type, $config_id, $old_name, $new_name)
 GetConfigurationByName ($range_id, $module_type, $name)
 GetStandardConfiguration ($range_id, $type)
 GetInstitutesWithConfigurations ($check_view=null)

Data Fields

 $id = NULL
 $config = array()
 $global_id = NULL
 $module_type
 $module_name
 $config_name
 $range_id

Protected Member Functions

 updateConfiguration ()

Member Function Documentation

ChangeName (   $range_id,
  $module_type,
  $config_id,
  $old_name,
  $new_name 
)
copy (   $range_id)

Here is the call graph for this function:

createConfigName (   $range_id)

Here is the call graph for this function:

Here is the caller graph for this function:

DeleteAllConfigurations (   $range_id)
deleteConfiguration ( )

Reimplemented in ExternConfigIni.

ExistConfiguration (   $range_id,
  $config_id 
)
ExternConfig (   $range_id,
  $module_name,
  $config_id = '' 
)

Here is the call graph for this function:

Here is the caller graph for this function:

GetAllConfigurations (   $range_id,
  $type = NULL 
)

Returns an array of meta data for all configurations of an institute

public

Parameters
string$range_id
string$typeoptional parameter to check the right type of the range_id (the right type of "Einrichtung" sem or fak)
Returns
array ("name" the name of the configuration, "id" the config_id, "is_default" TRUE if it is the default configuration)

Here is the caller graph for this function:

getAllParameterNames ( )
getAttributes (   $element_name,
  $tag,
  $second_set = FALSE 
)

Here is the caller graph for this function:

getConfigName ( )
& getConfiguration ( )

Here is the caller graph for this function:

GetConfigurationByName (   $range_id,
  $module_type,
  $name 
)
GetConfigurationMetaData (   $range_id,
  $config_id 
)

Here is the caller graph for this function:

GetGlobalConfiguration (   $range_id)

Here is the caller graph for this function:

getId ( )
GetInfo (   $range_id,
  $config_id 
)

Here is the call graph for this function:

GetInstance (   $range_id,
  $module_name,
  $config_id = '' 
)

Here is the caller graph for this function:

GetInstitutesWithConfigurations (   $check_view = null)
getName ( )
getParameterNames ( )
GetStandardConfiguration (   $range_id,
  $type 
)
getTag (   $element_name,
  $tag,
  $second_set = FALSE 
)

Here is the call graph for this function:

getType ( )
getTypeName ( )
getValue (   $element_name,
  $attribute 
)
insertConfiguration ( )

Reimplemented in ExternConfigIni, and ExternConfigDb.

Here is the caller graph for this function:

makeId ( )

Here is the caller graph for this function:

parse ( )

Reimplemented in ExternConfigIni, and ExternConfigDb.

Here is the caller graph for this function:

restore (   $module,
  $element_name = '',
  $values = '' 
)

Restores a configuration with all registered elements and their attributes. The restored configuration contains only the attributes of the current registered elements.

public

Parameters
object$moduleThe module whose configuration will be restored
string$element_nameThe name of the element
string[]$values These values overwrites the values in current configuration

Here is the call graph for this function:

setConfiguration (   $config)
setDefaultConfiguration (   $config)

Here is the call graph for this function:

setGlobalConfig (   $global_config,
  $registered_elements 
)
SetStandardConfiguration (   $range_id,
  $config_id 
)
setValue (   $element_name,
  $attribute,
  $value 
)

Here is the caller graph for this function:

store ( )

Reimplemented in ExternConfigIni, and ExternConfigDb.

Here is the caller graph for this function:

updateConfiguration ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

$config = array()
$config_name
$global_id = NULL
$id = NULL
$module_name
$module_type
$range_id

The documentation for this class was generated from the following file: