public function permalink() { $mc = RMUtilities::get()->module_config('mywords'); $rtn = MWFunctions::get_url(); $rtn .= $mc['permalinks'] == 1 ? '?author=' . $this->id() : ($mc['permalinks'] == 2 ? "author/" . $this->getVar('shortname', 'n') . "/" : "author/" . RMUtilities::add_slash($this->id())); return $rtn; }
public function permalink() { $mc = RMSettings::module_settings('mywords'); $rtn = MWFunctions::get_url(); $rtn .= $mc->permalinks == 1 ? '?author=' . $this->id() : ($mc->permalinks == 2 ? "author/" . $this->getVar('shortname', 'n') . "/" : "author/" . RMUtilities::add_slash($this->id())); return $rtn; }