/** * Get a setting. * * @return string|false|NULL value as string on success; NULL if not found; false in case of error */ function get_setting($parname) { $this->load_CollectionSettings(); return $this->CollectionSettings->get($this->ID, $parname); }
/** * Display a setting from the DB settings table. * * @param string Name of setting * @param string Output format, see {@link format_to_output()} */ function disp_setting($parname, $format = 'htmlbody') { $this->load_CollectionSettings(); echo format_to_output($this->CollectionSettings->get($this->ID, $parname), $format); }