protected function getUrlPriority($url)
  {
    $cnt = count($this->url_priorities);
    for ($x=0; $x<$cnt; $x++)
    {
      if (preg_match($this->url_priorities[$x]["match"], $url))
      {
        return $this->url_priorities[$x]["level"];
      }
    }
    
    return 0;
  }
protected function getUrlPriority($url)
  {
    $cnt = count($this->url_priorities);
    for ($x=0; $x<$cnt; $x++)
    {
      if (preg_match($this->url_priorities[$x]["match"], $url))
      {
        return $this->url_priorities[$x]["level"];
      }
    }
    
    return 0;
  }
protected function getUrlPriority ( $ url ) { $ cnt = count ( $ this -> url_priorities ) ; for ( $ x = 0 ; $ x < $ cnt ; $ x ++ ) { if ( preg_match ( $ this -> url_priorities [ $ x ] [ "match" ] , $ url ) ) { return $ this -> url_priorities [ $ x ] [ "level" ] ; } } return 0 ; }
Gets the priority-level of the given URL
Gets the priority - level of the given URL