diff options
Diffstat (limited to 'engine/classes/XMLRPCStringParameter.php')
-rw-r--r-- | engine/classes/XMLRPCStringParameter.php | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/engine/classes/XMLRPCStringParameter.php b/engine/classes/XMLRPCStringParameter.php index bf9097747..96cf23021 100644 --- a/engine/classes/XMLRPCStringParameter.php +++ b/engine/classes/XMLRPCStringParameter.php @@ -1,20 +1,20 @@ -<?php
-/**
- * @class XMLRPCStringParameter A string.
- * @author Curverider Ltd
- */
-class XMLRPCStringParameter extends XMLRPCParameter
-{
- function __construct($value)
- {
- parent::__construct();
-
- $this->value = $value;
- }
-
- function __toString()
- {
- $value = htmlentities($this->value);
- return "<value><string>{$value}</string></value>";
- }
-}
+<?php +/** + * @class XMLRPCStringParameter A string. + * @author Curverider Ltd + */ +class XMLRPCStringParameter extends XMLRPCParameter +{ + function __construct($value) + { + parent::__construct(); + + $this->value = $value; + } + + function __toString() + { + $value = htmlentities($this->value); + return "<value><string>{$value}</string></value>"; + } +} |