From c21e04aedf26154f7481d77ff9e48174bfb336cd Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Sat, 3 Aug 2002 23:48:48 +0000 Subject: [PATCH] Some of the aggregate functions. Simple doc, examples in main ref page. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@90843 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/aggregate-methods-by-list.xml | 67 +++++++++++++++++++ .../functions/aggregate-methods.xml | 56 ++++++++++++++++ .../objaggregation/functions/aggregate.xml | 7 +- 3 files changed, 127 insertions(+), 3 deletions(-) create mode 100644 reference/objaggregation/functions/aggregate-methods-by-list.xml create mode 100644 reference/objaggregation/functions/aggregate-methods.xml diff --git a/reference/objaggregation/functions/aggregate-methods-by-list.xml b/reference/objaggregation/functions/aggregate-methods-by-list.xml new file mode 100644 index 0000000000..55f6dff4cc --- /dev/null +++ b/reference/objaggregation/functions/aggregate-methods-by-list.xml @@ -0,0 +1,67 @@ + + + + + aggregate_methods_by_list + + selective dynamic class methods aggregation to an object + + + + Description + + voidaggregate_methods_by_list + objectobject + stringclass_name + arraymethods_list + booleanexclude + + + Aggregates methods from a class to + an existing object using a list of method names. The optional paramater + exclude is used to decide whether the list + contains the names of methods to include in the aggregation (i.e. + exclude is &false;, which is the default value), + or to exclude from the aggregation (exclude is + &true;). + + + The class constructor or methods + whose names start with an underscore character (_), which are + considered private to the aggregated class, are always + excluded. + + + See also + aggregate, + aggregate_info, + aggregate_methods, + aggregate_methods_by_regexp, + aggregate_properties, + aggregate_properties_by_list, + aggregate_properties_by_regexp, + deaggregate + + + + + diff --git a/reference/objaggregation/functions/aggregate-methods.xml b/reference/objaggregation/functions/aggregate-methods.xml new file mode 100644 index 0000000000..bad24c9c74 --- /dev/null +++ b/reference/objaggregation/functions/aggregate-methods.xml @@ -0,0 +1,56 @@ + + + + + aggregate_methods + + dynamic class and object aggregation of methods + + + + Description + + voidaggregate_methods + objectobject + stringclass_name + + + Aggregates all methods defined in a class to + an existing object, except for the class constructor, or methods + whose names start with an underscore character (_) which are + considered private to the aggregated class. + + + See also + aggregate, + aggregate_info, + aggregate_methods_by_list, + aggregate_methods_by_regexp, + aggregate_properties, + aggregate_properties_by_list, + aggregate_properties_by_regexp, + deaggregate + + + + + diff --git a/reference/objaggregation/functions/aggregate.xml b/reference/objaggregation/functions/aggregate.xml index 8b6af3a959..b4ecd197f6 100644 --- a/reference/objaggregation/functions/aggregate.xml +++ b/reference/objaggregation/functions/aggregate.xml @@ -1,10 +1,10 @@ - + aggregate - dynamic class and object aggregation + dynamic class and object aggregation of methods and properties @@ -16,13 +16,14 @@ Aggregates methods and properties defined in a class to - an existing object. Methods and properties starting with + an existing object. Methods and properties with names starting with an underscore character (_) are considered private to the aggregated class and are not used, constructors are also excluded from the aggregation procedure. See also + aggregate_info, aggregate_methods, aggregate_methods_by_list, aggregate_methods_by_regexp,