public static function getDailyRank($url = false)
    {
        self::setRankingKeys($url);
        if (0 == self::$_rankKeys['1d']) {
            return parent::noDataDefaultValue();
        }

        $xpath = self::_getXPath($url);
        $nodes = @$xpath->query("//*[@id='rank']/table/tr[" . self::$_rankKeys['1d'] . "]/td[1]");

        return !$nodes->item(0) ? parent::noDataDefaultValue() :
            self::retInt( strip_tags($nodes->item(0)->nodeValue) );
    }
public static function getDailyRank($url = false)
    {
        self::setRankingKeys($url);
        if (0 == self::$_rankKeys['1d']) {
            return parent::noDataDefaultValue();
        }

        $xpath = self::_getXPath($url);
        $nodes = @$xpath->query("//*[@id='rank']/table/tr[" . self::$_rankKeys['1d'] . "]/td[1]");

        return !$nodes->item(0) ? parent::noDataDefaultValue() :
            self::retInt( strip_tags($nodes->item(0)->nodeValue) );
    }
public static function getDailyRank ( $ url = false ) { self :: setRankingKeys ( $ url ) ; if ( 0 == self :: $ _rankKeys [ '1d' ] ) { return parent :: noDataDefaultValue ( ) ; } $ xpath = self :: _getXPath ( $ url ) ; $ nodes = @ $ xpath -> query ( "//*[@id='rank']/table/tr[" . self :: $ _rankKeys [ '1d' ] . "]/td[1]" ) ; return ! $ nodes -> item ( 0 ) ? parent :: noDataDefaultValue ( ) : self :: retInt ( strip_tags ( $ nodes -> item ( 0 ) -> nodeValue ) ) ; }
Get yesterday's rank
@return int
Get yesterday s rank