offsetGet ( $offset )

Get the value for a specific offset.

Access

public

Parameters

Parameter

Type

Required

Description

$offset

integer

Required

The location in the collection to retrieve the value for.

Returns

Type

Description

mixed

The value of the collection offset. NULL is returned if the offset does not exist.

Source

Method defined in utilities/credential.class.php | Toggle source view (9 lines) | View on GitHub

public function offsetGet($offset)
{
    if ($this->collection->offsetExists($offset))
    {
        return $this->collection->offsetGet($offset);
    }

    return null;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback