[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/filters/ -> TabToSpaces.php (sommaire)

(pas de description)

Poids: 144 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TabToSpaces:: (5 méthodes):
  read()
  setTablength()
  getTablength()
  chain()
  _initialize()


Classe: TabToSpaces  - X-Ref

Converts tabs to spaces.

Example:

<pre><tabtospaces tablength="8"></pre>

Or:

<pre><filterreader classname="phing.filters.TabsToSpaces">
<param name="tablength" value="8">
</filterreader></pre>

read($len = null)   X-Ref
Returns stream after converting tabs to the specified number of spaces.

return: the resulting stream, or -1

setTablength($tabLength)   X-Ref
Sets the tab length.

param: int $tabLength The number of spaces to be used when converting a tab.

getTablength()   X-Ref
Returns the tab length.

return: int The number of spaces used when converting a tab

chain(Reader $reader)   X-Ref
Creates a new TabsToSpaces using the passed in
Reader for instantiation.

param: Reader $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 set the tab length.




Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7