cvs: pear /Net_DNS/DNS RR.php

From: Date: Thu, 23 Feb 2006 07:17:01 +0000
Subject: cvs: pear /Net_DNS/DNS RR.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38527@lists.php.net to get a copy of this message
bate Thu Feb 23 07:17:01 2006 UTC Modified files: /pear/Net_DNS/DNS RR.php Log: added additional paramenter to function ref. bugid #6899 http://cvs.php.net/viewcvs.cgi/pear/Net_DNS/DNS/RR.php?r1=1.18&r2=1.19&diff_format=u Index: pear/Net_DNS/DNS/RR.php diff -u pear/Net_DNS/DNS/RR.php:1.18 pear/Net_DNS/DNS/RR.php:1.19 --- pear/Net_DNS/DNS/RR.php:1.18 Tue Nov 22 12:43:09 2005 +++ pear/Net_DNS/DNS/RR.php Thu Feb 23 07:17:01 2006 @@ -75,10 +75,10 @@ * @access public * @see Net_DNS_RR::new_from_array Net_DNS_RR::new_from_data Net_DNS_RR::new_from_string */ - function &factory($rrdata) + function &factory($rrdata, $update_type = '') { if (is_string($rrdata)) { - $rr = &Net_DNS_RR::new_from_string($rrdata); + $rr = &Net_DNS_RR::new_from_string($rrdata, $update_type); } elseif (count($rrdata) == 7) { list($name, $rrtype, $rrclass, $ttl, $rdlength, $data, $offset) = $rrdata; $rr = &Net_DNS_RR::new_from_data($name, $rrtype, $rrclass, $ttl, $rdlength, $data, $offset);

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