# SWDB

# \Report_Skillup_Page

Urgent Skillup report page model.

Every visitable page type must inherit from this one.

## Summary

Methods
Properties
Constants
__construct()
$db
$view
$title
$name
$description
$favicon
$icon
$canonical
$author
$filters
$units
No constants found
No protected methods found
No protected properties found
N/A
parse_filters()
build_query()
No private properties found
N/A

File
  application/page/Report_Skillup_Page.php
Package
  Default
Class hierarchy
  \Page
  \Report_Skillup_Page

## Tags

category | Page

## Properties

### $db

    $db : resource

#### Type

resource — Database connection.

#

Inherited from
  \Page

## Tags

None found

### $view

    $view : string

#### Type

string — Path to the view associated with the page.

#

Inherited from
  \Page

## Tags

None found

### $title

    $title : string

#### Type

string — Title of the page, in the defined language.

#

Inherited from
  \Page

## Tags

None found

### $name

    $name : string

#### Type

string — Site name.

#

Inherited from
  \Page

## Tags

None found

### $description

    $description : string

#### Type

string — Page description, in the defined language.

#

Inherited from
  \Page

## Tags

None found

### $favicon

    $favicon : string

#### Type

string — URL to the site favicon.

#

Inherited from
  \Page

## Tags

None found

### $icon

    $icon : string

#### Type

string — URL to the page icon or main image.

#

Inherited from
  \Page

## Tags

None found

### $canonical

    $canonical : string

#### Type

string — Canonical URL.

#

Inherited from
  \Page

## Tags

None found

### $author

    $author : string

#### Type

string — Autjhor URL.

#

Inherited from
  \Page

## Tags

None found

### $filters

    $filters : array<mixed,mixed>

#### Type

array<mixed,mixed> — The filters the page can handle.

#

Inherited from
  \Page
See also
  \FILTER::CATALOG

## Tags

None found

### $units

    $units : array<mixed,\Unit>

#### Type

array<mixed,\Unit> — Sorted list of units.

#

## Tags

None found

## Methods

### __construct()

    __construct(resource  $db)

Constructor.

Retrieves the data and initializes the variables.

#### Parameters

resource | $db | Connection to the database.

#

## Tags

None found

### parse_filters()

    parse_filters()

Parses the request looking for the selected filters, validates them and adds them to the $filters array.

Must be overriden in the page classes.

#

## Tags

None found

### build_query()

    build_query() : string

Builds the query to the rune table using the selected or default filters.

#### Returns

string —

The query to be executed.

#

## Tags

global | int Player ID.

### Report_Skillup_Page.php