app/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 |
app/Models/User/Base/User.php 1 location
|
@@ 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 |
packages/Price/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 |