Maslosoft Mangan API
Class EmbeddedDocument
EmbeddedDocument
- Maslosoft\Mangan\EmbeddedDocument implements Maslosoft\Mangan\Interfaces\ActiveDocumentInterface uses Maslosoft\Mangan\Traits\I18NAbleTrait, Maslosoft\Mangan\Traits\OwneredTrait, Maslosoft\Mangan\Traits\ScenariosTrait, Maslosoft\Mangan\Traits\ValidatableTrait
Direct known subclasses
Maslosoft\Mangan\Document,
Maslosoft\Mangan\Example\ExampleAddress,
Maslosoft\Mangan\Model\File
Indirect known subclasses
Maslosoft\Mangan\Example\ExampleUser,
Maslosoft\Mangan\Model\Image,
Maslosoft\Mangan\Model\Trash,
Maslosoft\Mangan\Model\TrashItem
Namespace: Maslosoft\Mangan
Author: Ianaré Sévi
Author: Dariusz Górecki darek.krk@gmail.com
Author: Invenzzia Group, open-source division of CleverIT company http://www.invenzzia.org
Author: Piotr Maselkowski, Maslosoft
Copyright: 2011 CleverIT http://www.cleverit.com.pl
Copyright: 2013 Maslosoft http://maslosoft.com
Since: v1.0.8
Located at EmbeddedDocument.php
Methods summary
public
|
Methods inherited from Maslosoft\Mangan\Interfaces\ValidatableInterface
Methods inherited from Maslosoft\Mangan\Interfaces\ScenariosInterface
Methods inherited from Maslosoft\Mangan\Interfaces\OwneredInterface
Methods inherited from Maslosoft\Mangan\Interfaces\InternationalInterface
getDefaultLanguage(),
getLang(),
getLanguages(),
getRawI18N(),
setDefaultLanguage(),
setLang(),
setLanguages(),
setRawI18N()
Methods used from Maslosoft\Mangan\Traits\I18NAbleTrait
getDefaultLanguage(),
getLang(),
getLanguages(),
getRawI18N(),
setDefaultLanguage(),
setLang(),
setLanguages(),
setRawI18N()
Methods used from Maslosoft\Mangan\Traits\OwneredTrait
Methods used from Maslosoft\Mangan\Traits\ScenariosTrait
Methods used from Maslosoft\Mangan\Traits\ValidatableTrait
Constants summary
Constants inherited from Maslosoft\Mangan\Interfaces\ValidatableInterface
Constants inherited from Maslosoft\Mangan\Interfaces\ScenariosInterface
Constants inherited from Maslosoft\Mangan\Interfaces\InternationalInterface
EventAfterLangChange,
EventAfterLanguagesSet,
EventBeforeLangChange,
EventBeforeLanguagesSet
Properties summary
public
MongoId|null
|
$_id
Mongo id field NOTE: This is usefull for embedded documents too, as it is used for keeping order |
#
null
|
public
string
|
$_class
This holds type of this embedded document. While this field is not required, it is usefull in some scenarios, for example to generate JavaScript model classes from PHP classes. |
#
''
|
Magic properties
public
Maslosoft\Addendum\Collections\Meta
|
$meta
Model metadata |