| @@ 347-354 (lines=8) @@ | ||
| 344 | * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy load(ed) columns. Defaults to TRUE. |
|
| 345 | * @return string The exported data |
|
| 346 | */ |
|
| 347 | public function exportTo($parser, $includeLazyLoadColumns = true) |
|
| 348 | { |
|
| 349 | if (!$parser instanceof AbstractParser) { |
|
| 350 | $parser = AbstractParser::getParser($parser); |
|
| 351 | } |
|
| 352 | ||
| 353 | return $parser->fromArray($this->toArray(TableMap::TYPE_PHPNAME, $includeLazyLoadColumns, array(), true)); |
|
| 354 | } |
|
| 355 | ||
| 356 | /** |
|
| 357 | * Clean up internal collections prior to serializing |
|
| @@ 343-350 (lines=8) @@ | ||
| 340 | * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy load(ed) columns. Defaults to TRUE. |
|
| 341 | * @return string The exported data |
|
| 342 | */ |
|
| 343 | public function exportTo($parser, $includeLazyLoadColumns = true) |
|
| 344 | { |
|
| 345 | if (!$parser instanceof AbstractParser) { |
|
| 346 | $parser = AbstractParser::getParser($parser); |
|
| 347 | } |
|
| 348 | ||
| 349 | return $parser->fromArray($this->toArray(TableMap::TYPE_PHPNAME, $includeLazyLoadColumns, array(), true)); |
|
| 350 | } |
|
| 351 | ||
| 352 | /** |
|
| 353 | * Clean up internal collections prior to serializing |
|