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

  • Censor
  • Clickable
  • Embed
  • Flash
  • Iframe
  • Image
  • Mms
  • Mp3
  • Quote
  • Rtsp
  • SoundCloud
  • SyntaxHighlight
  • TextFilter
  • UnorderedList
  • Wiki
  • Wmp
  • XoopsCode
  • Xss
  • YouTube
  • Overview
  • Namespace
  • Class
  • Tree

Class SoundCloud

TextSanitizer extension

Xoops\Core\Text\Sanitizer\SanitizerConfigurable
Extended by Xoops\Core\Text\Sanitizer\SanitizerComponent
Extended by Xoops\Core\Text\Sanitizer\ExtensionAbstract
Extended by Xoops\Core\Text\Sanitizer\Extensions\SoundCloud
Namespace: Xoops\Core\Text\Sanitizer\Extensions
Package: Xoops\Core\Text
Category: Sanitizer
Copyright: 2011-2015 XOOPS Project (http://xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: iHackCode https://github.com/ihackcode
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Text/Sanitizer/Extensions/SoundCloud.php
Methods summary
public string[]
# getDhtmlEditorSupport( string $textAreaId )

Provide button and javascript code used by the DhtmlTextArea

Provide button and javascript code used by the DhtmlTextArea

Parameters

$textAreaId
dom element id

Returns

string[]
editor button as HTML, supporting javascript

Overrides

Xoops\Core\Text\Sanitizer\ExtensionAbstract::getDhtmlEditorSupport()
public
# registerExtensionProcessing( )

Register extension with the supplied sanitizer instance

Register extension with the supplied sanitizer instance

Soundcloud offers a wp shortcode version under share/embed that we can accept: [soundcloud url="https://api.soundcloud.com/tracks/46363550" params="color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false" width="100%" height="166" iframe="true" /]

For backward compatibility, we accept this form, too: [soundcloud]https://api.soundcloud.com/tracks/46363550[/soundcloud] But, the old URL form seems to no longer work correctly :(

Methods inherited from Xoops\Core\Text\Sanitizer\ExtensionAbstract
getEditorButtonHtml()
Methods inherited from Xoops\Core\Text\Sanitizer\SanitizerComponent
__construct()
Methods inherited from Xoops\Core\Text\Sanitizer\SanitizerConfigurable
getDefaultConfig()
Properties summary
protected static array $defaultConfiguration

default configuration values

default configuration values

# [ 'enabled' => false, 'params' => "color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false", 'width' => "100%", 'height' => "166", ]
Properties inherited from Xoops\Core\Text\Sanitizer\SanitizerComponent
$config, $shortcodes, $ts
API documentation generated by ApiGen