Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
lithium
data
entity
Document
__set
lithium\data\entity\Document::__set PHP Method
Document Class Documentation
Datei anzeigen
Open project: unionofrad/lithium
__set()
public
method
$document->title = 'Lorem Ipsum'
. If
$value
is a complex data type (i.e. associative array), it is wrapped in a sub-
Document
object before being appended.
public
__set
(
$name
,
$value
= null ) :
void
$name
The name of the field/property to write to, i.e. `title` in the above example.
$value
The value to write, i.e. `'Lorem Ipsum'`.
return
void
public function __set($name, $value = null) { $this->set(array($name => $value)); }
Document
__get
__isset
__set
__unset
_getNested
_init
_relation
_setNested
current
export
key
next
offsetExists
offsetGet
offsetSet
offsetUnset
rewind
set
sync
to
valid