ILIAS  release_4-3 Revision
 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.
 setUseAttachedContent ($a_val)
 Set use attached content.
 getUseAttachedContent ()
 Get use attached content.

Data Fields

 $int_link_filter = array()
 $prevent_rte_usage = false
 $use_attached_content = 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 22 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 43 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 63 of file class.ilPageConfig.php.

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

Get localizazion language.

Returns
string lang key

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

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

Get prevent rte usage.

Returns
boolean prevent rte usage

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

References $prevent_rte_usage.

ilPageConfig::getUseAttachedContent ( )

Get use attached content.

Returns
string use initial attached content

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

References $use_attached_content.

ilPageConfig::setIntLinkFilterWhiteList (   $a_white_list)

Set internal links filter type list to white list.

Parameters
booleanwhite list

Definition at line 53 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 93 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 73 of file class.ilPageConfig.php.

{
$this->prevent_rte_usage = $a_val;
}
ilPageConfig::setUseAttachedContent (   $a_val)

Set use attached content.

Parameters
string$a_valuse initial attached content

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

{
$this->use_attached_content = $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().

ilPageConfig::$use_attached_content = false

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

Referenced by getUseAttachedContent().


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