├── OSS_SNMP ├── doc ├── img │ ├── favicon.ico │ ├── icons │ │ ├── ok.png │ │ ├── file.gif │ │ ├── class.png │ │ ├── favicon.ico │ │ ├── folder.gif │ │ ├── method.png │ │ ├── search.gif │ │ ├── constant.png │ │ ├── file-php.png │ │ ├── function.png │ │ ├── interface.png │ │ ├── property.png │ │ ├── variable.png │ │ ├── arrow_down.png │ │ ├── arrow_right.png │ │ ├── icon-th-big.png │ │ ├── view_source.png │ │ ├── visibility_public.png │ │ ├── visibility_private.png │ │ ├── icon-folder-open-big.png │ │ ├── visibility_protected.png │ │ └── icon_template.svg │ ├── loader.gif │ ├── iviewer │ │ ├── grab.cur │ │ ├── hand.cur │ │ ├── iviewer.zoom_in.png │ │ ├── iviewer.zoom_fit.png │ │ ├── iviewer.zoom_fit2.gif │ │ ├── iviewer.zoom_in2.gif │ │ ├── iviewer.zoom_out.png │ │ ├── iviewer.zoom_out2.gif │ │ ├── iviewer.zoom_zero.png │ │ ├── iviewer.rotate_left.png │ │ ├── iviewer.rotate_right.png │ │ └── iviewer.zoom_zero2.gif │ ├── apple-touch-icon.png │ ├── glyphicons-halflings.png │ ├── apple-touch-icon-72x72.png │ ├── apple-touch-icon-114x114.png │ └── glyphicons-halflings-white.png ├── js │ ├── prettify │ │ ├── lang-go.js │ │ ├── lang-lua.js │ │ ├── lang-ml.js │ │ ├── lang-sql.js │ │ ├── lang-tex.js │ │ ├── lang-vb.js │ │ ├── lang-apollo.js │ │ ├── lang-scala.js │ │ ├── lang-vhdl.js │ │ ├── lang-wiki.js │ │ ├── lang-proto.js │ │ ├── lang-yaml.js │ │ ├── lang-hs.js │ │ ├── lang-lisp.js │ │ ├── lang-css.js │ │ ├── lang-n.js │ │ └── lang-clj.js │ ├── menu.js │ ├── jquery.mousewheel.min.js │ ├── sidebar.js │ └── jquery.cookie.js ├── css │ ├── prettify.css │ └── jquery.iviewer.css ├── graph_class.html ├── deprecated.html ├── index.html └── classes │ └── OSS_SNMP.Exception.html ├── bin └── phpdoc.sh ├── .gitignore ├── src └── OSS_SNMP │ ├── MIBS │ ├── Huawei.php │ ├── SNMP.php │ ├── MRV.php │ ├── Cisco.php │ ├── Foundry.php │ ├── Host.php │ ├── Extreme.php │ ├── Extreme │ │ ├── System.php │ │ ├── SwMonitor.php │ │ ├── Port.php │ │ ├── Chassis.php │ │ └── SwMonitor │ │ │ ├── Cpu.php │ │ │ └── Memory.php │ ├── HP │ │ └── ProCurve │ │ │ └── Chassis.php │ ├── MRV │ │ └── System.php │ ├── Ip.php │ ├── RFC1213.php │ ├── Huawei │ │ └── System.php │ ├── Cisco │ │ └── PAGP.php │ ├── SNMP │ │ └── Engine.php │ ├── Asterisk │ │ └── Indications.php │ ├── Bridge.php │ └── Juniper.php │ ├── Platforms │ ├── vendor_ignitenet.php │ ├── vendor_h3c.php │ ├── dummy.php │ ├── vendor_hitachi_cable.php │ ├── vendor_mrv.php │ ├── vendor_quanta.php │ ├── vendor_netgear.php │ ├── vendor_fiberstore.php │ ├── vendor_arista.php │ ├── vendor_allied-telesis.php │ ├── vendor_hp_procurve.php │ ├── vendor_cumulus.php │ ├── vendor_juniper.php │ ├── vendor_linux.php │ ├── vendor_dell_force10.php │ ├── vendor_huawei.php │ └── vendor_alcatel-lucent.php │ ├── Exception.php │ ├── Cache.php │ ├── Timer.php │ ├── MIB.php │ └── Cache │ └── Basic.php ├── tests └── Tests │ └── OSS_SNMP │ └── Platforms │ ├── Platform.php │ ├── AlliedTelesisTest.php │ ├── IgniteNetTest.php │ ├── FiberStoreTest.php │ ├── AristaTest.php │ ├── JuniperTest.php │ ├── DellTest.php │ ├── BrocadeTest.php │ └── ExtremeTest.php ├── index.html ├── composer.json ├── phpunit.xml ├── etc └── phpdoc.tpl.xml ├── LICENSE ├── examples ├── system-info.php ├── platform.php ├── bgp.php ├── extreme.php └── mau.php └── README.md /OSS_SNMP: -------------------------------------------------------------------------------- 1 | src/OSS_SNMP -------------------------------------------------------------------------------- /doc/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/favicon.ico -------------------------------------------------------------------------------- /doc/img/icons/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/ok.png -------------------------------------------------------------------------------- /doc/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/loader.gif -------------------------------------------------------------------------------- /doc/img/icons/file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/file.gif -------------------------------------------------------------------------------- /doc/img/icons/class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/class.png -------------------------------------------------------------------------------- /doc/img/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/favicon.ico -------------------------------------------------------------------------------- /doc/img/icons/folder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/folder.gif -------------------------------------------------------------------------------- /doc/img/icons/method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/method.png -------------------------------------------------------------------------------- /doc/img/icons/search.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/search.gif -------------------------------------------------------------------------------- /doc/img/iviewer/grab.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/grab.cur -------------------------------------------------------------------------------- /doc/img/iviewer/hand.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/hand.cur -------------------------------------------------------------------------------- /doc/img/icons/constant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/constant.png -------------------------------------------------------------------------------- /doc/img/icons/file-php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/file-php.png -------------------------------------------------------------------------------- /doc/img/icons/function.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/function.png -------------------------------------------------------------------------------- /doc/img/icons/interface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/interface.png -------------------------------------------------------------------------------- /doc/img/icons/property.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/property.png -------------------------------------------------------------------------------- /doc/img/icons/variable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/variable.png -------------------------------------------------------------------------------- /doc/js/prettify/lang-go.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-go.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-lua.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-lua.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-ml.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-ml.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-sql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-sql.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-tex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-tex.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-vb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-vb.js -------------------------------------------------------------------------------- /doc/img/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/apple-touch-icon.png -------------------------------------------------------------------------------- /doc/img/icons/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/arrow_down.png -------------------------------------------------------------------------------- /doc/img/icons/arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/arrow_right.png -------------------------------------------------------------------------------- /doc/img/icons/icon-th-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/icon-th-big.png -------------------------------------------------------------------------------- /doc/img/icons/view_source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/view_source.png -------------------------------------------------------------------------------- /doc/js/prettify/lang-apollo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-apollo.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-scala.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-scala.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-vhdl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-vhdl.js -------------------------------------------------------------------------------- /doc/js/prettify/lang-wiki.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/js/prettify/lang-wiki.js -------------------------------------------------------------------------------- /doc/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /doc/img/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /doc/img/icons/visibility_public.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/visibility_public.png -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_in.png -------------------------------------------------------------------------------- /doc/img/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /doc/img/icons/visibility_private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/visibility_private.png -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_fit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_fit.png -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_fit2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_fit2.gif -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_in2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_in2.gif -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_out.png -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_out2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_out2.gif -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_zero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_zero.png -------------------------------------------------------------------------------- /doc/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /doc/img/icons/icon-folder-open-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/icon-folder-open-big.png -------------------------------------------------------------------------------- /doc/img/icons/visibility_protected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/icons/visibility_protected.png -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.rotate_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.rotate_left.png -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.rotate_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.rotate_right.png -------------------------------------------------------------------------------- /doc/img/iviewer/iviewer.zoom_zero2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opensolutions/OSS_SNMP/HEAD/doc/img/iviewer/iviewer.zoom_zero2.gif -------------------------------------------------------------------------------- /bin/phpdoc.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | ROOT=`dirname $0`/.. 4 | 5 | phpdoc -c $ROOT/etc/phpdoc.tpl.xml -d $ROOT/OSS_SNMP -t $ROOT/doc/ $* 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .buildpath 2 | .idea/ 3 | .project 4 | .settings/ 5 | *~ 6 | *.DS_Store 7 | doc/phpdoc-cache-* 8 | *~ 9 | vendor/ 10 | .phpunit.result.cache 11 | -------------------------------------------------------------------------------- /src/OSS_SNMP/MIBS/Huawei.php: -------------------------------------------------------------------------------- 1 | setVendor( 'IgniteNet' ); 9 | $this->setModel( "FNS-SFP-24" ); 10 | $this->setOs( null ); 11 | $this->setOsVersion( null ); 12 | $this->setOsDate( null ); 13 | } 14 | -------------------------------------------------------------------------------- /doc/js/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]); 3 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Open Solutions' OSS_SNMP Project 4 | 5 | 6 | 7 | 8 |

