| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 317 lignes (9 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
XsltFilter:: (11 méthodes):
createParam()
setParams()
getParams()
setStyle()
getHtml()
setHtml()
getStyle()
read()
process()
chain()
_initialize()
XSLTParam:: (5 méthodes):
setName()
getName()
setExpression()
setListeningExpression()
getExpression()
Classe: XsltFilter - X-Ref
Applies XSL stylesheet to incoming text.| createParam() X-Ref |
| Create new XSLT Param object, to handle the <param/> nested element. return: XSLTParam |
| setParams($params) X-Ref |
| Sets the XSLT params for this class. This is used to "clone" this class, in the chain() method. param: array $params |
| getParams() X-Ref |
| Returns the XSLT params set for this class. This is used to "clone" this class, in the chain() method. return: array |
| setStyle(PhingFile $file) X-Ref |
| Set the XSLT stylesheet. param: mixed $file PhingFile object or path. |
| getHtml() X-Ref |
| Whether to use HTML parser for the XML. This is supported in libxml2 -- Yay! return: boolean |
| setHtml($b) X-Ref |
| Whether to use HTML parser for XML. param: boolean $b |
| getStyle() X-Ref |
| Get the path to XSLT stylesheet. return: mixed XSLT stylesheet path. |
| read($len = null) X-Ref |
| Reads stream, applies XSLT and returns resulting stream. return: string transformed buffer. |
| process($xml, $xsl) X-Ref |
| Try to process the XSLT transformation param: string XML to process. param: string XSLT sheet to use for the processing. |
| chain(Reader $reader) X-Ref |
| Creates a new XsltFilter using the passed in Reader for instantiation. param: Reader A Reader object providing the underlying stream. return: Reader A new filter based on this configuration, but filtering |
| _initialize() X-Ref |
| Parses the parameters to get stylesheet path. |
| setName($name) X-Ref |
| Sets param name. param: string $name |
| getName() X-Ref |
| Get param name. return: string |
| setExpression($expr) X-Ref |
| Sets expression value. param: string $expr |
| setListeningExpression(RegisterSlot $expr) X-Ref |
| Sets expression to dynamic register slot. param: RegisterSlot $expr |
| getExpression() X-Ref |
| Returns expression value -- performs lookup if expr is registerslot. return: string |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |