application/modules/xbanners/models/Base/BannerImage.php 1 location
|
@@ 1222-1236 (lines=15) @@
|
| 1219 |
|
} |
| 1220 |
|
|
| 1221 |
|
if ($includeForeignObjects) { |
| 1222 |
|
if (null !== $this->aBanners) { |
| 1223 |
|
|
| 1224 |
|
switch ($keyType) { |
| 1225 |
|
case TableMap::TYPE_CAMELNAME: |
| 1226 |
|
$key = 'banners'; |
| 1227 |
|
break; |
| 1228 |
|
case TableMap::TYPE_FIELDNAME: |
| 1229 |
|
$key = 'banners'; |
| 1230 |
|
break; |
| 1231 |
|
default: |
| 1232 |
|
$key = 'Banners'; |
| 1233 |
|
} |
| 1234 |
|
|
| 1235 |
|
$result[$key] = $this->aBanners->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); |
| 1236 |
|
} |
| 1237 |
|
if (null !== $this->collBannerImageI18ns) { |
| 1238 |
|
|
| 1239 |
|
switch ($keyType) { |
application/modules/xbanners/models/Base/BannersI18n.php 1 location
|
@@ 828-844 (lines=17) @@
|
| 825 |
|
$result[$key] = $virtualColumn; |
| 826 |
|
} |
| 827 |
|
|
| 828 |
|
if ($includeForeignObjects) { |
| 829 |
|
if (null !== $this->aBanners) { |
| 830 |
|
|
| 831 |
|
switch ($keyType) { |
| 832 |
|
case TableMap::TYPE_CAMELNAME: |
| 833 |
|
$key = 'banners'; |
| 834 |
|
break; |
| 835 |
|
case TableMap::TYPE_FIELDNAME: |
| 836 |
|
$key = 'banners'; |
| 837 |
|
break; |
| 838 |
|
default: |
| 839 |
|
$key = 'Banners'; |
| 840 |
|
} |
| 841 |
|
|
| 842 |
|
$result[$key] = $this->aBanners->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); |
| 843 |
|
} |
| 844 |
|
} |
| 845 |
|
|
| 846 |
|
return $result; |
| 847 |
|
} |