diff --git a/include/class.topic.php b/include/class.topic.php index c8e6a9e72b9a8d26da82e97f48cfc9f25e97d51c..900ff76168363c47e9b4763fee6cf2f00334a0fd 100644 --- a/include/class.topic.php +++ b/include/class.topic.php @@ -48,6 +48,10 @@ class Topic { function reload() { return $this->load(); } + + function asVar() { + return $this->getName(); + } function getId() { return $this->id;