Permalink
Browse files

fix inline complex example

git-svn-id: http://svn.php.net/repository/pear/packages/HTML_Page/trunk@139450 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
Klaus Guenther
Klaus Guenther committed Sep 2, 2003
1 parent 542bf76 commit c1b9506b35ec65f1ed83b590129e508a042c0100
Showing with 3 additions and 1 deletion.
  1. +3 −1 Page.php
View
@@ -90,7 +90,7 @@
* $p->setTitle("My page");
*
* // Add optional meta data
- * $p->addMetaData("author", "My Name");
+ * $p->setMetaData("author", "My Name");
*
* // Put something into the body
* $p->addBodyContent = "<p>some text</p>";
@@ -108,6 +108,8 @@
*
* // print to browser
* $p->display();
+ * // output to file
+ * $p->toFile('example.html');
* </code>
*
* Simple XHTML declaration example:

0 comments on commit c1b9506

Please sign in to comment.