[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

/lib/Text/ -> reST.php (sommaire)

(pas de description)

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

Définit 1 class

Text_reST:: (6 méthodes):
  Text_reST()
  appendChild()
  setProperty()
  getProperty()
  dump()
  parse()


Classe: Text_reST  - X-Ref

The Text_reST:: class represents a parse node of a reStructuredText
document and provides an API for parsing reStructuredText documents.

$Horde: framework/Text_reST/reST.php,v 1.5.10.7 2006/01/01 21:28:38 jan Exp $

Copyright 2003-2006 Jason M. Felice <jfelice@cronosys.com>

See the enclosed file COPYING for license information (LGPL). If you did not
receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Text_reST($type = 'Document')   X-Ref
Constructor.

param: string $type  This is the node type.  The default is 'Document'.

appendChild(&$child)   X-Ref
Appends a child parse node to this parse node.

param: string|Text_reST &$child  This is the string or object child

setProperty($name, $value)   X-Ref
Sets the value of a parse node property.

param: string $name   The property's name.
param: string $value  The property's value.

getProperty($name)   X-Ref
Retrieves the value of a parse node property.

param: string $name  The property's name.
return: string  The property's value.

dump($level = 0)   X-Ref
Dumps this parse node and its children.
This method is for debugging purposes.

param: integer $level  This is the indent level of this parse node.

parse($text)   X-Ref
Parses a reStructuredText document.

param: string $text  This is the text of the document we want to parse.
return: Text_reST  The parsed document or PEAR_Error on failure.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7