PHP 8.3.4 Released!

SolrDocument::offsetExists

(PECL solr >= 0.9.2)

SolrDocument::offsetExists特定のフィールドが存在するかどうかチェック

説明

public SolrDocument::offsetExists(string $fieldName): bool

特定のフィールドが存在するかどうかチェックします。これは、オブジェクトが配列として扱われる際に使用されます。

パラメータ

fieldName

フィールド名

戻り値

成功した場合に true を、失敗した場合に false を返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top