Quantcast

count-int Zend_Config output

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: count-int Zend_Config output

OpenMacNews-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

tho *i* am not currently doing so, i'd suggest that the options for
counting should include:

(1) count immediate children for any given property

        blah.this
        blah.that
        blah.that.theother
        blurg.this
        blurg.that
(2) count recursively all children for any given property
(3) count immediately children for any given property 'level'
(4) count recursively all children for any given property 'level'

given ini of:

        blah.this
        blah.that
        blurg.this
        blurg.that

then, results of:

        (1) count('blah') = 2
                --> blah.this + blah.that
        (2) count('blah', COUNT_RECURSIVE ) = 3
                -> blah.this + blah.that + blah.that.theother
        (3) count(1) = 2
                -> blah + blurg
        (3) count(1, COUNT_RECURSIVE) = 5
                -> all

just a thought ...

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iEYEAREDAAYFAkRvUPUACgkQlffdvTZxCMZmawCfQoCiv8DcxWQgZRyQSM69aacj
ZPoAn09Qe9b5BYQxtVDrShXE+z+yhsTJ
=CG+3
-----END PGP SIGNATURE-----

12
Loading...