diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2024-03-14 17:08:26 +0000 |
|---|---|---|
| committer | Moritz Strohm <strohm@data-quest.de> | 2024-03-14 17:08:26 +0000 |
| commit | 0fb33e2e8ea3a40bd45f72dc16f65419e82a656c (patch) | |
| tree | bb3eff329cd9719c20030ab9d09427f755b9f898 /lib/models/resources/ResourceProperty.class.php | |
| parent | f2f70529462f10f08d7a0ca57bfb50c80e645fa4 (diff) | |
replaced getFullname with getFullName, re #3499
Merge request studip/studip!2660
Diffstat (limited to 'lib/models/resources/ResourceProperty.class.php')
| -rw-r--r-- | lib/models/resources/ResourceProperty.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/models/resources/ResourceProperty.class.php b/lib/models/resources/ResourceProperty.class.php index 8481644..4bbc4ec 100644 --- a/lib/models/resources/ResourceProperty.class.php +++ b/lib/models/resources/ResourceProperty.class.php @@ -48,7 +48,7 @@ class ResourceProperty extends SimpleORMap ]; $config['additional_fields']['name'] = ['definition', 'name']; - $config['additional_fields']['fullname'] = ['get' => 'getFullname']; + $config['additional_fields']['fullname'] = ['get' => 'getFullName']; $config['additional_fields']['display_name'] = ['definition', 'display_name']; $config['additional_fields']['type'] = ['definition', 'type']; $config['additional_fields']['info_label'] = ['definition', 'info_label']; @@ -114,7 +114,7 @@ class ResourceProperty extends SimpleORMap return $string; } - public function getFullname() + public function getFullName() { $name = (string)$this->definition->display_name ?: $this->definition->name; $category = trim(strstr($name, ':', true)); |
