File: EventDnsBase.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (92 lines) | stat: -rw-r--r-- 3,748 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="EventDnsBase" namespace="" name="EventDnsBase">
  <constant name="OPTION_SEARCH" value="1">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="OPTION_NAMESERVERS" value="2">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="OPTION_MISC" value="4">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="OPTION_HOSTSFILE" value="8">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <constant name="OPTIONS_ALL" value="15">
    <docblock>
      <var type="integer"/>
    </docblock>
  </constant>
  <method name="addNameserverIp" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Adds a nameserver to the DNS base"/>
      <return type="bool"/>
    </docblock>
    <parameter name="ip" optional="false" byreference="false" type="string"/>
  </method>
  <method name="addSearch" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Adds a domain to the list of search domains"/>
      <return type="void"/>
    </docblock>
    <parameter name="domain" optional="false" byreference="false" type="string"/>
  </method>
  <method name="clearSearch" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Removes all current search suffixes"/>
      <return type="void"/>
    </docblock>
  </method>
  <constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Constructs EventDnsBase object"/>
      <return type="void"/>
    </docblock>
    <parameter name="base" optional="false" byreference="false" type="object" class="EventBase"/>
    <parameter name="initialize" optional="false" byreference="false" type="object" class="bool"/>
  </constructor>
  <method name="countNameservers" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Gets the number of configured nameservers"/>
      <return type="int"/>
    </docblock>
  </method>
  <method name="loadHosts" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Loads a hosts file (in the same format as /etc/hosts) from hosts file"/>
      <return type="bool"/>
    </docblock>
    <parameter name="hosts" optional="false" byreference="false" type="string"/>
  </method>
  <method name="parseResolvConf" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Scans the resolv.conf-formatted file"/>
      <return type="bool"/>
    </docblock>
    <parameter name="flags" optional="false" byreference="false" type="int"/>
    <parameter name="filename" optional="false" byreference="false" type="string"/>
  </method>
  <method name="setOption" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Set the value of a configuration option"/>
      <return type="bool"/>
    </docblock>
    <parameter name="option" optional="false" byreference="false" type="string"/>
    <parameter name="value" optional="false" byreference="false" type="string"/>
  </method>
  <method name="setSearchNdots" abstract="false" static="false" visibility="public" final="false">
    <docblock>
      <description compact="Set the 'ndots' parameter for searches"/>
      <return type="bool"/>
    </docblock>
    <parameter name="ndots" optional="false" byreference="false" type="int"/>
  </method>
</class>