Source of: /manual/en/function.aggregate-properties.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.objaggregation.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.aggregate-properties.php',
1 => 'aggregate_properties',
),
'up' =>
array (
0 => 'ref.objaggregation.php',
1 => 'Object Aggregation Functions',
),
'prev' =>
array (
0 => 'function.aggregate-properties-by-regexp.php',
1 => 'aggregate_properties_by_regexp',
),
'next' =>
array (
0 => 'function.aggregate.php',
1 => 'aggregate',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.aggregate-properties" class="refentry">
<div class="refnamediv">
<h1 class="refname">aggregate_properties</h1>
<p class="verinfo">(PHP 4 >= 4.2.0)</p><p class="refpurpose"><span class="refname">aggregate_properties</span> — <span class="dc-title">
Dynamic aggregation of class properties to an object
</span></p>
</div>
<a name="function.aggregate-properties.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type"><span class="type void">void</span></span> <span class="methodname"><b>aggregate_properties</b></span>
( <span class="methodparam"><span class="type">object</span> <tt class="parameter">$object</tt></span>
, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$class_name</tt></span>
)</div>
<p class="para rdfs-comment">
Aggregates all properties defined in a class to an existing object, except
for properties whose names start with an underscore character (_) which
are considered private to the aggregated class.
</p>
</div>
<a name="function.aggregate-properties.parameters"></a><div class="refsect1 parameters">
<h3 class="title">Parameters</h3>
<p class="para">
</p><dl>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">object</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
</p>
</dd>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">class_name</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.aggregate-properties.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
No value is returned.
</p>
</div>
<a name="function.aggregate-properties.seealso"></a><div class="refsect1 seealso">
<h3 class="title">See Also</h3>
<p class="para">
</p><ul class="simplelist">
<li class="member"><a href="function.aggregate.php" class="function" rel="rdfs-seeAlso">aggregate()</a> - Dynamic class and object aggregation of methods and properties</li>
<li class="member"><a href="function.aggregate-methods.php" class="function" rel="rdfs-seeAlso">aggregate_methods()</a> - Dynamic class and object aggregation of methods</li>
<li class="member"><a href="function.aggregate-methods-by-list.php" class="function" rel="rdfs-seeAlso">aggregate_methods_by_list()</a> - Selective dynamic class methods aggregation to an object</li>
<li class="member"><a href="function.aggregate-methods-by-regexp.php" class="function" rel="rdfs-seeAlso">aggregate_methods_by_regexp()</a> - Selective class methods aggregation to an object using a regular
expression</li>
<li class="member"><b>aggregate_properties()</b></li>
<li class="member"><a href="function.aggregate-properties-by-list.php" class="function" rel="rdfs-seeAlso">aggregate_properties_by_list()</a> - Selective dynamic class properties aggregation to an object</li>
<li class="member"><a href="function.aggregate-properties-by-regexp.php" class="function" rel="rdfs-seeAlso">aggregate_properties_by_regexp()</a> - Selective class properties aggregation to an object using a regular
expression</li>
<li class="member"><a href="function.deaggregate.php" class="function" rel="rdfs-seeAlso">deaggregate()</a> - Removes the aggregated methods and properties from an object</li>
</ul><p>
</p>
</div>
</div><?php manual_footer(); ?>