Class Pxxo_Xslt

Description

Encapsule une transformation XSL

Exemple : $x = new Pxxo_Xslt('exemple01.xml', 'exemple01.xsl'); $x->transform(); $ret = $x->get();

Located in /Pxxo/Xslt.php (line 52)

Pxxo
   |
   --Pxxo_Xslt
Variable Summary
boolean $eval_result
boolean $xsl_cache
string $_out
array $_PAR
mixed $_XML
mixed $_XSL
Method Summary
static Object factory ([string $s = ''])
Pxxo_Xslt __construct ([string $a = ''], [string $b = ''], [mixed $c = array()])
void disablePHP ()
string dump ()
void enablePHP ()
string get ()
void setPAR (array $t)
void setXML (string $s)
void setXSL (string $s)
void transform ([array $options = array()])
Variables
boolean $eval_result = false (line 79)

active ou non l'execution du PHP généré par le XSL

  • access: public
boolean $register_functions = true (line 84)

active ou non les fonctions PHP à l'intetrieur du XSL

  • access: public
boolean $xsl_cache = true (line 89)

active si possible xsltcache

  • access: public
string $_out (line 74)

buffer de sortie

  • access: private
array $_PAR = array() (line 69)

Parametres pour la feuille

  • access: private
mixed $_XML = '' (line 59)

Fichier ou buffer XML

  • access: private
mixed $_XSL = '' (line 64)

Fichier ou buffer XSL

  • access: private

Inherited Variables

Inherited from Pxxo

Pxxo::$_bench
Pxxo::$_cache
Pxxo::$_cache_options
Pxxo::$_cache_options_default
Pxxo::$_caching
Pxxo::$_debugging
Pxxo::$_debug_options
Pxxo::$_debug_options_default
Pxxo::$_idcache
Pxxo::$_ids
Pxxo::$_levelcache
Methods
static method factory (line 115)

Construction automatique d'un objet

  • return: Pxxo_Xslt
  • deprecated:
  • access: public
static Object factory ([string $s = ''])
  • string $s: which handler you want to use
Constructor __construct (line 99)

Constructeur

Pxxo_Xslt __construct ([string $a = ''], [string $b = ''], [mixed $c = array()])
  • string $a: Chemin du fichier xml
  • string $b: Chemin du fichier xsl
  • mixed $c: Tableau de partametres

Redefinition of:
Pxxo::__construct()
Constructeur
disablePHP (line 244)

désactive l'exécution de PHP dans les modèles XSL

  • deprecated:
  • access: public
void disablePHP ()
dump (line 224)

Affiche le résultat

  • access: public
string dump ()
enablePHP (line 234)

active l'exécution de PHP dans les modèles XSL

  • deprecated:
  • access: public
void enablePHP ()
get (line 213)

Sortie du résultat

  • access: public
string get ()
setPAR (line 282)

Ajout des paramètres

Passe des paramètres à Sablotron qui seront intégrés comme variables dans le fichier XSL

  • access: public
void setPAR (array $t)
  • array $t
setXML (line 255)

Fixe une chaine ou un fichier XML

  • access: public
void setXML (string $s)
  • string $s
setXSL (line 267)

Fixe une chaine ou un fichier XSL

  • access: public
void setXSL (string $s)
  • string $s
transform (line 128)

Effectue la transformation

  • access: public
void transform ([array $options = array()])
  • array $options: options de tranformation

Inherited Methods

Inherited From Pxxo

Pxxo::__construct()
Pxxo::addCacheID()
Pxxo::addCacheLevel()
Pxxo::cleanCache()
Pxxo::copyto()
Pxxo::delinCache()
Pxxo::disableCache()
Pxxo::disableDebug()
Pxxo::enableCache()
Pxxo::enableDebug()
Pxxo::getCacheID()
Pxxo::getCacheLevel()
Pxxo::getCacheObject()
Pxxo::getCacheOption()
Pxxo::getDebugOption()
Pxxo::getinCache()
Pxxo::initCache()
Pxxo::isCaching()
Pxxo::isDebugging()
Pxxo::resetCache()
Pxxo::resetCacheID()
Pxxo::setBenchmarkProfiler()
Pxxo::setBenchmarkTimer()
Pxxo::setCacheID()
Pxxo::setCacheLevel()
Pxxo::setCacheObject()
Pxxo::setCacheOption()
Pxxo::setCacheOptions()
Pxxo::setDebugOption()
Pxxo::setinCache()
Pxxo::testCacheLevel()
Pxxo::testinCache()
Pxxo::traceDebug()

Documentation generated on Thu, 13 Mar 2008 22:03:36 +0100 by phpDocumentor 1.4.1