Permalink
Browse files

BackwardsCompatibilityBreak - fXML::prepare() was renamed to fXML::en…

…code()
  • Loading branch information...
wbond committed Sep 14, 2008
1 parent 53bb034 commit 4ff669ca06e68cf730149d2e14c4346cd395d8aa
Showing with 4 additions and 4 deletions.
  1. +4 −4 classes/fXML.php
View
@@ -18,12 +18,12 @@
class fXML
{
/**
* Prepares content for display in a UTF-8 encoded XML document
* Encodes content for display in a UTF-8 encoded XML document
*
* @param string $content The content to prepare
* @return string The encoded xml
* @param string $content The content to encode
* @return string The encoded content
*/
static public function prepare($content)
static public function encode($content)
{
return htmlspecialchars(fHTML::decode($content));
}

0 comments on commit 4ff669c

Please sign in to comment.