source: www/manuals/PHP_manual/function.domdocument-get-element-by-id.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 3.1 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>DomDocument-&#62;get_element_by_id</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="DOM XML funkce"
13HREF="ref.domxml.html"><LINK
14REL="PREVIOUS"
15TITLE="DomDocument->dump_mem"
16HREF="function.domdocument-dump-mem.html"><LINK
17REL="NEXT"
18TITLE="DomDocument->get_elements_by_tagname"
19HREF="function.domdocument-get-elements-by-tagname.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.domdocument-dump-mem.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.domdocument-get-elements-by-tagname.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.DomDocument-get-element-by-id"
75></A
76>DomDocument-&#62;get_element_by_id</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN18164"
81></A
82><P
83> (no version information, might be only in CVS)</P
84>DomDocument-&#62;get_element_by_id&nbsp;--&nbsp;
85 Searches for an element with a certain id
86 </DIV
87><DIV
88CLASS="refsect1"
89><A
90NAME="AEN18167"
91></A
92><H2
93>Description</H2
94>object <B
95CLASS="methodname"
96>DomDocument-&#62;get_element_by_id</B
97> ( string id)<BR
98></BR
99><P
100>&#13; This function is similar to
101 <B
102CLASS="function"
103>DomDocument_get_elements_by_tagname()</B
104> but searches for
105 an element with a given id. According to the DOM standard this requires a
106 DTD which defines the attribute ID to be of type ID, though the current
107 implementation simply does an xpath search for "//*[@ID = '%s']". This
108 does not comply to the DOM standard which requires to return null if it
109 is not known which attribute is of type id. This behaviour is likely to
110 be fixed, so do not rely on the current behaviour.
111 </P
112><P
113>&#13; See also <B
114CLASS="function"
115>DomDocument_get_elements_by_tagname()</B
116>
117 </P
118></DIV
119><DIV
120CLASS="NAVFOOTER"
121><HR
122ALIGN="LEFT"
123WIDTH="100%"><TABLE
124SUMMARY="Footer navigation table"
125WIDTH="100%"
126BORDER="0"
127CELLPADDING="0"
128CELLSPACING="0"
129><TR
130><TD
131WIDTH="33%"
132ALIGN="left"
133VALIGN="top"
134><A
135HREF="function.domdocument-dump-mem.html"
136ACCESSKEY="P"
137>Pøedcházející</A
138></TD
139><TD
140WIDTH="34%"
141ALIGN="center"
142VALIGN="top"
143><A
144HREF="index.html"
145ACCESSKEY="H"
146>Domù</A
147></TD
148><TD
149WIDTH="33%"
150ALIGN="right"
151VALIGN="top"
152><A
153HREF="function.domdocument-get-elements-by-tagname.html"
154ACCESSKEY="N"
155>Dal¹í</A
156></TD
157></TR
158><TR
159><TD
160WIDTH="33%"
161ALIGN="left"
162VALIGN="top"
163>DomDocument-&#62;dump_mem</TD
164><TD
165WIDTH="34%"
166ALIGN="center"
167VALIGN="top"
168><A
169HREF="ref.domxml.html"
170ACCESSKEY="U"
171>Nahoru</A
172></TD
173><TD
174WIDTH="33%"
175ALIGN="right"
176VALIGN="top"
177>DomDocument-&#62;get_elements_by_tagname</TD
178></TR
179></TABLE
180></DIV
181></BODY
182></HTML
183>
Note: See TracBrowser for help on using the repository browser.