PHP Manual
aggregate_properties_by_list
(PHP 4 >= 4.2.0)
aggregate_properties_by_list -- Selective dynamic class properties aggregation to an objectDescription
void aggregate_properties_by_list ( object object, string class_name, array properties_list [, bool exclude] )Aggregates properties from a class to an existing object using a list of property names.
The properties whose names start with an underscore character (_), which are considered private to the aggregated class, are always excluded.
Parameters
objectclass_nameproperties_listexcludeThe optional parameter
excludeis used to decide whether the list contains the names of class properties to include in the aggregation (i.e.excludeis FALSE, which is the default value), or to exclude from the aggregation (excludeis TRUE).
Support PHPRO.ORG
Search
PHPRO.ORG Poll
Warning: Participation in PHPRO.ORG polls may incorrectly lead you to believe your opinions matter.

RSS Feed




