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

        if( !$translate )
            return $states;

        return $this->getSNMP()->translate( $states, self::$POWER_STATES );
    }
public function systemPowerState( $translate = false )
    {
        $states = $this->getSNMP()->get( self::OID_SYSTEM_POWER_STATE );

        if( !$translate )
            return $states;

        return $this->getSNMP()->translate( $states, self::$POWER_STATES );
    }
public function systemPowerState ( $ translate = false ) { $ states = $ this -> getSNMP ( ) -> get ( self :: OID_SYSTEM_POWER_STATE ) ; if ( ! $ translate ) return $ states ; return $ this -> getSNMP ( ) -> translate ( $ states , self :: $ POWER_STATES ) ; }
The system power state

@param boolean $translate If true, return the string representation via self::$POWER_STATES
@return array The power state.
The system power state