aboutsummaryrefslogtreecommitdiff
path: root/app/class/art2.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-22 09:01:20 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-22 09:01:20 +0100
commit0e95eb5121b2f4be63591705c367a0de10046133 (patch)
treefd389a73fffce6f1b3566bba7c07d02f07c196f7 /app/class/art2.php
parent7f94fccda33383f3a7be364cf0c316e7ed2c61bb (diff)
downloadwcms-0e95eb5121b2f4be63591705c367a0de10046133.tar.gz
wcms-0e95eb5121b2f4be63591705c367a0de10046133.zip
feature: linkto calc during render
Diffstat (limited to 'app/class/art2.php')
-rw-r--r--app/class/art2.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/class/art2.php b/app/class/art2.php
index 8bf2729..6f2d4d8 100644
--- a/app/class/art2.php
+++ b/app/class/art2.php
@@ -344,6 +344,8 @@ class Art2
$linkto = $this->linkto;
} elseif ($option == 'sort') {
return count($this->linkto);
+ } elseif ($option == 'string') {
+ return implode(', ', $this->linkto);
}
return $linkto;