cvs: pear /Net_Ping Ping.php

From: Date: Tue, 14 Aug 2001 03:20:06 +0000
Subject: cvs: pear /Net_Ping Ping.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-499@lists.php.net to get a copy of this message
alexmerz Mon Aug 13 23:20:06 2001 EDT Modified files: /pear/Net_Ping Ping.php Log: fix PHPDoc Index: pear/Net_Ping/Ping.php diff -u pear/Net_Ping/Ping.php:1.2 pear/Net_Ping/Ping.php:1.3 --- pear/Net_Ping/Ping.php:1.2 Thu Jun 21 13:01:28 2001 +++ pear/Net_Ping/Ping.php Mon Aug 13 23:20:05 2001 @@ -16,7 +16,10 @@ // | Authors: Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: +// $Id: Ping.php,v 1.3 2001/08/14 03:20:05 alexmerz Exp $ + +define(PING_FAILED,"execution of ping failed"); +define(HOST_NOT_FOUND,"unknown host"); /** * Wrapper class for ping calls @@ -34,12 +37,10 @@ * api will for sure change in the future. * * @author Martin Jansen <mj@php.net> -* @version 0.1 +* @version $Revision: 1.3 $ +* @package Net +* @access public */ - -define(PING_FAILED,"execution of ping failed"); -define(HOST_NOT_FOUND,"unknown host"); - class Net_Ping { /** @@ -57,10 +58,11 @@ /** * Execute ping * - * @param string hostname - * @param int - * @param int ping packet size + * @param string $host hostname + * @param int $count count of the pings + * @param int $packet_size ping packet size * @return mixed String on error or array with the result + * @access public */ function ping($host,$counts = 5,$packet_size = 32) {

« previous php.pear.cvs (#499) next »