offsetGet() public method
Returns the element at the specified offset.
This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $value = $model[$offset];
.
public mixed offsetGet ( $offset ) | ||
---|---|---|
$offset | mixed |
The offset to retrieve element. |
return | mixed |
The element at the offset, null if no element is found at the offset |
Please login to continue.