packages/core/src/Models/Task/Base/Task.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 287-294 (lines=8) @@ | 
                                                            
                                    | 284 |  |      * @param  boolean $includeLazyLoadColumns (optional) Whether to include lazy load(ed) columns. Defaults to TRUE. | 
                                                            
                                    | 285 |  |      * @return string  The exported data | 
                                                            
                                    | 286 |  |      */ | 
                                                            
                                    | 287 |  |     public function exportTo($parser, $includeLazyLoadColumns = true) | 
                                                            
                                    | 288 |  |     { | 
                                                            
                                    | 289 |  |         if (!$parser instanceof AbstractParser) { | 
                                                            
                                    | 290 |  |             $parser = AbstractParser::getParser($parser); | 
                                                            
                                    | 291 |  |         } | 
                                                            
                                    | 292 |  |  | 
                                                            
                                    | 293 |  |         return $parser->fromArray($this->toArray(TableMap::TYPE_PHPNAME, $includeLazyLoadColumns, array(), true)); | 
                                                            
                                    | 294 |  |     } | 
                                                            
                                    | 295 |  |  | 
                                                            
                                    | 296 |  |     /** | 
                                                            
                                    | 297 |  |      * Clean up internal collections prior to serializing | 
                                                                        
                 
                                                            
                    
packages/selfprice/src/Models/Selfprice/Base/Selfprice.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 293-300 (lines=8) @@ | 
                                                            
                                    | 290 |  |      * @param  boolean $includeLazyLoadColumns (optional) Whether to include lazy load(ed) columns. Defaults to TRUE. | 
                                                            
                                    | 291 |  |      * @return string  The exported data | 
                                                            
                                    | 292 |  |      */ | 
                                                            
                                    | 293 |  |     public function exportTo($parser, $includeLazyLoadColumns = true) | 
                                                            
                                    | 294 |  |     { | 
                                                            
                                    | 295 |  |         if (!$parser instanceof AbstractParser) { | 
                                                            
                                    | 296 |  |             $parser = AbstractParser::getParser($parser); | 
                                                            
                                    | 297 |  |         } | 
                                                            
                                    | 298 |  |  | 
                                                            
                                    | 299 |  |         return $parser->fromArray($this->toArray(TableMap::TYPE_PHPNAME, $includeLazyLoadColumns, array(), true)); | 
                                                            
                                    | 300 |  |     } | 
                                                            
                                    | 301 |  |  | 
                                                            
                                    | 302 |  |     /** | 
                                                            
                                    | 303 |  |      * Clean up internal collections prior to serializing | 
                                                                        
                 
                                                            
                    
packages/core/src/Models/User/Base/User.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 339-346 (lines=8) @@ | 
                                                            
                                    | 336 |  |      * @param  boolean $includeLazyLoadColumns (optional) Whether to include lazy load(ed) columns. Defaults to TRUE. | 
                                                            
                                    | 337 |  |      * @return string  The exported data | 
                                                            
                                    | 338 |  |      */ | 
                                                            
                                    | 339 |  |     public function exportTo($parser, $includeLazyLoadColumns = true) | 
                                                            
                                    | 340 |  |     { | 
                                                            
                                    | 341 |  |         if (!$parser instanceof AbstractParser) { | 
                                                            
                                    | 342 |  |             $parser = AbstractParser::getParser($parser); | 
                                                            
                                    | 343 |  |         } | 
                                                            
                                    | 344 |  |  | 
                                                            
                                    | 345 |  |         return $parser->fromArray($this->toArray(TableMap::TYPE_PHPNAME, $includeLazyLoadColumns, array(), true)); | 
                                                            
                                    | 346 |  |     } | 
                                                            
                                    | 347 |  |  | 
                                                            
                                    | 348 |  |     /** | 
                                                            
                                    | 349 |  |      * Clean up internal collections prior to serializing |