\Custom_Filter

A custom_Filter.

Represents an object from the table 'filter'.

Summary

Methods
Properties
Constants
__construct()
$db
$uid
$id
$page
$name
$description
$condition
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$db

$db : resource

Type

resource — Database connection.

$uid

$uid : integer

Type

integer — Player identifier.

$id

$id : integer

Type

integer — Filter identifier.

$page

$page : string

Type

string — Name of the pge the filter is for.

$name

$name : string

Type

string — Filter name.

$description

$description : string

Type

string — Filter description.

$condition

$condition : string

Type

string — Filter condition (sql where clause).

Methods

__construct()

__construct(resource  $db, integer  $id) 

Constructor.

Searches the database and retrieves the information about the run, populating it and it's items.

Parameters

resource $db

Connection to the database.

integer $id

Filter identifier.