From 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 22 Jan 2015 09:14:12 +0100 Subject: Apply namespaces to class inheritances (pt1) --- framework/TJavaScriptString.php | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 framework/TJavaScriptString.php (limited to 'framework/TJavaScriptString.php') diff --git a/framework/TJavaScriptString.php b/framework/TJavaScriptString.php deleted file mode 100644 index 76280ff7..00000000 --- a/framework/TJavaScriptString.php +++ /dev/null @@ -1,31 +0,0 @@ - - * - * Global Events, intra-object events, Class behaviors, expanded behaviors - * @author Brad Anderson - * - * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2014 PradoSoft - * @license http://www.pradosoft.com/license/ - * @package Prado - */ - -namespace Prado; - -/** - * TJavaScriptString class is an internal class that marks strings that will be - * forcibly encoded when rendered inside a javascript block - * - * @package Prado - * @since 3.2.0 - */ -class TJavaScriptString extends TJavaScriptLiteral -{ - public function toJavaScriptLiteral() - { - return TJavaScript::jsonEncode((string)$this->_s,JSON_HEX_QUOT | JSON_HEX_APOS | JSON_HEX_TAG); - } -} \ No newline at end of file -- cgit v1.2.3