| @@ 1237-1251 (lines=15) @@ | ||
| 1234 | ||
| 1235 | $result[$key] = $this->aBanners->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); |
|
| 1236 | } |
|
| 1237 | if (null !== $this->collBannerImageI18ns) { |
|
| 1238 | ||
| 1239 | switch ($keyType) { |
|
| 1240 | case TableMap::TYPE_CAMELNAME: |
|
| 1241 | $key = 'bannerImageI18ns'; |
|
| 1242 | break; |
|
| 1243 | case TableMap::TYPE_FIELDNAME: |
|
| 1244 | $key = 'banner_image_i18ns'; |
|
| 1245 | break; |
|
| 1246 | default: |
|
| 1247 | $key = 'BannerImageI18ns'; |
|
| 1248 | } |
|
| 1249 | ||
| 1250 | $result[$key] = $this->collBannerImageI18ns->toArray(null, false, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); |
|
| 1251 | } |
|
| 1252 | } |
|
| 1253 | ||
| 1254 | return $result; |
|
| @@ 978-994 (lines=17) @@ | ||
| 975 | $result[$key] = $virtualColumn; |
|
| 976 | } |
|
| 977 | ||
| 978 | if ($includeForeignObjects) { |
|
| 979 | if (null !== $this->aBannerImage) { |
|
| 980 | ||
| 981 | switch ($keyType) { |
|
| 982 | case TableMap::TYPE_CAMELNAME: |
|
| 983 | $key = 'bannerImage'; |
|
| 984 | break; |
|
| 985 | case TableMap::TYPE_FIELDNAME: |
|
| 986 | $key = 'banner_image'; |
|
| 987 | break; |
|
| 988 | default: |
|
| 989 | $key = 'BannerImage'; |
|
| 990 | } |
|
| 991 | ||
| 992 | $result[$key] = $this->aBannerImage->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); |
|
| 993 | } |
|
| 994 | } |
|
| 995 | ||
| 996 | return $result; |
|
| 997 | } |
|
| @@ 1029-1043 (lines=15) @@ | ||
| 1026 | } |
|
| 1027 | ||
| 1028 | if ($includeForeignObjects) { |
|
| 1029 | if (null !== $this->collBannerImages) { |
|
| 1030 | ||
| 1031 | switch ($keyType) { |
|
| 1032 | case TableMap::TYPE_CAMELNAME: |
|
| 1033 | $key = 'bannerImages'; |
|
| 1034 | break; |
|
| 1035 | case TableMap::TYPE_FIELDNAME: |
|
| 1036 | $key = 'banner_images'; |
|
| 1037 | break; |
|
| 1038 | default: |
|
| 1039 | $key = 'BannerImages'; |
|
| 1040 | } |
|
| 1041 | ||
| 1042 | $result[$key] = $this->collBannerImages->toArray(null, false, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); |
|
| 1043 | } |
|
| 1044 | if (null !== $this->collBannersI18ns) { |
|
| 1045 | ||
| 1046 | switch ($keyType) { |
|
| @@ 1044-1058 (lines=15) @@ | ||
| 1041 | ||
| 1042 | $result[$key] = $this->collBannerImages->toArray(null, false, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); |
|
| 1043 | } |
|
| 1044 | if (null !== $this->collBannersI18ns) { |
|
| 1045 | ||
| 1046 | switch ($keyType) { |
|
| 1047 | case TableMap::TYPE_CAMELNAME: |
|
| 1048 | $key = 'bannersI18ns'; |
|
| 1049 | break; |
|
| 1050 | case TableMap::TYPE_FIELDNAME: |
|
| 1051 | $key = 'banners_i18ns'; |
|
| 1052 | break; |
|
| 1053 | default: |
|
| 1054 | $key = 'BannersI18ns'; |
|
| 1055 | } |
|
| 1056 | ||
| 1057 | $result[$key] = $this->collBannersI18ns->toArray(null, false, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); |
|
| 1058 | } |
|
| 1059 | } |
|
| 1060 | ||
| 1061 | return $result; |
|