| @@ 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 |
|
| @@ 311-318 (lines=8) @@ | ||
| 308 | * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy load(ed) columns. Defaults to TRUE. |
|
| 309 | * @return string The exported data |
|
| 310 | */ |
|
| 311 | public function exportTo($parser, $includeLazyLoadColumns = true) |
|
| 312 | { |
|
| 313 | if (!$parser instanceof AbstractParser) { |
|
| 314 | $parser = AbstractParser::getParser($parser); |
|
| 315 | } |
|
| 316 | ||
| 317 | return $parser->fromArray($this->toArray(TableMap::TYPE_PHPNAME, $includeLazyLoadColumns, array(), true)); |
|
| 318 | } |
|
| 319 | ||
| 320 | /** |
|
| 321 | * Clean up internal collections prior to serializing |
|