public function element_data() { $module = RMModules::load_module('bxpress'); include_once XOOPS_ROOT_PATH . '/modules/bxpress/class/bxfunctions.class.php'; $ret = array('name' => $module->getVar('name'), 'link' => bXFunctions::url()); return $ret; }
/** * Gets the permalink for current post * @return string */ public function permalink() { $link = bXFunctions::url() . '/topic.php?pid=' . $this->id() . '#p' . $this->id(); return $link; }