Cheetah
Public Member Functions | Public Attributes | Protected Attributes | List of all members
HTMLPurifier_Injector_SafeObject Class Reference
Inheritance diagram for HTMLPurifier_Injector_SafeObject:
HTMLPurifier_Injector

Public Member Functions

 prepare ($config, $context)
 
 handleElement (&$token)
 
 handleEnd (&$token)
 
- Public Member Functions inherited from HTMLPurifier_Injector
 rewindOffset ($offset)
 
 getRewindOffset ()
 
 checkNeeded ($config)
 
 allowsElement ($name)
 
 handleText (&$token)
 
 notifyEnd ($token)
 

Public Attributes

 $name = 'SafeObject'
 
 $needed = array('object', 'param')
 
- Public Attributes inherited from HTMLPurifier_Injector
 $name
 
 $needed = array()
 

Protected Attributes

 $objectStack = array()
 
 $paramStack = array()
 
 $addParam
 
 $allowedParam
 
- Protected Attributes inherited from HTMLPurifier_Injector
 $htmlDefinition
 
 $currentNesting
 
 $currentToken
 
 $inputZipper
 
 $rewindOffset = false
 

Additional Inherited Members

- Protected Member Functions inherited from HTMLPurifier_Injector
 forward (&$i, &$current)
 
 forwardUntilEndToken (&$i, &$current, &$nesting)
 
 backward (&$i, &$current)
 

Detailed Description

Adds important param elements to inside of object in order to make things safe.

Definition at line 18797 of file HTMLPurifier.standalone.php.

Member Function Documentation

◆ handleElement()

HTMLPurifier_Injector_SafeObject::handleElement ( $token)
Parameters
HTMLPurifier_Token$token

Reimplemented from HTMLPurifier_Injector.

Definition at line 18853 of file HTMLPurifier.standalone.php.

◆ handleEnd()

HTMLPurifier_Injector_SafeObject::handleEnd ( $token)

Handler that is called when an end token is processed

Reimplemented from HTMLPurifier_Injector.

Definition at line 18902 of file HTMLPurifier.standalone.php.

◆ prepare()

HTMLPurifier_Injector_SafeObject::prepare (   $config,
  $context 
)
Parameters
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
void

Reimplemented from HTMLPurifier_Injector.

Definition at line 18845 of file HTMLPurifier.standalone.php.

Member Data Documentation

◆ $addParam

HTMLPurifier_Injector_SafeObject::$addParam
protected
Initial value:
= array(
'allowScriptAccess' => 'never',
'allowNetworking' => 'internal',
)

Keep this synchronized with AttrTransform/SafeParam.php. @type array

Definition at line 18823 of file HTMLPurifier.standalone.php.

◆ $allowedParam

HTMLPurifier_Injector_SafeObject::$allowedParam
protected
Initial value:
= array(
'wmode' => true,
'movie' => true,
'flashvars' => true,
'src' => true,
'allowfullscreen' => true,
)

These are all lower-case keys. @type array

Definition at line 18832 of file HTMLPurifier.standalone.php.

◆ $name

HTMLPurifier_Injector_SafeObject::$name = 'SafeObject'

@type string

Definition at line 18802 of file HTMLPurifier.standalone.php.

◆ $needed

HTMLPurifier_Injector_SafeObject::$needed = array('object', 'param')

@type array

Definition at line 18807 of file HTMLPurifier.standalone.php.

◆ $objectStack

HTMLPurifier_Injector_SafeObject::$objectStack = array()
protected

@type array

Definition at line 18812 of file HTMLPurifier.standalone.php.

◆ $paramStack

HTMLPurifier_Injector_SafeObject::$paramStack = array()
protected

@type array

Definition at line 18817 of file HTMLPurifier.standalone.php.


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