Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

aggregate_methods_by_regexp(3) [php man page]

AGGREGATE_METHODS_BY_REGEXP(3)						 1					    AGGREGATE_METHODS_BY_REGEXP(3)

aggregate_methods_by_regexp - Selective class methods aggregation to an object using a regular expression

SYNOPSIS
void aggregate_methods_by_regexp (object $object, string $class_name, string $regexp, [bool $exclude = false]) DESCRIPTION
Aggregates methods from a class to an existing object using a regular expression to match method names. The class constructor or methods 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 $regexp - o $exclude - The optional parameter $exclude is used to decide whether the regular expression will select the names of methods 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_info(3), aggregate_methods(3), aggregate_methods_by_list(3), aggregate_properties(3), aggregate_proper- ties_by_list(3), aggregate_properties_by_regexp(3), deaggregate(3). PHP Documentation Group AGGREGATE_METHODS_BY_REGEXP(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Getting 'tar' to exclude

I want 'tar' to exclude certain dir's. tar cvf ............. ............ does the whole lot, but I want to exclude the 'log' dirs. (6 Replies)
Discussion started by: kuultak
6 Replies

2. Programming

help in regular expression

Hi all, I'm working with flex (version 2.5.4a) on GNU/linux. I need to frame a regular expression which would match cases where word "file" does not occur. Negated character class wont work for me because they enforce "or" clause between different chars (so something like wont work). I would like... (5 Replies)
Discussion started by: Rakesh Ranjan
5 Replies

3. UNIX for Advanced & Expert Users

exclude multiple records

Hi I need to exclude multiple records in file .Using grep -v ,can exclude that record Ex: If want to exclude 0012777201,0012777202 use grep two times .Is there any command to achive this through single command ?( cann't use grep multiple times if need to exclude multiple records in husge... (5 Replies)
Discussion started by: mohan705
5 Replies

4. AIX

backupios

Hello, When i make a backupios commande to save my IOS, this command lunch a savevg but not with the option -e to use the exclude.rootvg file. How can i use the backupios commande to exclude the file in exclude.rootvg. Thank's. (9 Replies)
Discussion started by: youss5993
9 Replies

5. Shell Programming and Scripting

Regular Expression to exclude pattern

Hi All I am using regular expressions to determine how to group certain data. I've included an example of the data below. USD_SPTR_2Y_725.5_PUT_EUROPEAN_09Q1|USD||European| CAD_NDX_10Yx1Y_5.5_PUT_EUROPEAN_09Q1|CAD||European| The regular expressions I am using is as follows and this is... (5 Replies)
Discussion started by: kingpin2502
5 Replies

6. Shell Programming and Scripting

exclude characters in echo command please help

Hi all, I wrote one code and i face some difficulties to exclude some characters from the echo command more specifically the last command is echo $a "${RESULT}" >> results_data_srcip the results which i have taken are: nfcapd.200908250000 -.352228 nfcapd.200908250005 -.345085 ... (4 Replies)
Discussion started by: draxmas
4 Replies

7. Shell Programming and Scripting

Perl regular expression for exclude specific ip range

I need regular expression for excluding specific range. e.g. Input Data is 10.10.10.50 67.172.15.15 10.10.10.15 78.122.105.108 I would like to extract only 67.172.15.15 & 78.122.105.108. I tried with something like /(^10.10.10)/ but it's not working. Please help me on this (17 Replies)
Discussion started by: nrbhole
17 Replies

8. UNIX for Dummies Questions & Answers

cmd find: exclude directory when using option -depth

hello, i want to use "-depth" in command "find" and want to exclude a directory. the find command should work in HP-UX and Linux. i see in the find man page: -prune If -depth is not given, true; do not descend the current directory. If -depth is given, false; no effect. -depth... (3 Replies)
Discussion started by: bora99
3 Replies

9. Programming

How to use regular expression in C/C++ ?

how to code with regexp.h some one can give me instance? thx (4 Replies)
Discussion started by: AKB48
4 Replies

10. Shell Programming and Scripting

tar --exclude with curly braces

I'm having trouble understanding the exclude option in tar. From some web sites, it seems one is able to exclude several strings by enclosing them in curly brackets. However it seems to be "random" what gets excluded when using the curlies. I've been using the exclude-from=myfile option in a... (12 Replies)
Discussion started by: majest
12 Replies

11. Shell Programming and Scripting

comment a line of the patterns is a the beginning of the line

I need to comment the lines starting with pattern "exclude" or "exclude=". If the work exclude comes at any other part, ignore it. Also, ignore, excludes, excluded etc. Ie only comment the line starting with exclude. File contents. exclude exclude= hi I am excluded excludes excludes= ... (9 Replies)
Discussion started by: anil510
9 Replies

12. Shell Programming and Scripting

How to find out whether a file exists with the help of regular expression?

Hi all I have a list of file names in array. But this file names are not exact. so i want to search whether a file exists or not using regular expression. code snippet: if ; then echo "File exists" else echo "File does not exits" fi over here "*EQST*" should be treated as a regular... (4 Replies)
Discussion started by: Ganesh_more
4 Replies

13. Shell Programming and Scripting

Gawk and regexp

Hello, This is a problem I've worked on a while and can't figure out. There is a file.txt ..some stuff.. ] ] ..some stuff.. The Awk program is trying to extract the year portion of the birth and death ("98: and "2nd C.") using the below technique #!/bin/awk @include... (5 Replies)
Discussion started by: Mid Ocean
5 Replies

14. Solaris

How can I test link aggregation?

Hi, I have Solaris-10 server and link aggregation is configured on this in below way # dladm show-aggr key: 1 (0x0001) policy: L4 address: 3c:d9:2b:ee:a8:a (auto) device address speed duplex link state bnx1 3c:d9:2b:ee:a8:a... (8 Replies)
Discussion started by: solaris_1977
8 Replies

15. Shell Programming and Scripting

Linux find command : how to use multiple conditions

Hello. I need to find all files but excluding some because I need to exclude some sub-folders I need to exclude some filenames Files must be within two dates. The result is sent to a function I cannot achieved to put together the date conditions, the folder conditions and the... (4 Replies)
Discussion started by: jcdole
4 Replies