/** * @param type $id int: board id * @param type $boardname string: boardname * @param type $start start with (page nr.) * @param type $force_start force the start value in the url, even if it is 0 * @return type */ public function board($id, $boardname, $start = 0, $force_start = false) { $_id = (int) $id; if (!isset($this->boardnames[$_id])) { $this->boardnames[$_id] = SimpleSEF::encode($boardname); } return $this->boardurl . $this->sid . '/' . $this->boardnames[$_id] . '.' . trim($id) . ($start > 0 || $force_start ? '-' . $start : ''); }