AGGREGATE_PROPERTIES_BY_LIST(3) 1 AGGREGATE_PROPERTIES_BY_LIST(3)
aggregate_properties_by_list - Selective dynamic class properties aggregation to an object
SYNOPSIS
void aggregate_properties_by_list (object $object, string $class_name, array $properties_list, [bool $exclude = false])
DESCRIPTION
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
o $object
-
o $class_name
-
o $properties_list
-
o $exclude
- The optional parameter $exclude is used to decide whether the list contains the names of class properties to include in the
aggregation (i.e. $exclude is FALSE), or to exclude from the aggregation ($exclude is TRUE).
RETURN VALUES
No value is returned.
SEE ALSO
aggregate(3), aggregate_methods(3), aggregate_methods_by_list(3), aggregate_methods_by_regexp(3), aggregate_properties(3), aggregate_prop-
erties_by_regexp(3), aggregate_info(3), deaggregate(3).
PHP Documentation Group AGGREGATE_PROPERTIES_BY_LIST(3)