__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.