XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_Injector_SafeObject Class Reference
Inheritance diagram for HTMLPurifier_Injector_SafeObject:
Inheritance graph

Public Member Functions

 handleElement (&$token)
 
 handleEnd (&$token)
 
 prepare ($config, $context)
 
- Public Member Functions inherited from HTMLPurifier_Injector
 allowsElement ($name)
 
 checkNeeded ($config)
 
 getRewind ()
 
 handleElement (&$token)
 
 handleEnd (&$token)
 
 handleText (&$token)
 
 notifyEnd ($token)
 
 prepare ($config, $context)
 
 rewind ($index)
 

Public Attributes

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

Protected Attributes

 $addParam
 
 $allowedParam
 
 $objectStack = array()
 
 $paramStack = array()
 
- Protected Attributes inherited from HTMLPurifier_Injector
 $currentNesting
 
 $htmlDefinition
 
 $inputIndex
 
 $inputTokens
 
 $rewind = false
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 7 of file SafeObject.php.

Member Function Documentation

HTMLPurifier_Injector_SafeObject::handleElement ( $token)

Definition at line 32 of file SafeObject.php.

References $i, $name, and $token.

HTMLPurifier_Injector_SafeObject::handleEnd ( $token)

Definition at line 79 of file SafeObject.php.

References $token.

HTMLPurifier_Injector_SafeObject::prepare (   $config,
  $context 
)

Definition at line 28 of file SafeObject.php.

References $config.

Member Data Documentation

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

Definition at line 16 of file SafeObject.php.

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

Definition at line 20 of file SafeObject.php.

HTMLPurifier_Injector_SafeObject::$name = 'SafeObject'

Definition at line 9 of file SafeObject.php.

Referenced by handleElement().

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

Definition at line 10 of file SafeObject.php.

HTMLPurifier_Injector_SafeObject::$objectStack = array()
protected

Definition at line 12 of file SafeObject.php.

HTMLPurifier_Injector_SafeObject::$paramStack = array()
protected

Definition at line 13 of file SafeObject.php.


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