| @@ 1377-1386 (lines=10) @@ | ||
| 1374 | * |
|
| 1375 | * @return $this|\eXpansion\Bundle\LocalRecords\Model\Record The current object, for fluid interface |
|
| 1376 | */ |
|
| 1377 | public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME) |
|
| 1378 | { |
|
| 1379 | if (!$parser instanceof AbstractParser) { |
|
| 1380 | $parser = AbstractParser::getParser($parser); |
|
| 1381 | } |
|
| 1382 | ||
| 1383 | $this->fromArray($parser->toArray($data), $keyType); |
|
| 1384 | ||
| 1385 | return $this; |
|
| 1386 | } |
|
| 1387 | ||
| 1388 | /** |
|
| 1389 | * Build a Criteria object containing the values of all modified columns in this object. |
|
| @@ 1246-1255 (lines=10) @@ | ||
| 1243 | * |
|
| 1244 | * @return $this|\eXpansion\Framework\PlayersBundle\Model\Player The current object, for fluid interface |
|
| 1245 | */ |
|
| 1246 | public function importFrom($parser, $data, $keyType = TableMap::TYPE_PHPNAME) |
|
| 1247 | { |
|
| 1248 | if (!$parser instanceof AbstractParser) { |
|
| 1249 | $parser = AbstractParser::getParser($parser); |
|
| 1250 | } |
|
| 1251 | ||
| 1252 | $this->fromArray($parser->toArray($data), $keyType); |
|
| 1253 | ||
| 1254 | return $this; |
|
| 1255 | } |
|
| 1256 | ||
| 1257 | /** |
|
| 1258 | * Build a Criteria object containing the values of all modified columns in this object. |
|