Code Duplication    Length = 7-7 lines in 2 locations

htdocs/class/xoopstopic.php 2 locations

@@ 356-362 (lines=7) @@
353
     *
354
     * @return string
355
     */
356
    public function getNiceTopicPathFromId($funcURL)
357
    {
358
        $xt  = new XoopsTree($this->table, 'topic_id', 'topic_pid');
359
        $ret = $xt->getNicePathFromId($this->topic_id, 'topic_title', $funcURL);
360
361
        return $ret;
362
    }
363
364
    /**
365
     * @return array
@@ 367-373 (lines=7) @@
364
    /**
365
     * @return array
366
     */
367
    public function getAllChildTopicsId()
368
    {
369
        $xt  = new XoopsTree($this->table, 'topic_id', 'topic_pid');
370
        $ret = $xt->getAllChildId($this->topic_id, 'topic_title');
371
372
        return $ret;
373
    }
374
375
    /**
376
     * @return array