offsetExists() public method
Returns whether there is an element at the specified offset.
This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like isset($model[$offset])
.
public boolean offsetExists ( $offset ) | ||
---|---|---|
$offset | mixed |
The offset to check on. |
return | boolean |
Whether or not an offset exists. |
Please login to continue.