source: www/manuals/PHP_manual/function.aggregate-properties-by-regexp.html@ 1

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

Prvotní import všeho

File size: 4.1 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>aggregate_properties_by_regexp</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="Object Aggregation/Composition Functions"
13HREF="ref.objaggregation.html"><LINK
14REL="PREVIOUS"
15TITLE="aggregate_properties_by_list"
16HREF="function.aggregate-properties-by-list.html"><LINK
17REL="NEXT"
18TITLE="aggregate_properties"
19HREF="function.aggregate-properties.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.aggregate-properties-by-list.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.aggregate-properties.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.aggregate-properties-by-regexp"
75></A
76>aggregate_properties_by_regexp</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN61522"
81></A
82><P
83> (PHP 4 &#62;= 4.2.0)</P
84>aggregate_properties_by_regexp&nbsp;--&nbsp;
85 selective class properties aggregation to an object using a regular
86 expression
87 </DIV
88><DIV
89CLASS="refsect1"
90><A
91NAME="AEN61525"
92></A
93><H2
94>Description</H2
95>void <B
96CLASS="methodname"
97>aggregate_properties_by_regexp</B
98> ( object object, string class_name, string regexp [, boolean exclude])<BR
99></BR
100><P
101>&#13; Aggregates properties from a class to
102 an existing object using a regular expresion to match their names.
103 The optional paramater
104 <TT
105CLASS="parameter"
106><I
107>exclude</I
108></TT
109> is used to decide whether the regular
110 expression will select
111 the names of class properties to include in the aggregation (i.e.
112 <TT
113CLASS="parameter"
114><I
115>exclude</I
116></TT
117> is <TT
118CLASS="constant"
119><B
120>FALSE</B
121></TT
122>, which is the default value),
123 or to exclude from the aggregation (<TT
124CLASS="parameter"
125><I
126>exclude</I
127></TT
128> is
129 <TT
130CLASS="constant"
131><B
132>TRUE</B
133></TT
134>).
135 </P
136><P
137>&#13; The properties
138 whose names start with an underscore character (_), which are
139 considered private to the aggregated class, are always
140 excluded.
141 </P
142><P
143>&#13; See also
144 <A
145HREF="function.aggregate.html"
146><B
147CLASS="function"
148>aggregate()</B
149></A
150>,
151 <A
152HREF="function.aggregate-methods.html"
153><B
154CLASS="function"
155>aggregate_methods()</B
156></A
157>,
158 <A
159HREF="function.aggregate-methods-by-list.html"
160><B
161CLASS="function"
162>aggregate_methods_by_list()</B
163></A
164>,
165 <A
166HREF="function.aggregate-methods-by-regexp.html"
167><B
168CLASS="function"
169>aggregate_methods_by_regexp()</B
170></A
171>,
172 <A
173HREF="function.aggregate-properties.html"
174><B
175CLASS="function"
176>aggregate_properties()</B
177></A
178>,
179 <A
180HREF="function.aggregate-properties-by-list.html"
181><B
182CLASS="function"
183>aggregate_properties_by_list()</B
184></A
185>,
186 <B
187CLASS="function"
188>aggregate_info()</B
189>,
190 <A
191HREF="function.deaggregate.html"
192><B
193CLASS="function"
194>deaggregate()</B
195></A
196>
197 </P
198></DIV
199><DIV
200CLASS="NAVFOOTER"
201><HR
202ALIGN="LEFT"
203WIDTH="100%"><TABLE
204SUMMARY="Footer navigation table"
205WIDTH="100%"
206BORDER="0"
207CELLPADDING="0"
208CELLSPACING="0"
209><TR
210><TD
211WIDTH="33%"
212ALIGN="left"
213VALIGN="top"
214><A
215HREF="function.aggregate-properties-by-list.html"
216ACCESSKEY="P"
217>Pøedcházející</A
218></TD
219><TD
220WIDTH="34%"
221ALIGN="center"
222VALIGN="top"
223><A
224HREF="index.html"
225ACCESSKEY="H"
226>Domù</A
227></TD
228><TD
229WIDTH="33%"
230ALIGN="right"
231VALIGN="top"
232><A
233HREF="function.aggregate-properties.html"
234ACCESSKEY="N"
235>Dal¹í</A
236></TD
237></TR
238><TR
239><TD
240WIDTH="33%"
241ALIGN="left"
242VALIGN="top"
243>aggregate_properties_by_list</TD
244><TD
245WIDTH="34%"
246ALIGN="center"
247VALIGN="top"
248><A
249HREF="ref.objaggregation.html"
250ACCESSKEY="U"
251>Nahoru</A
252></TD
253><TD
254WIDTH="33%"
255ALIGN="right"
256VALIGN="top"
257>aggregate_properties</TD
258></TR
259></TABLE
260></DIV
261></BODY
262></HTML
263>
Note: See TracBrowser for help on using the repository browser.