cvs: pear /Net_Wifi/Net Wifi.php
| From: | Christian Weiske | Date: | Fri, 06 Jul 2007 20:54:03 +0000 |
| Subject: | cvs: pear /Net_Wifi/Net Wifi.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-47890@lists.php.net to get a copy of this message | ||
cweiske Fri Jul 6 20:54:03 2007 UTC
Modified files:
/pear/Net_Wifi/Net Wifi.php
Log:
CS fixes
http://cvs.php.net/viewvc.cgi/pear/Net_Wifi/Net/Wifi.php?r1=1.10&r2=1.11&diff_format=u
Index: pear/Net_Wifi/Net/Wifi.php
diff -u pear/Net_Wifi/Net/Wifi.php:1.10 pear/Net_Wifi/Net/Wifi.php:1.11
--- pear/Net_Wifi/Net/Wifi.php:1.10 Fri Jul 6 20:49:43 2007
+++ pear/Net_Wifi/Net/Wifi.php Fri Jul 6 20:54:03 2007
@@ -12,7 +12,7 @@
* @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 $
+* @version CVS: $Id: Wifi.php,v 1.11 2007/07/06 20:54:03 cweiske Exp $
* @link http://pear.php.net/package/Net_Wifi
*/
class Net_Wifi
@@ -152,11 +152,11 @@
/**
- * Checks if a network interface is connected to an access point.
+ * Checks if a network interface is connected to an access point.
*
- * @access public
- * @param string The network interface to check
- * @return boolean If the interface is connected
+ * @access public
+ * @param string The network interface to check
+ * @return boolean If the interface is connected
*/
function isConnected($strInterface)
{
@@ -168,10 +168,10 @@
/**
- * Returns an array with the names/device files of all supported wireless lan devices.
+ * Returns an array with the names/device files of all supported wireless lan devices.
*
- * @access public
- * @return array Array with wireless interfaces as values
+ * @access public
+ * @return array Array with wireless interfaces as values
*/
function getSupportedInterfaces()
{
@@ -209,11 +209,11 @@
/**
- * Scans for access points / ad hoc cells and returns them.
+ * Scans for access points / ad hoc cells and returns them.
*
- * @access public
- * @param string The interface to use
- * @return array Array with cell information objects (Net_Wifi_Cell)
+ * @access public
+ * @param string The interface to use
+ * @return array Array with cell information objects (Net_Wifi_Cell)
*/
function scan($strInterface)
{
@@ -226,11 +226,11 @@
/**
- * Parses the output of iwlist and returns the recognized cells.
+ * Parses the output of iwlist and returns the recognized cells.
*
- * @access protected
- * @param array Lines of the iwlist output as an array
- * @return array Array with cell information objects
+ * @access protected
+ * @param array Lines of the iwlist output as an array
+ * @return array Array with cell information objects
*/
function parseScan($arLines)
{
@@ -414,17 +414,17 @@
/**
- * Tells the driver to use the access point with the given MAC address only.
+ * Tells the driver to use the access point with the given MAC address only.
*
- * You can use "off" to enable automatic mode again without
- * changing the current AP, or "any" resp. "auto" to force
- * the card to re-associate with the currently best AP
- *
- * EXPERIMENTAL! WILL CHANGE IN FUTURE VERSIONS
- * @access public
- * @param string The interface to use
- * @param string The mac address of the access point
- * @return boolean True if setting was ok, false if not
+ * You can use "off" to enable automatic mode again without
+ * changing the current AP, or "any" resp. "auto" to force
+ * the card to re-associate with the currently best AP
+ *
+ * EXPERIMENTAL! WILL CHANGE IN FUTURE VERSIONS
+ * @access public
+ * @param string The interface to use
+ * @param string The mac address of the access point
+ * @return boolean True if setting was ok, false if not
*/
function connectToAccessPoint($strInterface, $strMac)
{
@@ -438,15 +438,15 @@
/**
- * and now some dumb getters and setters
+ * and now some dumb getters and setters
*/
/**
- * Returns the set path to /proc/wireless.
- * @access public
- * @return string The path to "/proc/net/wireless"
+ * Returns the set path to /proc/wireless.
+ * @access public
+ * @return string The path to "/proc/net/wireless"
*/
function getPathProcWireless()
{
@@ -456,9 +456,9 @@
/**
- * Returns the set path to /proc/net/wireless.
- * @access public
- * @param string The new /proc/net/wireless path
+ * Returns the set path to /proc/net/wireless.
+ * @access public
+ * @param string The new /proc/net/wireless path
*/
function setPathProcWireless( $strProcWireless)
{
@@ -468,9 +468,9 @@
/**
- * Returns the set path to iwconfig.
- * @access public
- * @return string The path to iwconfig
+ * Returns the set path to iwconfig.
+ * @access public
+ * @return string The path to iwconfig
*/
function getPathIwconfig()
{
@@ -480,21 +480,22 @@
/**
- * Returns the set path to iwconfig.
- * @access public
- * @param string The new ifwconfig path
+ * Returns the set path to iwconfig.
+ * @access public
+ * @param string The new ifwconfig path
*/
- function setPathIwconfig( $strPathIwconfig)
+ function setPathIwconfig $strPathIwconfig)
{
$this->arFileLocation['iwconfig'] = $strPathIwconfig;
- }//function setPathIwconfig( $strPathIwconfig)
+ }//function setPathIwconfig($strPathIwconfig)
/**
- * Returns the set path to iwlist.
- * @access public
- * @return string The path to iwlist
+ * Returns the set path to iwlist.
+ *
+ * @return string The path to iwlist
+ * @access public
*/
function getPathIwlist()
{
@@ -504,14 +505,17 @@
/**
- * Returns the set path to iwlist.
- * @access public
- * @param string The new iwlist path
+ * Returns the set path to iwlist.
+ *
+ * @param string $strPathIwlist The new iwlist path
+ *
+ * @return void
+ * @access public
*/
- function setPathIwlist( $strPathIwlist)
+ function setPathIwlist($strPathIwlist)
{
$this->arFileLocation['iwlist'] = $strPathIwlist;
- }//function setPathIwlist( $strPathIwlist)
+ }//function setPathIwlist($strPathIwlist)
}//class Net_Wifi