\K_Guild_Skill

Guild skill.

Represents an object from the table 'k_guild_skill'.

Summary

Methods
Properties
Constants
__construct()
$db
$id
$group
$level
$effect
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.

$id

$id : integer

Type

integer — Skill identifier.

$group

$group : integer

Type

integer — Skill group id.

$level

$level : integer

Type

integer — Level at which the skill becames available.

$effect

$effect : string

Type

string — Skill description.

Methods

__construct()

__construct(resource  $db, integer  $id) 

Constructor.

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

Parameters

resource $db

Connection to the database.

integer $id

Skill identifier.