Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
lithium
data
collection
DocumentArray
__unset
lithium\data\collection\DocumentArray::__unset PHP Method
DocumentArray Class Documentation
Show file
Open project: pmjones/php-framework-benchmarks
__unset()
public
method
Use case for this would be when you wish to edit a document and remove a field, i.e.: {{{ $doc = Post::find($id); unset($doc->fieldName); $doc->save(); }}}
public
__unset
(
unknown_type
$name
) :
void
$name
unknown_type
return
void
public function __unset($name) { unset($this->_data[$name]); }
DocumentArray
__isset
__unset
_populate
current
export
next
offsetGet
offsetSet
rewind