blueshoes php application framework and cms            core_net
[ class tree: core_net ] [ index: core_net ] [ all elements ]

Class: Bs_NetUtil

Source Location: /core/net/Bs_NetUtil.class.php

Class Overview

Bs_Object
   |
   --Bs_NetUtil

This static class provides some useful net methods.


Author(s):

Version:

  • 4.3.$Revision: 1.3 $ $Date: 2003/10/29 17:48:41 $

Copyright:

  • blueshoes.org

Methods


Inherited Variables

Inherited Methods

Class: Bs_Object

Bs_Object::Bs_Object()
Bs_Object::getErrors()
Basic error handling: Get *all* errors as string array from the global Bs_Error-error stack.
Bs_Object::getLastError()
Basic error handling: Get last error string from the global Bs_Error-error stack.
Bs_Object::getLastErrors()
Basic error handling: Get last errors string array from the global Bs_Error-error stack sinc last call of getLastErrors().
Bs_Object::persist()
Persists this object by serializing it and saving it to a file with unique name.
Bs_Object::setError()
Basic error handling: Push an error string on the global Bs_Error-error stack.
Bs_Object::toHtml()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::toString()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::unpersist()
Fetches an object that was persisted with persist()

Class Details

[line 20]
This static class provides some useful net methods.

no dependencies here.




Tags:

pattern:  singleton: (pseudostatic) static
access:  public
version:  4.3.$Revision: 1.3 $ $Date: 2003/10/29 17:48:41 $
copyright:  blueshoes.org
author:  Andrej Arn <at blueshoes dot org>


[ Top ]


Class Methods


constructor Bs_NetUtil [line 23]

Bs_NetUtil Bs_NetUtil( )



[ Top ]

method checkDnsRr_winNT [line 37]

void checkDnsRr_winNT( mixed $host, [mixed $type = ''])

works just the same as the original checkdnsrr() from php which is broken on win.

at least winnt. it's documented really bad. php bug report: http://www.php.net/bugs.php?id=5311&edit=2 (known for 10 months now, not fixed!) dependencies: winNT not 95 or 98 - needs nslookup and must be able to do exec() (which is broken on misc windows systems also...)




Tags:

see:  $this->getMxRr_winNT()
copyright:  matt@dataActive.co.uk 28/01/2001 http://www.zend.com/codex.php?id=370&single=1


[ Top ]

method getMxRr_winNT [line 64]

bool getMxRr_winNT( mixed $hostname, mixed &$mxhosts)

works as the original getmxrr() from php which is broken on win.

at least winnt. it's documented really bad. php bug report: http://www.php.net/bugs.php?id=5311&edit=2 (known for 10 months now, not fixed!) dependencies: winNT not 95 or 98 - needs nslookup and must be able to do exec() (which is broken on misc windows systems also...)




Tags:

return:  (true or false) and provides a list of MX hosts in order of preference.
see:  $this->checkDnsRr_winNT()
copyright:  matt@dataActive.co.uk 28/01/2001 http://www.zend.com/codex.php?id=370&single=1


[ Top ]


Documentation generated on Mon, 29 Dec 2003 21:12:06 +0100 by phpDocumentor 1.2.3