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));
    }