src/php/NotifyMyAndroid.php
protected function determinePriority($state)
    {
        $priority = 0;

        if (array_key_exists($state, $this->stateToPriorityMap)) {
            $priority = $this->stateToPriorityMap[$state];
        }

        return $priority;
    }
protected function determinePriority($state)
    {
        $priority = 0;

        if (array_key_exists($state, $this->stateToPriorityMap)) {
            $priority = $this->stateToPriorityMap[$state];
        }

        return $priority;
    }
protected function determinePriority ( $ state ) { $ priority = 0 ; if ( array_key_exists ( $ state , $ this -> stateToPriorityMap ) ) { $ priority = $ this -> stateToPriorityMap [ $ state ] ; } return $ priority ; }
Returns the priority for the given host or service state.

@param string $state Host or service state.

@return int
Returns the priority for the given host or service state .