Open Solutions' OSS_SNMP Project

9 | 10 |

This is just a holding page, please see:

11 | 12 |

The GitHub Project 13 | Page.

14 | 15 |

The phpDoc Documentation.

16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "opensolutions/oss-snmp", 3 | "description": "A PHP SNMP library for people who hate SNMP, MIBs and OIDs!", 4 | "keywords": ["oss", "opensolutions", "snmp", "oss_snmp", "oss-snmp"], 5 | "license": "BSD-3-Clause", 6 | "require": { 7 | "php": ">=5.4.0" 8 | }, 9 | "require-dev": { 10 | "phpunit/phpunit": "9.*" 11 | }, 12 | "autoload": { 13 | "psr-0": { 14 | "OSS_SNMP": "src/", 15 | "Tests": "tests/" 16 | } 17 | }, 18 | "minimum-stability": "dev" 19 | } 20 | -------------------------------------------------------------------------------- /doc/js/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t-\r ]+/,null,"\t\n \r "],["str",/^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["str",/^'(?:[^\n\f\r'\\]|\\[^&])'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:--+[^\n\f\r]*|{-(?:[^-]|-+[^}-])*-})/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^\d'A-Za-z]|$)/, 2 | null],["pln",/^(?:[A-Z][\w']*\.)*[A-Za-z][\w']*/],["pun",/^[^\d\t-\r "'A-Za-z]+/]]),["hs"]); 3 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | ./tests 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /doc/css/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} -------------------------------------------------------------------------------- /tests/Tests/OSS_SNMP/Platforms/AlliedTelesisTest.php: -------------------------------------------------------------------------------- 1 | assertEquals( $p->getVendor(), 'Allied Telesis' ); 19 | $this->assertEquals( $p->getModel(), 'Unknown' ); 20 | $this->assertEquals( $p->getOs(), 'AW+' ); 21 | $this->assertEquals( $p->getOsVersion(), '5.4.7-2.5' ); 22 | 23 | $this->assertNull( $p->getOsDate() ); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /doc/js/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,a,"("],["clo",/^\)+/,a,")"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \xa0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,a], 3 | ["lit",/^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i],["lit",/^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["cl","el","lisp","scm"]); 4 | -------------------------------------------------------------------------------- /doc/js/menu.js: -------------------------------------------------------------------------------- 1 | var timeout = 500; 2 | var closetimer = 0; 3 | var ddmenuitem = 0; 4 | 5 | function menu_open() { 6 | menu_canceltimer(); 7 | menu_close(); 8 | ddmenuitem = $(this).find('ul').css('visibility', 'visible'); 9 | } 10 | 11 | function menu_close() { 12 | if (ddmenuitem) ddmenuitem.css('visibility', 'hidden'); 13 | } 14 | 15 | function menu_timer() { 16 | closetimer = window.setTimeout(menu_close, timeout); 17 | } 18 | 19 | function menu_canceltimer() { 20 | if (closetimer) { 21 | window.clearTimeout(closetimer); 22 | closetimer = null; 23 | } 24 | } 25 | 26 | $(document).ready(function() { 27 | $('#file-nav > li').bind('mouseover', menu_open); 28 | $('#file-nav > li').bind('mouseout', menu_timer); 29 | }); 30 | 31 | document.onclick = menu_close; -------------------------------------------------------------------------------- /tests/Tests/OSS_SNMP/Platforms/IgniteNetTest.php: -------------------------------------------------------------------------------- 1 | assertEquals( $p->getVendor(), 'IgniteNet' ); 23 | $this->assertNull( $p->getOs() ); 24 | $this->assertNull( $p->getOsVersion() ); 25 | $this->assertNull( $p->getOsDate() ); 26 | $this->assertEquals( $p->getModel(), 'FNS-SFP-24' ); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /doc/js/prettify/lang-css.js: -------------------------------------------------------------------------------- 1 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n "]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com", 2 | /^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); 3 | -------------------------------------------------------------------------------- /tests/Tests/OSS_SNMP/Platforms/FiberStoreTest.php: -------------------------------------------------------------------------------- 1 | assertEquals( 'FiberStore', $p->getVendor() ); 25 | $this->assertEquals( 'FSOS', $p->getOs() ); 26 | $this->assertEquals( '7.2.2', $p->getOsVersion() ); 27 | $this->assertNull( $p->getOsDate() ); 28 | $this->assertEquals( 'S5850 48S6Q', $p->getModel() ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /etc/phpdoc.tpl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OSS_SNMP 5 | 6 | TODO 7 | FIXME 8 | 9 | 10 | php 11 | php3 12 | phtml 13 | 14 | 15 | 16 | 17 | on 18 | on 19 | OSS_SNMP 20 | 21 | 22 | output 23 | 24 | 25 | warn 26 | 27 | {APP_ROOT}/data/log/{DATE}.log 28 | {APP_ROOT}/data/log/{DATE}.errors.log 29 | 30 | 31 | 32 |