1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
15:
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17:
18: 19: 20: 21: 22: 23: 24:
25: defined('CON_FRAMEWORK') or die('Illegal call');
26: class ArticleForum extends Item {
27:
28: public function __construct($id = false) {
29: $cfg = cRegistry::getConfig();
30: parent::__construct($cfg['tab']['user_forum'], 'id_user_forum');
31: $this->setFilters(array(), array());
32: if (false !== $id) {
33: $this->loadByPrimaryKey($id);
34: }
35: }
36:
37: }
38:
39: ?>