Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
lithium
data
entity
Document
offsetGet
lithium\data\entity\Document::offsetGet PHP Метод
Документация по классу Document
Показать файл
Открыть проект
offsetGet()
публичный
Метод
Allows document fields to be accessed as array keys, i.e.
$document['_id']
.
public
offsetGet
(
mixed
$offset
) :
mixed
$offset
mixed
String or integer indicating the offset or index of a document in a set, or the name of a field in an individual document.
Результат
mixed
Returns either a sub-object in the document, or a scalar field value.
public function offsetGet($offset) { return $this->__get($offset); }
Document
__get
__isset
__set
__unset
_getNested
_init
_relation
_setNested
current
export
key
next
offsetExists
offsetGet
offsetSet
offsetUnset
rewind
set
sync
to
valid