src/MIBS/Extreme/System/Common.php
public function powerSupplySource( $translate = false )
    {
        $states = $this->getSNMP()->walk1d( self::OID_POWER_SUPPLY_SOURCE );

        if( !$translate )
            return $states;

        return $this->getSNMP()->translate( $states, self::$POWER_SUPPLY_SOURCES );
    }
public function powerSupplySource( $translate = false )
    {
        $states = $this->getSNMP()->walk1d( self::OID_POWER_SUPPLY_SOURCE );

        if( !$translate )
            return $states;

        return $this->getSNMP()->translate( $states, self::$POWER_SUPPLY_SOURCES );
    }
public function powerSupplySource ( $ translate = false ) { $ states = $ this -> getSNMP ( ) -> walk1d ( self :: OID_POWER_SUPPLY_SOURCE ) ; if ( ! $ translate ) return $ states ; return $ this -> getSNMP ( ) -> translate ( $ states , self :: $ POWER_SUPPLY_SOURCES ) ; }
The power supply unit input source.


@param boolean $translate If true, return the string representation via self::$POWER_SUPPLY_SOURCES
@return array The power supply unit input source.
The power supply unit input source .