/** * returns the current forum * @return Model_Forum */ public static function current() { //we don't have so let's retrieve if (self::$_current === NULL) { self::$_current = new self(); if (Request::current()->param('forum') != NULL) { self::$_current = self::$_current->where('seoname', '=', Request::current()->param('forum'))->limit(1)->cached()->find(); } } return self::$_current; }