public function isIgnoring($user_id)
    {
        if ((new Query)->select('id')->from('{{%podium_user_ignore}}')->where([
                'user_id' => $this->id,
                'ignored_id' => $user_id
            ])->exists()) {
            return true;
        }
        return false;
    }
public function isIgnoring($user_id)
    {
        if ((new Query)->select('id')->from('{{%podium_user_ignore}}')->where([
                'user_id' => $this->id,
                'ignored_id' => $user_id
            ])->exists()) {
            return true;
        }
        return false;
    }
public function isIgnoring ( $ user_id ) { if ( ( new Query ) -> select ( 'id' ) -> from ( '{{%podium_user_ignore}}' ) -> where ( [ 'user_id' => $ this -> id , 'ignored_id' => $ user_id ] ) -> exists ( ) ) { return true ; } return false ; }
Finds out if user is ignoring another.
@param int $user_id user ID
@return bool
Finds out if user is ignoring another .