cvs: pear /Net_Wifi/Net Wifi.php /Net_Wifi/Net/Wifi Cell.php
| From: | Christian Weiske | Date: | Fri, 06 Jul 2007 20:49:44 +0000 |
| Subject: | cvs: pear /Net_Wifi/Net Wifi.php /Net_Wifi/Net/Wifi Cell.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-47889@lists.php.net to get a copy of this message | ||
cweiske Fri Jul 6 20:49:44 2007 UTC
Modified files:
/pear/Net_Wifi/Net Wifi.php
/pear/Net_Wifi/Net/Wifi Cell.php
Log:
More CS compatibility
http://cvs.php.net/viewvc.cgi/pear/Net_Wifi/Net/Wifi.php?r1=1.9&r2=1.10&diff_format=u
Index: pear/Net_Wifi/Net/Wifi.php
diff -u pear/Net_Wifi/Net/Wifi.php:1.9 pear/Net_Wifi/Net/Wifi.php:1.10
--- pear/Net_Wifi/Net/Wifi.php:1.9 Fri Jul 6 17:49:14 2007
+++ pear/Net_Wifi/Net/Wifi.php Fri Jul 6 20:49:43 2007
@@ -1,40 +1,25 @@
<?php
-/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
-/**
-* A class for scanning wireless networks and identifying
-* local wireless network interfaces.
-*
-* PHP versions 4 and 5
-*
-* LICENSE: This source file is subject to version 3.0 of the PHP license
-* that is available through the world-wide-web at the following URI:
-* http://www.php.net/license/3_0.txt. If you
did not receive a copy of
-* the PHP License and are unable to obtain it through the web, please
-* send a note to license@php.net so we can mail you a copy immediately.
-*
-* @author Christian Weiske <cweiske@php.net>
-* @category Networking
-* @package Net_Wifi
-* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
-* @version CVS: $Id: Wifi.php,v 1.9 2007/07/06 17:49:14 cweiske Exp $
-*/
-
require_once 'Net/Wifi/Cell.php';
require_once 'Net/Wifi/Config.php';
//required for System::which() functionality
require_once 'System.php';
/**
-* This class uses tools like iwconfig and iwlist to scan
-* for wireless networks
+* A class for scanning wireless networks and identifying
+* local wireless network interfaces.
*
-* @author Christian Weiske <cweiske@php.net>
+* @category Networking
+* @package Net_Wifi
+* @author Christian Weiske <cweiske@php.net>
+* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
+* @version CVS: $Id: Wifi.php,v 1.10 2007/07/06 20:49:43 cweiske Exp $
+* @link http://pear.php.net/package/Net_Wifi
*/
class Net_Wifi
{
/**
- * Various locations of programs
- * @var array
+ * Various locations of programs
+ * @var array
*/
var $arFileLocation = array(
'iwconfig' => '/usr/sbin/iwconfig',
@@ -45,7 +30,7 @@
/**
- * Constructor which tries to guess the paths of the tools
+ * Constructor which tries to guess the paths of the tools
*/
function Net_Wifi()
{
@@ -68,11 +53,13 @@
/**
- * Returns an object with the current state of the interface (connected/not connected,
AP,...).
+ * Returns an object with the current state of the interface
+ * (connected/not connected, AP,...).
*
- * @access public
- * @param string The interface to check
- * @return Net_Wifi_Config The state information
+ * @param string $strInterface The interface to check
+ *
+ * @return Net_Wifi_Config The state information
+ * @access public
*/
function getCurrentConfig($strInterface)
{
@@ -87,11 +74,11 @@
/**
- * Parses the iwconfig output to collect the current config information.
+ * Parses the iwconfig output to collect the current config information.
*
- * @access protected
- * @param string The iwconfig output to parse
- * @return Net_Wifi_Config The current config object
+ * @access protected
+ * @param string $strAll The iwconfig output to parse
+ * @return Net_Wifi_Config The current config object
*/
function parseCurrentConfig($strAll)
{
http://cvs.php.net/viewvc.cgi/pear/Net_Wifi/Net/Wifi/Cell.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/Net_Wifi/Net/Wifi/Cell.php
diff -u pear/Net_Wifi/Net/Wifi/Cell.php:1.1 pear/Net_Wifi/Net/Wifi/Cell.php:1.2
--- pear/Net_Wifi/Net/Wifi/Cell.php:1.1 Fri Oct 27 21:01:47 2006
+++ pear/Net_Wifi/Net/Wifi/Cell.php Fri Jul 6 20:49:43 2007
@@ -1,9 +1,13 @@
<?php
-
/**
-* Cell information from a wifi scan.
+* Cell information from a wifi scan.
*
-* @author Christian Weiske <cweiske@php.net>
+* @category Networking
+* @package Net_Wifi
+* @author Christian Weiske <cweiske@php.net>
+* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
+* @version CVS: $Id: Cell.php,v 1.2 2007/07/06 20:49:43 cweiske Exp $
+* @link http://pear.php.net/package/Net_Wifi
*/
class Net_Wifi_Cell
{