Habari\Comments::by_ip PHP Метод

by_ip() публичный статический Метод

selects all comments from a given IP address
public static by_ip ( string $ip = '' ) : array
$ip string an IP address
Результат array an array of Comment objects written from the given IP
    public static function by_ip($ip = '')
    {
        if (!$ip) {
            return false;
        }
        return self::get(array("ip" => $ip));
    }