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

Public Member Functions

 GetInstance ($range_id, $module_name, $config_id=NULL, $set_config=NULL, $global_id=NULL)
 ExternModule ($range_id, $module_name, $config_id=NULL, $set_config=NULL, $global_id=NULL)
 getType ()
 getName ()
getConfig ()
 getDefaultConfig ()
 getRangeDefaultConfig ($range_id= 'global')
 getAllElements ()
 getValue ($attribute)
 setValue ($attribute, $value)
 getAttributes ($element_name, $tag_name)
 getArgs ()
 toString ($args)
 toStringEdit ($open_elements="", $post_vars="", $faulty_values="", $anker="")
 printout ($args)
 printoutEdit ($element_name="", $post_vars="", $faulty_values="", $anker="")
 checkFormValues ($element_name="")
 store ($element_name= '', $values= '')
 getDescription ()
 executeCommand ($element, $command, $value)
 checkRangeId ($range_id)
 printError ()
 getModuleLink ($module_name, $config_id, $sri_link)
 setup ()
 updateGenericDatafields ($element_name, $object_type)
 insertDatafieldMarkers ($object_type, &$markers, $element_name)
 insertPluginMarkers ($plugin_type, &$markers, $element_name)
 setRawOutput ($raw=TRUE)
 extHtmlReady ($text, $allow_links=FALSE)
 extFormatReady ($text)
 extWikiReady ($text, $show_comments= 'all')
 GetOrderedModuleTypes ()
 getLinkToModule ($linked_element_name=null, $params=null, $with_module_params=false, $self=false)
 getLinkToSelf ($params=null, $with_module_params=false, $linked_element_name=null)
 getModuleParams ($params=null)

Static Public Member Functions

static HaveAccessModuleType ($view, $module_id=NULL, $module_name=NULL)

Data Fields

 $type = NULL
 $name
 $config
 $registered_elements = array()
 $elements = array()
 $field_names = array()
 $data_fields = array()
 $args = array()
 $is_raw_output = FALSE

Member Function Documentation

checkFormValues (   $element_name = "")
checkRangeId (   $range_id)

Here is the call graph for this function:

Here is the caller graph for this function:

executeCommand (   $element,
  $command,
  $value 
)
ExternModule (   $range_id,
  $module_name,
  $config_id = NULL,
  $set_config = NULL,
  $global_id = NULL 
)

The constructor of a child class has to call this parent constructor!

Here is the call graph for this function:

Here is the caller graph for this function:

extFormatReady (   $text)

Here is the call graph for this function:

extHtmlReady (   $text,
  $allow_links = FALSE 
)

Here is the call graph for this function:

extWikiReady (   $text,
  $show_comments = 'all' 
)

Here is the call graph for this function:

getAllElements ( )
getArgs ( )
getAttributes (   $element_name,
  $tag_name 
)
& getConfig ( )
getDefaultConfig ( )

Here is the call graph for this function:

Here is the caller graph for this function:

getDescription ( )
GetInstance (   $range_id,
  $module_name,
  $config_id = NULL,
  $set_config = NULL,
  $global_id = NULL 
)

Here is the caller graph for this function:

getLinkToModule (   $linked_element_name = null,
  $params = null,
  $with_module_params = false,
  $self = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getLinkToSelf (   $params = null,
  $with_module_params = false,
  $linked_element_name = null 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getModuleLink (   $module_name,
  $config_id,
  $sri_link 
)
getModuleParams (   $params = null)

Here is the caller graph for this function:

getName ( )

Here is the caller graph for this function:

GetOrderedModuleTypes ( )
getRangeDefaultConfig (   $range_id = 'global')

Here is the call graph for this function:

Here is the caller graph for this function:

getType ( )
getValue (   $attribute)
static HaveAccessModuleType (   $view,
  $module_id = NULL,
  $module_name = NULL 
)
static

Checks access for a module in a given view.of the admin area.

Parameters
string$viewview in the admin area ('extern_inst' or 'extern_global')
int$module_id(optional) ID of the module (see extern_config.inc.php)
string$module_name(optional) name of the module (see extern_config.inc.php)
Returns
bool access granted
insertDatafieldMarkers (   $object_type,
$markers,
  $element_name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

insertPluginMarkers (   $plugin_type,
$markers,
  $element_name 
)

Here is the call graph for this function:

Here is the caller graph for this function:

printError ( )

Here is the call graph for this function:

Here is the caller graph for this function:

printoutEdit (   $element_name = "",
  $post_vars = "",
  $faulty_values = "",
  $anker = "" 
)

Here is the call graph for this function:

setRawOutput (   $raw = TRUE)

Here is the caller graph for this function:

setValue (   $attribute,
  $value 
)
store (   $element_name = '',
  $values = '' 
)

Reimplemented in ExternModuleGlobal.

toString (   $args)

Reimplemented in ExternModuleLecturedetails, ExternModuleDownload, and ExternModuleNewsticker.

Here is the caller graph for this function:

toStringEdit (   $open_elements = "",
  $post_vars = "",
  $faulty_values = "",
  $anker = "" 
)
updateGenericDatafields (   $element_name,
  $object_type 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

$args = array()
$config
$data_fields = array()
$elements = array()
$field_names = array()
$is_raw_output = FALSE
$name
$registered_elements = array()
$type = NULL

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