src/system/RoutesModule/Entity/Base/AbstractRouteEntity.php 1 location
|
@@ 883-894 (lines=12) @@
|
| 880 |
|
* |
| 881 |
|
* @return array The resulting arguments list |
| 882 |
|
*/ |
| 883 |
|
public function createUrlArgs() |
| 884 |
|
{ |
| 885 |
|
$args = []; |
| 886 |
|
|
| 887 |
|
$args['id'] = $this['id']; |
| 888 |
|
|
| 889 |
|
if (property_exists($this, 'slug')) { |
| 890 |
|
$args['slug'] = $this['slug']; |
| 891 |
|
} |
| 892 |
|
|
| 893 |
|
return $args; |
| 894 |
|
} |
| 895 |
|
|
| 896 |
|
/** |
| 897 |
|
* Create concatenated identifier string (for composite keys). |
src/system/RoutesModule/Entity/Historical/v110/Base/AbstractRouteEntity.php 1 location
|
@@ 1094-1105 (lines=12) @@
|
| 1091 |
|
* |
| 1092 |
|
* @return array The resulting arguments list |
| 1093 |
|
*/ |
| 1094 |
|
public function createUrlArgs() |
| 1095 |
|
{ |
| 1096 |
|
$args = []; |
| 1097 |
|
|
| 1098 |
|
$args['id'] = $this['id']; |
| 1099 |
|
|
| 1100 |
|
if (property_exists($this, 'slug')) { |
| 1101 |
|
$args['slug'] = $this['slug']; |
| 1102 |
|
} |
| 1103 |
|
|
| 1104 |
|
return $args; |
| 1105 |
|
} |
| 1106 |
|
|
| 1107 |
|
/** |
| 1108 |
|
* Create concatenated identifier string (for composite keys). |