function oidList() { if (self::$oidlist === null) { self::$oidlist = parent::oidList(); //self::$oidlist = array_merge ( array_keys( self::$simplequeries ), array_keys( self::$orderstatuslist ), array_keys( self::$cachelist ), array_keys( self::$storagedirlist ), array( '2.1.1', '2.4.1', '2.4.2', '2.4.3', '2.5.1' ) ); //usort( self::$oidlist, 'version_compare' ); } return self::$oidlist; }
/** * We cache the full list of oids for speed concerns */ function oidList() { static $settings; if (!is_array($this->_oidlist) || count($this->_oidlist) == 0) { /*$settings = array(); foreach ( $this->buildMIB() as $i => $file ) { foreach( $file['children'] as $j => $group ) { foreach( array_keys( $group['children'] ) as $k ) { $settings[] = "1.1.$i.$j.$k"; } } }*/ parent::oidList(); } return $this->_oidlist; }