ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPageConfig Class Reference

Config class for page editing. More...

+ Collaboration diagram for ilPageConfig:

Public Member Functions

 addIntLinkFilter ($a_val)
 Add internal links filter.
 getIntLinkFilters ()
 Get internal links filter.
 setIntLinkFilterWhiteList ($a_white_list)
 Set internal links filter type list to white list.
 getIntLinkFilterWhiteList ()
 Get internal links filter type list to white list.
 setPreventRteUsage ($a_val)
 Set prevent rte usage.
 getPreventRteUsage ()
 Get prevent rte usage.
 setLocalizationLanguage ($a_val)
 Set localizazion language.
 getLocalizationLanguage ()
 Get localizazion language.

Data Fields

 $int_link_filter = array()
 $prevent_rte_usage = false

Detailed Description

Config class for page editing.

Author
Alex Killing <alex.killing.gmx.de>
Version
$Id$

Definition at line 11 of file class.ilPageConfig.php.

Member Function Documentation

ilPageConfig::addIntLinkFilter (   $a_val)

Add internal links filter.

Parameters
stringinternal links filter

Definition at line 21 of file class.ilPageConfig.php.

References $lng, and setLocalizationLanguage().

{
global $lng;
$this->setLocalizationLanguage($lng->getLangKey());
if (is_array($a_val))
{
$this->int_link_filter =
array_merge($a_val, $this->int_link_filter);
}
else
{
$this->int_link_filter[] = $a_val;
}
}

+ Here is the call graph for this function:

ilPageConfig::getIntLinkFilters ( )

Get internal links filter.

Returns
string internal links filter

Definition at line 42 of file class.ilPageConfig.php.

References $int_link_filter.

ilPageConfig::getIntLinkFilterWhiteList ( )

Get internal links filter type list to white list.

Returns
boolean white list

Definition at line 62 of file class.ilPageConfig.php.

{
return $this->link_filter_white_list;
}
ilPageConfig::getLocalizationLanguage ( )

Get localizazion language.

Returns
string lang key

Definition at line 102 of file class.ilPageConfig.php.

{
return $this->localization_lang;
}
ilPageConfig::getPreventRteUsage ( )

Get prevent rte usage.

Returns
boolean prevent rte usage

Definition at line 82 of file class.ilPageConfig.php.

References $prevent_rte_usage.

ilPageConfig::setIntLinkFilterWhiteList (   $a_white_list)

Set internal links filter type list to white list.

Parameters
booleanwhite list

Definition at line 52 of file class.ilPageConfig.php.

{
$this->link_filter_white_list = $a_white_list;
}
ilPageConfig::setLocalizationLanguage (   $a_val)

Set localizazion language.

Parameters
string$a_vallang key

Definition at line 92 of file class.ilPageConfig.php.

Referenced by addIntLinkFilter().

{
$this->localization_lang = $a_val;
}

+ Here is the caller graph for this function:

ilPageConfig::setPreventRteUsage (   $a_val)

Set prevent rte usage.

Parameters
booleanprevent rte usage

Definition at line 72 of file class.ilPageConfig.php.

{
$this->prevent_rte_usage = $a_val;
}

Field Documentation

ilPageConfig::$int_link_filter = array()

Definition at line 13 of file class.ilPageConfig.php.

Referenced by getIntLinkFilters().

ilPageConfig::$prevent_rte_usage = false

Definition at line 14 of file class.ilPageConfig.php.

Referenced by getPreventRteUsage().


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