public static function setCurrentPage() { if (is_null(self::$currentPage)) { self::$currentPage = page::factory(self::$pageId); } }