src/MIBS/MAU.php
public function states($translate = false) {
        $states = $this->getSNMP()->subOidWalk(self::OID_STATUS, 12);

        if (!$translate)
            return $states;

        return $this->getSNMP()->translate($states, self::$STATES);
    }
public function states($translate = false) {
        $states = $this->getSNMP()->subOidWalk(self::OID_STATUS, 12);

        if (!$translate)
            return $states;

        return $this->getSNMP()->translate($states, self::$STATES);
    }
public function states ( $ translate = false ) { $ states = $ this -> getSNMP ( ) -> subOidWalk ( self :: OID_STATUS , 12 ) ; if ( ! $ translate ) return $ states ; return $ this -> getSNMP ( ) -> translate ( $ states , self :: $ STATES ) ; }
Get an array of device interface states

@see $STATES
@param boolean $translate If true, return the string representation
@return array An array of interface states
Get an array of device interface states