Re: how to walk async recursively over an object, doing work (in right order) per leaf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



oops; printNextLevel : function (pvCmd) {
            if (
                typeof pvCmd.val == 'object'
                && typeof pvCmd.val.hmStats == 'object'
                && typeof pvCmd.val.hmData == 'object'
            ) {
                //if (pvCmd.keyValueName && pvCmd.keyValueName!='')
pvCmd.val.hmStats.keyValueName=pvCmd.keyValueName; //bit of a hack, i
agree.
                var td = typeof pvCmd.val.hmData;
                var d = pvCmd.val.hmData;
            } else {
                var td = typeof pvCmd.val;
                var d = pvCmd.val;
            };

            pvCmd.scanPointer = d;
            rajmv.hms.tools.printNextLevel_scan (pvCmd,
rajmv.hms.tools.printNextLevel_buildDatanodes);

            return {
                html : '<tr><td>Have Yet To Render This</td></tr>'
            };
        },

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux