class/class.newsstory.php 1 location
|
@@ 58-62 (lines=5) @@
|
| 55 |
|
$this->db = XoopsDatabaseFactory::getDatabaseConnection(); |
| 56 |
|
$this->table = $this->db->prefix('news_stories'); |
| 57 |
|
$this->topicstable = $this->db->prefix('news_topics'); |
| 58 |
|
if (is_array($storyid)) { |
| 59 |
|
$this->makeStory($storyid); |
| 60 |
|
} elseif ($storyid != -1) { |
| 61 |
|
$this->getStory((int)$storyid); |
| 62 |
|
} |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
/** |
class/xoopsstory.php 1 location
|
@@ 62-66 (lines=5) @@
|
| 59 |
|
$this->db = XoopsDatabaseFactory::getDatabaseConnection(); |
| 60 |
|
$this->table = ''; |
| 61 |
|
$this->topicstable = ''; |
| 62 |
|
if (is_array($storyid)) { |
| 63 |
|
$this->makeStory($storyid); |
| 64 |
|
} elseif ($storyid != -1) { |
| 65 |
|
$this->getStory((int)$storyid); |
| 66 |
|
} |
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
/** |