diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-26 13:28:43 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-26 13:28:43 +0000 |
| commit | 84b76acee504a3160ab2b568ab7517aedc8e5eb5 (patch) | |
| tree | 56b02f3a783860393fe18603104c71b8070f875e /frontends/php/include/config.inc.php | |
| parent | 45dd16822e8717f9685eb05ec2d6f7c5c43f1e3a (diff) | |
| download | zabbix-84b76acee504a3160ab2b568ab7517aedc8e5eb5.tar.gz zabbix-84b76acee504a3160ab2b568ab7517aedc8e5eb5.tar.xz zabbix-84b76acee504a3160ab2b568ab7517aedc8e5eb5.zip | |
- support of multiple actions per set of conidtions (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3927 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
| -rw-r--r-- | frontends/php/include/config.inc.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index 012a0566..c3c1b316 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -20,6 +20,7 @@ function SDI($msg="SDI") { echo "DEBUG INFO: "; var_export($msg); echo BR; } // DEBUG INFO!!! function VDP($var, $msg=null) { echo "DEBUG DUMP: "; if(isset($msg)) echo '"'.$msg.'"'.SPACE; var_dump($var); echo BR; } // DEBUG INFO!!! +function TODO($msg) { echo "TODO: ".$msg.BR; } // DEBUG INFO!!! ?> @@ -1999,4 +2000,24 @@ else if (document.getElementById) return isset($array[$keys]); } + + /* function: + * zbx_rksort + * + * description: + * Recursively sort an array by key + * + * author: Eugene Grigorjev + */ + function zbx_rksort(&$array, $flags=NULL) + { + if(is_array($array)) + { + foreach($array as $id => $data) + zbx_rksort($array[$id]); + + ksort($array,$flags); + } + return $array; + } ?> |
