Class Result
Set of related data, heart of Lean Mapper
- LeanMapper\Result implements Iterator
 
			 public static
			
		 | 
		
		#
		 getInstance( DibiRow|DibiRow[] $data, string $table, 
		Creates new common instance (it means persisted)  | 
	
			 public static
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			string|null
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			mixed
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 setDataEntry( mixed $id, string $key, mixed $value )
		Sets value of given column in row with given id  | 
	
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			array
			
			
		 | 
		|
			 public 
			array
			
			
		 | 
		|
			 public 
			
		 | 
		|
			 public 
			boolean
			
			
		 | 
		|
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 markAsUpdated( integer $id )
		Marks requested row as non-modified (isModified returns false right after this method call)  | 
	
			 public 
			
			
			
		 | 
		
		#
		 markAsAttached( mixed $newId, mixed $oldId, string $table, 
		Marks requested row as attached  | 
	
			 public 
			
			
			
		 | 
		|
			 public 
			
		 | 
		
		#
		 getReferencedRow( integer $id, string $table, string|null $viaColumn = null, 
		Creates new Row instance pointing to requested row in referenced Result  | 
	
			 public 
			
		 | 
		
		#
		 getReferencingRows( integer $id, string $table, string|null $viaColumn = null, 
		Creates new array of Row instances pointing to requested row in referencing Result  | 
	
			 public 
			
			
			
		 | 
		
		#
		 addToReferencing( array $values, string $table, string|null $viaColumn = null, 
		Adds new data entry to referencing Result  | 
	
			 public 
			
			
			
		 | 
		
		#
		 removeFromReferencing( array $values, string $table, string|null $viaColumn = null, 
		Remove given data entry from referencing Result  | 
	
			 public 
			
		 | 
		
		#
		 createReferencingDataDifference( string $table, string|null $viaColumn = null, 
		 | 
	
			 public 
			
			
			
		 | 
		
		#
		 cleanReferencedResultsCache( string|null $table = null, string|null $column = null )
		Cleans in-memory cache with referenced results  | 
	
			 public 
			
			
			
		 | 
		
		#
		 cleanReferencingAddedAndRemovedMeta( string $table, string|null $viaColumn = null, 
		 | 
	
			 public 
			mixed
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			integer
			
			
		 | 
		|
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
string | 
		
			
				STRATEGY_IN
			
			 | 
		
			 
				#
				 
		'in'
			 | 
	
string | 
		
			
				STRATEGY_UNION
			
			 | 
		
			 
				#
				 
		'union'
			 | 
	
			protected  
			 | 
		
				$mapper
			 |