Method | Description | |
---|---|---|
__construct ( array $info ) | Constructor. | |
__debugInfo ( ) : array | Return the collection info as an array. | |
getKey ( ) : array | Return the index key. | |
getName ( ) : string | Return the index name. | |
getNamespace ( ) : string | Return the index namespace (e.g. "db.collection"). | |
getVersion ( ) : integer | Return the index version. | |
isSparse ( ) : boolean | Return whether this is a sparse index. | |
isTtl ( ) : boolean | Return whether this is a TTL index. | |
isUnique ( ) : boolean | Return whether this is a unique index. | |
offsetExists ( mixed $key ) : boolean | Check whether a field exists in the index information. | |
offsetGet ( mixed $key ) : mixed | Return the field's value from the index information. | |
offsetSet ( $key, $value ) | Not supported. | |
offsetUnset ( $key ) | Not supported. |
public __debugInfo ( ) : array | ||
return | array |
public getNamespace ( ) : string | ||
return | string |
public offsetExists ( mixed $key ) : boolean | ||
$key | mixed | |
return | boolean |