Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Classes

  • Configuration
  • ConfigurationAbstract
  • DefaultConfiguration
  • ExtensionAbstract
  • FilterAbstract
  • NullExtension
  • NullFilter
  • SanitizerComponent
  • SanitizerConfigurable
  • Overview
  • Namespace
  • Class
  • Tree

Class DefaultConfiguration

Derive default configuration for all sanitizer extensions

ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
Extended by Xoops\Core\Text\Sanitizer\ConfigurationAbstract implements Xoops\Core\AttributeInterface
Extended by Xoops\Core\Text\Sanitizer\DefaultConfiguration
Namespace: Xoops\Core\Text\Sanitizer
Package: Xoops\Core\Text
Category: Sanitizer
Copyright: 2013-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Text/Sanitizer/DefaultConfiguration.php
Methods summary
public
# __construct( )

Get defaults to initialize

Get defaults to initialize

public array
# buildDefaultConfiguration( )

Ask each sanitizer extension for default configuration

Ask each sanitizer extension for default configuration

Returns

array
public
# registerComponent( array $configArray )

Add a component (i.e extension or filter) to the configuration with default values

Add a component (i.e extension or filter) to the configuration with default values

Parameters

$configArray
extension configuration
Methods inherited from Xoops\Core\Text\Sanitizer\ConfigurationAbstract
clear(), get(), getAll(), getAllLike(), getNames(), has(), remove(), set(), setAll(), setArrayItem(), setMerge()
Methods inherited from ArrayObject
append(), asort(), count(), exchangeArray(), getArrayCopy(), getFlags(), getIterator(), getIteratorClass(), ksort(), natcasesort(), natsort(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), serialize(), setFlags(), setIteratorClass(), uasort(), uksort(), unserialize()
Constants inherited from ArrayObject
ARRAY_AS_PROPS, STD_PROP_LIST
Properties summary
protected string $cacheKey

The system/modules key paths are cleared on module update/install. Since modules can add extensions, we will store our defaults there so we will pick up changes.

The system/modules key paths are cleared on module update/install. Since modules can add extensions, we will store our defaults there so we will pick up changes.

# 'system/modules/sanitizer-defaults'
API documentation generated by ApiGen