Stud.IP  trunk Revision
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)
 
 __construct ($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)
 
 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 SetRawOutput ($raw=TRUE)
 
static ExtHtmlReady ($text, $allow_links=FALSE)
 
static ExtFormatReady ($text)
 
static ExtWikiReady ($text, $show_comments='all')
 
static GetOrderedModuleTypes ()
 
static HaveAccessModuleType ($view, $module_id=NULL, $module_name=NULL)
 

Data Fields

 $type = NULL
 
 $name
 
 $config
 
 $registered_elements = []
 
 $elements = []
 
 $field_names = []
 
 $data_fields = []
 
 $args = []
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $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:

Member Function Documentation

◆ checkFormValues()

checkFormValues (   $element_name = "")

◆ checkRangeId()

checkRangeId (   $range_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ executeCommand()

executeCommand (   $element,
  $command,
  $value 
)

◆ ExtFormatReady()

static ExtFormatReady (   $text)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExtHtmlReady()

static ExtHtmlReady (   $text,
  $allow_links = FALSE 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExtWikiReady()

static ExtWikiReady (   $text,
  $show_comments = 'all' 
)
static
Here is the call graph for this function:

◆ getAllElements()

getAllElements ( )

◆ getArgs()

getArgs ( )

◆ getAttributes()

getAttributes (   $element_name,
  $tag_name 
)

◆ getConfig()

& getConfig ( )

◆ getDefaultConfig()

getDefaultConfig ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDescription()

getDescription ( )

◆ GetInstance()

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

◆ getLinkToModule()

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

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

getModuleLink (   $module_name,
  $config_id,
  $sri_link 
)

◆ getModuleParams()

getModuleParams (   $params = null)
Here is the caller graph for this function:

◆ getName()

getName ( )
Here is the caller graph for this function:

◆ GetOrderedModuleTypes()

static GetOrderedModuleTypes ( )
static

◆ getRangeDefaultConfig()

getRangeDefaultConfig (   $range_id = 'global')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getType()

getType ( )
Here is the caller graph for this function:

◆ getValue()

getValue (   $attribute)
Here is the caller graph for this function:

◆ HaveAccessModuleType()

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

insertDatafieldMarkers (   $object_type,
$markers,
  $element_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertPluginMarkers()

insertPluginMarkers (   $plugin_type,
$markers,
  $element_name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ printError()

printError ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ printout()

printout (   $args)
Here is the call graph for this function:

◆ printoutEdit()

printoutEdit (   $element_name = "",
  $post_vars = "",
  $faulty_values = "",
  $anker = "" 
)
Here is the call graph for this function:

◆ SetRawOutput()

static SetRawOutput (   $raw = TRUE)
static

◆ setup()

setup ( )
Here is the caller graph for this function:

◆ setValue()

setValue (   $attribute,
  $value 
)

◆ store()

store (   $element_name = '',
  $values = '' 
)

◆ toString()

toString (   $args)
Here is the caller graph for this function:

◆ toStringEdit()

toStringEdit (   $open_elements = "",
  $post_vars = "",
  $faulty_values = "",
  $anker = "" 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateGenericDatafields()

updateGenericDatafields (   $element_name,
  $object_type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $args

$args = []

◆ $config

$config

◆ $data_fields

$data_fields = []

◆ $elements

$elements = []

◆ $field_names

$field_names = []

◆ $name

$name

◆ $registered_elements

$registered_elements = []

◆ $type

$type = NULL

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