ODocument

php\orientdb\ODocument

Class ODocument

Properties


property id

string

read-only

Methods


__construct($className)
Параметры:
  • $classNamestring
isNew()
Результат:bool
resetId()
save()
delete()
clear()
reset()
undo($field)

Undo changes.

Параметры:
  • $field
    • (optional)
load()
reload()
toJson()
Результат:string
fromJson($json)
Параметры:
  • $jsonstring
__set($name, $value)
Параметры:
  • $name
  • $value
__get($name)
Параметры:
  • $name
__isset($name)
Параметры:
  • $name
__unset($name)
Параметры:
  • $name
__clone()