OSS_SNMP.MIBS.Entity.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>OSS_SNMP » \OSS_SNMP\MIBS\Entity</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OSS_SNMP</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Namespaces</a></li>
  23. <li><a href="../namespaces/OSS.html"><i class="icon-th"></i> OSS</a></li>
  24. <li><a href="../namespaces/OSS_SNMP.html"><i class="icon-th"></i> OSS_SNMP</a></li>
  25. </ul>
  26. </li>
  27. <li class="dropdown" id="charts-menu">
  28. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  29. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  30. </li>
  31. <li class="dropdown" id="reports-menu">
  32. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  33. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  34. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  35. <span class="label label-info">32</span></a></li>
  36. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  37. <ul><li>todo 
  38. <span class="label label-info">1</span>
  39. </li></ul></a></li>
  40. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  41. <span class="label label-info">0</span></a></li>
  42. </ul>
  43. </li>
  44. </ul></div>
  45. </div></div>
  46. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  47. </div>
  48. <div id="___" class="container">
  49. <noscript><div class="alert alert-warning">
  50. Javascript is disabled; several features are only available
  51. if Javascript is enabled.
  52. </div></noscript>
  53. <div class="row">
  54. <div class="span4">
  55. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  56. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  57. </div>
  58. <ul class="side-nav nav nav-list">
  59. <li class="nav-header">
  60. <i class="icon-custom icon-method"></i> Methods</li>
  61. <li class="method public "><a href="#physicalAlias" title="physicalAlias :: Returns an associate array of physical aliases"><span class="description">Returns an associate array of physical aliases</span><pre>physicalAlias()</pre></a></li>
  62. <li class="method public "><a href="#physicalClass" title="physicalClass :: Returns an associate array of entPhysicalClass"><span class="description">Returns an associate array of entPhysicalClass</span><pre>physicalClass()</pre></a></li>
  63. <li class="method public "><a href="#physicalParentRelPos" title="physicalParentRelPos :: Returns an associate array of entPhysicalParentRelPos"><span class="description">Returns an associate array of entPhysicalParentRelPos</span><pre>physicalParentRelPos()</pre></a></li>
  64. <li class="method public "><a href="#relPosToAlias" title="relPosToAlias :: Utility function for MIBS\Cisco\RSTP::rstpPortRole() to try and translate a port index
  65. into a port ID"><span class="description">Utility function for MIBS\Cisco\RSTP::rstpPortRole() to try and translate a port index
  66. into a port ID</span><pre>relPosToAlias()</pre></a></li>
  67. <li class="nav-header">
  68. <i class="icon-custom icon-property"></i> Properties</li>
  69. <li class="property public "><a href="#%24ENTITY_PHSYICAL_CLASS" title="$ENTITY_PHSYICAL_CLASS :: "><span class="description">$ENTITY_PHSYICAL_CLASS</span><pre>$ENTITY_PHSYICAL_CLASS</pre></a></li>
  70. <li class="nav-header">
  71. <i class="icon-custom icon-constant"></i> Constants</li>
  72. <li class="constant "><a href="#OID_ENTITY_PHYSICAL_ALIAS" title="OID_ENTITY_PHYSICAL_ALIAS :: "><span class="description">OID_ENTITY_PHYSICAL_ALIAS</span><pre>OID_ENTITY_PHYSICAL_ALIAS</pre></a></li>
  73. <li class="constant "><a href="#OID_ENTITY_PHYSICAL_CLASS" title="OID_ENTITY_PHYSICAL_CLASS :: "><span class="description">OID_ENTITY_PHYSICAL_CLASS</span><pre>OID_ENTITY_PHYSICAL_CLASS</pre></a></li>
  74. <li class="constant "><a href="#OID_ENTITY_PHYSICAL_PARENT_REL_POS" title="OID_ENTITY_PHYSICAL_PARENT_REL_POS :: "><span class="description">OID_ENTITY_PHYSICAL_PARENT_REL_POS</span><pre>OID_ENTITY_PHYSICAL_PARENT_REL_POS</pre></a></li>
  75. <li class="constant "><a href="#PHYSICAL_CLASS_CHASSIS" title="PHYSICAL_CLASS_CHASSIS :: "><span class="description">PHYSICAL_CLASS_CHASSIS</span><pre>PHYSICAL_CLASS_CHASSIS</pre></a></li>
  76. <li class="constant "><a href="#PHYSICAL_CLASS_CONTAINER" title="PHYSICAL_CLASS_CONTAINER :: "><span class="description">PHYSICAL_CLASS_CONTAINER</span><pre>PHYSICAL_CLASS_CONTAINER</pre></a></li>
  77. <li class="constant "><a href="#PHYSICAL_CLASS_FAN" title="PHYSICAL_CLASS_FAN :: "><span class="description">PHYSICAL_CLASS_FAN</span><pre>PHYSICAL_CLASS_FAN</pre></a></li>
  78. <li class="constant "><a href="#PHYSICAL_CLASS_MODULE" title="PHYSICAL_CLASS_MODULE :: "><span class="description">PHYSICAL_CLASS_MODULE</span><pre>PHYSICAL_CLASS_MODULE</pre></a></li>
  79. <li class="constant "><a href="#PHYSICAL_CLASS_PORT" title="PHYSICAL_CLASS_PORT :: "><span class="description">PHYSICAL_CLASS_PORT</span><pre>PHYSICAL_CLASS_PORT</pre></a></li>
  80. <li class="constant "><a href="#PHYSICAL_CLASS_POWER_SUPPLY" title="PHYSICAL_CLASS_POWER_SUPPLY :: "><span class="description">PHYSICAL_CLASS_POWER_SUPPLY</span><pre>PHYSICAL_CLASS_POWER_SUPPLY</pre></a></li>
  81. <li class="constant "><a href="#PHYSICAL_CLASS_SENSOR" title="PHYSICAL_CLASS_SENSOR :: "><span class="description">PHYSICAL_CLASS_SENSOR</span><pre>PHYSICAL_CLASS_SENSOR</pre></a></li>
  82. </ul>
  83. </div>
  84. <div class="span8">
  85. <a name="%5COSS_SNMP%5CMIBS%5CEntity" id="\OSS_SNMP\MIBS\Entity"></a><ul class="breadcrumb">
  86. <li>
  87. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  88. </li>
  89. <li><a href="../namespaces/OSS_SNMP.html">OSS_SNMP</a></li>
  90. <span class="divider">\</span><li><a href="../namespaces/OSS_SNMP.MIBS.html">MIBS</a></li>
  91. <li class="active">
  92. <span class="divider">\</span><a href="../classes/OSS_SNMP.MIBS.Entity.html">Entity</a>
  93. </li>
  94. </ul>
  95. <div href="../classes/OSS_SNMP.MIBS.Entity.html" class="element class">
  96. <p class="short_description">A class for performing SNMP V2 queries on generic devices</p>
  97. <div class="details">
  98. <p class="long_description"></p>
  99. <table class="table table-bordered">
  100. <tr>
  101. <th>copyright</th>
  102. <td>Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland</td>
  103. </tr>
  104. <tr>
  105. <th>author</th>
  106. <td><a href="mailto:barry@opensolutions.ie">Barry O'Donovan</a></td>
  107. </tr>
  108. </table>
  109. <h3>
  110. <i class="icon-custom icon-method"></i> Methods</h3>
  111. <a name="physicalAlias" id="physicalAlias"></a><div class="element clickable method public physicalAlias" data-toggle="collapse" data-target=".physicalAlias .collapse">
  112. <h2>Returns an associate array of physical aliases</h2>
  113. <pre>physicalAlias() : array</pre>
  114. <div class="labels"></div>
  115. <div class="row collapse"><div class="detail-description">
  116. <p class="long_description"><p>e.g. [1005] => 10001</p></p>
  117. <h3>Returns</h3>
  118. <div class="subelement response">
  119. <code>array</code>Associate array of physical aliases</div>
  120. </div></div>
  121. </div>
  122. <a name="physicalClass" id="physicalClass"></a><div class="element clickable method public physicalClass" data-toggle="collapse" data-target=".physicalClass .collapse">
  123. <h2>Returns an associate array of entPhysicalClass</h2>
  124. <pre>physicalClass(boolean $translate) : array</pre>
  125. <div class="labels"></div>
  126. <div class="row collapse"><div class="detail-description">
  127. <p class="long_description"><p>e.g. [1005] => 10 / port</p></p>
  128. <h3>Parameters</h3>
  129. <div class="subelement argument">
  130. <h4>$translate</h4>
  131. <code>boolean</code><p>If true, return the string representation via self::$ENTITY_PHSYICAL_CLASS</p>
  132. </div>
  133. <h3>Returns</h3>
  134. <div class="subelement response">
  135. <code>array</code>Associate array of entPhysicalClass</div>
  136. </div></div>
  137. </div>
  138. <a name="physicalParentRelPos" id="physicalParentRelPos"></a><div class="element clickable method public physicalParentRelPos" data-toggle="collapse" data-target=".physicalParentRelPos .collapse">
  139. <h2>Returns an associate array of entPhysicalParentRelPos</h2>
  140. <pre>physicalParentRelPos() : array</pre>
  141. <div class="labels"></div>
  142. <div class="row collapse"><div class="detail-description">
  143. <p class="long_description"><p>e.g. [1005] => 1</p></p>
  144. <h3>Returns</h3>
  145. <div class="subelement response">
  146. <code>array</code>Associate array of entPhysicalParentRelPos</div>
  147. </div></div>
  148. </div>
  149. <a name="relPosToAlias" id="relPosToAlias"></a><div class="element clickable method public relPosToAlias" data-toggle="collapse" data-target=".relPosToAlias .collapse">
  150. <h2>Utility function for MIBS\Cisco\RSTP::rstpPortRole() to try and translate a port index
  151. into a port ID</h2>
  152. <pre>relPosToAlias() : Array</pre>
  153. <div class="labels"></div>
  154. <div class="row collapse"><div class="detail-description">
  155. <p class="long_description"><p>Makes a number of assumptions including that it has to be of type port, that the ID must be >10000,
  156. etc.</p></p>
  157. <h3>Returns</h3>
  158. <div class="subelement response">
  159. <code>Array</code>of relative positions to port IDs</div>
  160. </div></div>
  161. </div>
  162. <h3>
  163. <i class="icon-custom icon-property"></i> Properties</h3>
  164. <a name="%24ENTITY_PHSYICAL_CLASS" id="$ENTITY_PHSYICAL_CLASS"> </a><div class="element clickable property public $ENTITY_PHSYICAL_CLASS" data-toggle="collapse" data-target=".$ENTITY_PHSYICAL_CLASS .collapse">
  165. <h2>$ENTITY_PHSYICAL_CLASS</h2>
  166. <pre>$ENTITY_PHSYICAL_CLASS </pre>
  167. <div class="labels"></div>
  168. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  169. </div>
  170. <h3>
  171. <i class="icon-custom icon-constant"></i> Constants</h3>
  172. <a name="OID_ENTITY_PHYSICAL_ALIAS" id="OID_ENTITY_PHYSICAL_ALIAS"> </a><div class="element clickable constant OID_ENTITY_PHYSICAL_ALIAS" data-toggle="collapse" data-target=".OID_ENTITY_PHYSICAL_ALIAS .collapse">
  173. <h2>OID_ENTITY_PHYSICAL_ALIAS</h2>
  174. <pre>OID_ENTITY_PHYSICAL_ALIAS </pre>
  175. <div class="labels"></div>
  176. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  177. </div>
  178. <a name="OID_ENTITY_PHYSICAL_CLASS" id="OID_ENTITY_PHYSICAL_CLASS"> </a><div class="element clickable constant OID_ENTITY_PHYSICAL_CLASS" data-toggle="collapse" data-target=".OID_ENTITY_PHYSICAL_CLASS .collapse">
  179. <h2>OID_ENTITY_PHYSICAL_CLASS</h2>
  180. <pre>OID_ENTITY_PHYSICAL_CLASS </pre>
  181. <div class="labels"></div>
  182. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  183. </div>
  184. <a name="OID_ENTITY_PHYSICAL_PARENT_REL_POS" id="OID_ENTITY_PHYSICAL_PARENT_REL_POS"> </a><div class="element clickable constant OID_ENTITY_PHYSICAL_PARENT_REL_POS" data-toggle="collapse" data-target=".OID_ENTITY_PHYSICAL_PARENT_REL_POS .collapse">
  185. <h2>OID_ENTITY_PHYSICAL_PARENT_REL_POS</h2>
  186. <pre>OID_ENTITY_PHYSICAL_PARENT_REL_POS </pre>
  187. <div class="labels"></div>
  188. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  189. </div>
  190. <a name="PHYSICAL_CLASS_CHASSIS" id="PHYSICAL_CLASS_CHASSIS"> </a><div class="element clickable constant PHYSICAL_CLASS_CHASSIS" data-toggle="collapse" data-target=".PHYSICAL_CLASS_CHASSIS .collapse">
  191. <h2>PHYSICAL_CLASS_CHASSIS</h2>
  192. <pre>PHYSICAL_CLASS_CHASSIS </pre>
  193. <div class="labels"></div>
  194. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  195. </div>
  196. <a name="PHYSICAL_CLASS_CONTAINER" id="PHYSICAL_CLASS_CONTAINER"> </a><div class="element clickable constant PHYSICAL_CLASS_CONTAINER" data-toggle="collapse" data-target=".PHYSICAL_CLASS_CONTAINER .collapse">
  197. <h2>PHYSICAL_CLASS_CONTAINER</h2>
  198. <pre>PHYSICAL_CLASS_CONTAINER </pre>
  199. <div class="labels"></div>
  200. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  201. </div>
  202. <a name="PHYSICAL_CLASS_FAN" id="PHYSICAL_CLASS_FAN"> </a><div class="element clickable constant PHYSICAL_CLASS_FAN" data-toggle="collapse" data-target=".PHYSICAL_CLASS_FAN .collapse">
  203. <h2>PHYSICAL_CLASS_FAN</h2>
  204. <pre>PHYSICAL_CLASS_FAN </pre>
  205. <div class="labels"></div>
  206. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  207. </div>
  208. <a name="PHYSICAL_CLASS_MODULE" id="PHYSICAL_CLASS_MODULE"> </a><div class="element clickable constant PHYSICAL_CLASS_MODULE" data-toggle="collapse" data-target=".PHYSICAL_CLASS_MODULE .collapse">
  209. <h2>PHYSICAL_CLASS_MODULE</h2>
  210. <pre>PHYSICAL_CLASS_MODULE </pre>
  211. <div class="labels"></div>
  212. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  213. </div>
  214. <a name="PHYSICAL_CLASS_PORT" id="PHYSICAL_CLASS_PORT"> </a><div class="element clickable constant PHYSICAL_CLASS_PORT" data-toggle="collapse" data-target=".PHYSICAL_CLASS_PORT .collapse">
  215. <h2>PHYSICAL_CLASS_PORT</h2>
  216. <pre>PHYSICAL_CLASS_PORT </pre>
  217. <div class="labels"></div>
  218. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  219. </div>
  220. <a name="PHYSICAL_CLASS_POWER_SUPPLY" id="PHYSICAL_CLASS_POWER_SUPPLY"> </a><div class="element clickable constant PHYSICAL_CLASS_POWER_SUPPLY" data-toggle="collapse" data-target=".PHYSICAL_CLASS_POWER_SUPPLY .collapse">
  221. <h2>PHYSICAL_CLASS_POWER_SUPPLY</h2>
  222. <pre>PHYSICAL_CLASS_POWER_SUPPLY </pre>
  223. <div class="labels"></div>
  224. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  225. </div>
  226. <a name="PHYSICAL_CLASS_SENSOR" id="PHYSICAL_CLASS_SENSOR"> </a><div class="element clickable constant PHYSICAL_CLASS_SENSOR" data-toggle="collapse" data-target=".PHYSICAL_CLASS_SENSOR .collapse">
  227. <h2>PHYSICAL_CLASS_SENSOR</h2>
  228. <pre>PHYSICAL_CLASS_SENSOR </pre>
  229. <div class="labels"></div>
  230. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  231. </div>
  232. </div>
  233. </div>
  234. </div>
  235. </div>
  236. <div class="row"><footer class="span12">
  237. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  238. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a5</a> and<br>
  239. generated on 2012-06-20T19:41:09+01:00.<br></footer></div>
  240. </div>
  241. </body>
  242. </html>