[cmclasses] r915 committed - Updated FTP client contructor.

0 views
Skip to first unread message

cmcl...@googlecode.com

unread,
Jan 31, 2012, 1:25:09 AM1/31/12
to cmcl...@googlegroups.com
Revision: 915
Author: christian.wuerker
Date: Mon Jan 30 22:21:28 2012
Log: Updated FTP client contructor.

http://code.google.com/p/cmclasses/source/detail?r=915

Modified:
/trunk/src/Net/FTP/Client.php5

=======================================
--- /trunk/src/Net/FTP/Client.php5 Tue Sep 20 06:58:15 2011
+++ /trunk/src/Net/FTP/Client.php5 Mon Jan 30 22:21:28 2012
@@ -52,10 +52,13 @@
/**
* Constructor, opens FTP Connection.
* @access public
- * @param Net_FTP_Connection $connection FTP Connection Object
+ * @param string $host Host Name
+ * @param integer $port Service Port
+ * @param string $username Username
+ * @param string $password Password
* @return void
*/
- public function __construct( $host, $port, $path = NULL, $username =
NULL, $password = NULL )
+ public function __construct( $host, $port = 21, $path = NULL, $username =
NULL, $password = NULL )
{
try
{

Reply all
Reply to author
Forward
0 new messages