Revision: 519
Author: kerphi
Date: 2006-05-28 04:56:07 -0700 (Sun, 28 May 2006)
ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=519&view=rev
Log Message:
-----------
New command: /clear
This command just clear the current tab
Added Paths:
-----------
trunk/src/commands/clear.class.php
Added: trunk/src/commands/clear.class.php
===================================================================
--- trunk/src/commands/clear.class.php (rev 0)
+++ trunk/src/commands/clear.class.php 2006-05-28 11:56:07 UTC (rev 519)
@@ -0,0 +1,16 @@
+<?php
+
+require_once(dirname(__FILE__)."/../pfccommand.class.php");
+
+class pfcCommand_clear extends pfcCommand
+{
+ function run(&$xml_reponse, $clientid, $param, $sender, $recipient, $recipientid)
+ {
+ $c =& $this->c;
+ $u =& $this->u;
+
+ $xml_reponse->addScript("pfc.handleResponse('".$this->name."', 'ok', '');");
+ }
+}
+
+?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|