1 | <HTML
|
---|
2 | ><HEAD
|
---|
3 | ><TITLE
|
---|
4 | >aggregate_methods_by_list</TITLE
|
---|
5 | ><META
|
---|
6 | NAME="GENERATOR"
|
---|
7 | CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
---|
8 | REL="HOME"
|
---|
9 | TITLE="Manuál PHP"
|
---|
10 | HREF="index.html"><LINK
|
---|
11 | REL="UP"
|
---|
12 | TITLE="Object Aggregation/Composition Functions"
|
---|
13 | HREF="ref.objaggregation.html"><LINK
|
---|
14 | REL="PREVIOUS"
|
---|
15 | TITLE="Object Aggregation/Composition Functions"
|
---|
16 | HREF="ref.objaggregation.html"><LINK
|
---|
17 | REL="NEXT"
|
---|
18 | TITLE="aggregate_methods_by_regexp"
|
---|
19 | HREF="function.aggregate-methods-by-regexp.html"><META
|
---|
20 | HTTP-EQUIV="Content-type"
|
---|
21 | CONTENT="text/html; charset=ISO-8859-2"></HEAD
|
---|
22 | ><BODY
|
---|
23 | CLASS="refentry"
|
---|
24 | BGCOLOR="#FFFFFF"
|
---|
25 | TEXT="#000000"
|
---|
26 | LINK="#0000FF"
|
---|
27 | VLINK="#840084"
|
---|
28 | ALINK="#0000FF"
|
---|
29 | ><DIV
|
---|
30 | CLASS="NAVHEADER"
|
---|
31 | ><TABLE
|
---|
32 | SUMMARY="Header navigation table"
|
---|
33 | WIDTH="100%"
|
---|
34 | BORDER="0"
|
---|
35 | CELLPADDING="0"
|
---|
36 | CELLSPACING="0"
|
---|
37 | ><TR
|
---|
38 | ><TH
|
---|
39 | COLSPAN="3"
|
---|
40 | ALIGN="center"
|
---|
41 | >Manuál PHP</TH
|
---|
42 | ></TR
|
---|
43 | ><TR
|
---|
44 | ><TD
|
---|
45 | WIDTH="10%"
|
---|
46 | ALIGN="left"
|
---|
47 | VALIGN="bottom"
|
---|
48 | ><A
|
---|
49 | HREF="ref.objaggregation.html"
|
---|
50 | ACCESSKEY="P"
|
---|
51 | >Pøedcházející</A
|
---|
52 | ></TD
|
---|
53 | ><TD
|
---|
54 | WIDTH="80%"
|
---|
55 | ALIGN="center"
|
---|
56 | VALIGN="bottom"
|
---|
57 | ></TD
|
---|
58 | ><TD
|
---|
59 | WIDTH="10%"
|
---|
60 | ALIGN="right"
|
---|
61 | VALIGN="bottom"
|
---|
62 | ><A
|
---|
63 | HREF="function.aggregate-methods-by-regexp.html"
|
---|
64 | ACCESSKEY="N"
|
---|
65 | >Dal¹í</A
|
---|
66 | ></TD
|
---|
67 | ></TR
|
---|
68 | ></TABLE
|
---|
69 | ><HR
|
---|
70 | ALIGN="LEFT"
|
---|
71 | WIDTH="100%"></DIV
|
---|
72 | ><H1
|
---|
73 | ><A
|
---|
74 | NAME="function.aggregate-methods-by-list"
|
---|
75 | ></A
|
---|
76 | >aggregate_methods_by_list</H1
|
---|
77 | ><DIV
|
---|
78 | CLASS="refnamediv"
|
---|
79 | ><A
|
---|
80 | NAME="AEN61386"
|
---|
81 | ></A
|
---|
82 | ><P
|
---|
83 | > (PHP 4 >= 4.2.0)</P
|
---|
84 | >aggregate_methods_by_list --
|
---|
85 | selective dynamic class methods aggregation to an object
|
---|
86 | </DIV
|
---|
87 | ><DIV
|
---|
88 | CLASS="refsect1"
|
---|
89 | ><A
|
---|
90 | NAME="AEN61389"
|
---|
91 | ></A
|
---|
92 | ><H2
|
---|
93 | >Description</H2
|
---|
94 | >void <B
|
---|
95 | CLASS="methodname"
|
---|
96 | >aggregate_methods_by_list</B
|
---|
97 | > ( object object, string class_name, array methods_list [, boolean exclude])<BR
|
---|
98 | ></BR
|
---|
99 | ><P
|
---|
100 | > Aggregates methods from a class to
|
---|
101 | an existing object using a list of method names. The optional paramater
|
---|
102 | <TT
|
---|
103 | CLASS="parameter"
|
---|
104 | ><I
|
---|
105 | >exclude</I
|
---|
106 | ></TT
|
---|
107 | > is used to decide whether the list
|
---|
108 | contains the names of methods to include in the aggregation (i.e.
|
---|
109 | <TT
|
---|
110 | CLASS="parameter"
|
---|
111 | ><I
|
---|
112 | >exclude</I
|
---|
113 | ></TT
|
---|
114 | > is <TT
|
---|
115 | CLASS="constant"
|
---|
116 | ><B
|
---|
117 | >FALSE</B
|
---|
118 | ></TT
|
---|
119 | >, which is the default value),
|
---|
120 | or to exclude from the aggregation (<TT
|
---|
121 | CLASS="parameter"
|
---|
122 | ><I
|
---|
123 | >exclude</I
|
---|
124 | ></TT
|
---|
125 | > is
|
---|
126 | <TT
|
---|
127 | CLASS="constant"
|
---|
128 | ><B
|
---|
129 | >TRUE</B
|
---|
130 | ></TT
|
---|
131 | >).
|
---|
132 | </P
|
---|
133 | ><P
|
---|
134 | > The class constructor or methods
|
---|
135 | whose names start with an underscore character (_), which are
|
---|
136 | considered private to the aggregated class, are always
|
---|
137 | excluded.
|
---|
138 | </P
|
---|
139 | ><P
|
---|
140 | > See also
|
---|
141 | <A
|
---|
142 | HREF="function.aggregate.html"
|
---|
143 | ><B
|
---|
144 | CLASS="function"
|
---|
145 | >aggregate()</B
|
---|
146 | ></A
|
---|
147 | >,
|
---|
148 | <B
|
---|
149 | CLASS="function"
|
---|
150 | >aggregate_info()</B
|
---|
151 | >,
|
---|
152 | <A
|
---|
153 | HREF="function.aggregate-methods.html"
|
---|
154 | ><B
|
---|
155 | CLASS="function"
|
---|
156 | >aggregate_methods()</B
|
---|
157 | ></A
|
---|
158 | >,
|
---|
159 | <A
|
---|
160 | HREF="function.aggregate-methods-by-regexp.html"
|
---|
161 | ><B
|
---|
162 | CLASS="function"
|
---|
163 | >aggregate_methods_by_regexp()</B
|
---|
164 | ></A
|
---|
165 | >,
|
---|
166 | <A
|
---|
167 | HREF="function.aggregate-properties.html"
|
---|
168 | ><B
|
---|
169 | CLASS="function"
|
---|
170 | >aggregate_properties()</B
|
---|
171 | ></A
|
---|
172 | >,
|
---|
173 | <A
|
---|
174 | HREF="function.aggregate-properties-by-list.html"
|
---|
175 | ><B
|
---|
176 | CLASS="function"
|
---|
177 | >aggregate_properties_by_list()</B
|
---|
178 | ></A
|
---|
179 | >,
|
---|
180 | <A
|
---|
181 | HREF="function.aggregate-properties-by-regexp.html"
|
---|
182 | ><B
|
---|
183 | CLASS="function"
|
---|
184 | >aggregate_properties_by_regexp()</B
|
---|
185 | ></A
|
---|
186 | >,
|
---|
187 | <A
|
---|
188 | HREF="function.deaggregate.html"
|
---|
189 | ><B
|
---|
190 | CLASS="function"
|
---|
191 | >deaggregate()</B
|
---|
192 | ></A
|
---|
193 | >
|
---|
194 | </P
|
---|
195 | ></DIV
|
---|
196 | ><DIV
|
---|
197 | CLASS="NAVFOOTER"
|
---|
198 | ><HR
|
---|
199 | ALIGN="LEFT"
|
---|
200 | WIDTH="100%"><TABLE
|
---|
201 | SUMMARY="Footer navigation table"
|
---|
202 | WIDTH="100%"
|
---|
203 | BORDER="0"
|
---|
204 | CELLPADDING="0"
|
---|
205 | CELLSPACING="0"
|
---|
206 | ><TR
|
---|
207 | ><TD
|
---|
208 | WIDTH="33%"
|
---|
209 | ALIGN="left"
|
---|
210 | VALIGN="top"
|
---|
211 | ><A
|
---|
212 | HREF="ref.objaggregation.html"
|
---|
213 | ACCESSKEY="P"
|
---|
214 | >Pøedcházející</A
|
---|
215 | ></TD
|
---|
216 | ><TD
|
---|
217 | WIDTH="34%"
|
---|
218 | ALIGN="center"
|
---|
219 | VALIGN="top"
|
---|
220 | ><A
|
---|
221 | HREF="index.html"
|
---|
222 | ACCESSKEY="H"
|
---|
223 | >Domù</A
|
---|
224 | ></TD
|
---|
225 | ><TD
|
---|
226 | WIDTH="33%"
|
---|
227 | ALIGN="right"
|
---|
228 | VALIGN="top"
|
---|
229 | ><A
|
---|
230 | HREF="function.aggregate-methods-by-regexp.html"
|
---|
231 | ACCESSKEY="N"
|
---|
232 | >Dal¹í</A
|
---|
233 | ></TD
|
---|
234 | ></TR
|
---|
235 | ><TR
|
---|
236 | ><TD
|
---|
237 | WIDTH="33%"
|
---|
238 | ALIGN="left"
|
---|
239 | VALIGN="top"
|
---|
240 | >Object Aggregation/Composition Functions</TD
|
---|
241 | ><TD
|
---|
242 | WIDTH="34%"
|
---|
243 | ALIGN="center"
|
---|
244 | VALIGN="top"
|
---|
245 | ><A
|
---|
246 | HREF="ref.objaggregation.html"
|
---|
247 | ACCESSKEY="U"
|
---|
248 | >Nahoru</A
|
---|
249 | ></TD
|
---|
250 | ><TD
|
---|
251 | WIDTH="33%"
|
---|
252 | ALIGN="right"
|
---|
253 | VALIGN="top"
|
---|
254 | >aggregate_methods_by_regexp</TD
|
---|
255 | ></TR
|
---|
256 | ></TABLE
|
---|
257 | ></DIV
|
---|
258 | ></BODY
|
---|
259 | ></HTML
|
---|
260 | >
|
---|