Maslosoft Mangan API
Class Document
Document
- 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
 - 
			
Maslosoft\Mangan\Document			
			 implements 
				Maslosoft\Mangan\Interfaces\ActiveRecordInterface
			
			 uses 
					Maslosoft\Mangan\Traits\EntityManagerTrait, 
			
					Maslosoft\Mangan\Traits\FinderTrait, 
			
					Maslosoft\Mangan\Traits\CollectionNameTrait, 
			
					Maslosoft\Mangan\Traits\WithCriteriaTrait
			
		 
Direct known subclasses
			Maslosoft\Mangan\Example\ExampleUser, 
			Maslosoft\Mangan\Model\TrashItem
		
Indirect known subclasses
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
Copyright: 2011 CleverIT http://www.cleverit.com.pl
Since: v1.0
Located at Document.php
Methods summary
				 public 
				
				
				
			 | 
			|
				 public static
				
			 | 
			
Methods inherited from Maslosoft\Mangan\Interfaces\InternationalInterface
				getDefaultLanguage(), 
				getLang(), 
				getLanguages(), 
				getRawI18N(), 
				setDefaultLanguage(), 
				setLang(), 
				setLanguages(), 
				setRawI18N()
			
Methods inherited from Maslosoft\Mangan\Interfaces\OwneredInterface
Methods inherited from Maslosoft\Mangan\Interfaces\ScenariosInterface
Methods inherited from Maslosoft\Mangan\Interfaces\ValidatableInterface
Methods inherited from Maslosoft\Mangan\Interfaces\WithCriteriaInterface
Methods inherited from Maslosoft\Mangan\Interfaces\CollectionNameInterface
Methods inherited from Maslosoft\Mangan\Interfaces\EntityManagerInterface
				delete(), 
				deleteAll(), 
				deleteAllByPk(), 
				deleteByPk(), 
				deleteOne(), 
				getCollection(), 
				insert(), 
				refresh(), 
				replace(), 
				save(), 
				update(), 
				updateAll(), 
				updateOne(), 
				upsert()
			
Methods inherited from Maslosoft\Mangan\Interfaces\FinderInterface
				count(), 
				countByAttributes(), 
				exists(), 
				find(), 
				findAll(), 
				findAllByAttributes(), 
				findAllByPk(), 
				findByAttributes(), 
				findByPk(), 
				withCursor()
			
Methods used from Maslosoft\Mangan\Traits\EntityManagerTrait
				delete(), 
				deleteAll(), 
				deleteAllByPk(), 
				deleteByPk(), 
				deleteOne(), 
				getCollection(), 
				insert(), 
				refresh(), 
				replace(), 
				save(), 
				update(), 
				updateAll(), 
				updateOne(), 
				upsert()
			
Methods used from Maslosoft\Mangan\Traits\FinderTrait
				count(), 
				countByAttributes(), 
				exists(), 
				find(), 
				findAll(), 
				findAllByAttributes(), 
				findAllByPk(), 
				findByAttributes(), 
				findByPk(), 
				withCursor()
			
Methods used from Maslosoft\Mangan\Traits\CollectionNameTrait
Methods used from Maslosoft\Mangan\Traits\WithCriteriaTrait
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\InternationalInterface
				EventAfterLangChange, 
				EventAfterLanguagesSet, 
				EventBeforeLangChange, 
				EventBeforeLanguagesSet
			
Constants inherited from Maslosoft\Mangan\Interfaces\ScenariosInterface
Constants inherited from Maslosoft\Mangan\Interfaces\ValidatableInterface
Constants inherited from Maslosoft\Mangan\Interfaces\EntityManagerInterface
				EventAfterDelete, 
				EventAfterInsert, 
				EventAfterSave, 
				EventAfterUpdate, 
				EventBeforeDelete, 
				EventBeforeInsert, 
				EventBeforeSave, 
				EventBeforeUpdate
			
Constants inherited from Maslosoft\Mangan\Interfaces\FinderInterface
				EventAfterCount, 
				EventAfterExists, 
				EventAfterFind, 
				EventBeforeCount, 
				EventBeforeExists, 
				EventBeforeFind
			
Properties summary
				public  
				MongoId|null
			 | 
			
					$_id
				 Mongo id field  | 
			
				 
					#
					 
			null
				 | 
		
				public  
				string|null
			 | 
			
					$id
				 Alias to _id  | 
			
				 
					#
					 
			null
				 | 
		
Properties inherited from Maslosoft\Mangan\EmbeddedDocument
Magic properties
				public  read-only
				MongoDB
			 | 
			
					$db
				 |