PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of ASCOOS CMS   PHP Games PEGI   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Games PEGI
Display PEGI ratings about games from an array
Author: By
Last change:
Date: 9 months ago
Size: 2,169 bytes
 

Contents

Class file image Download

PEGI (Pan European Game Information)

PEGI helps parents to make informed decisions when buying video games

PEGI provides age classifications for video games in 38 European countries. The age rating confirms that the game content is appropriate for players of certain age. PEGI considers the age suitability of a game, not the level of difficulty.

Age ratings are systems used to ensure that entertainment content, such as games, but also films, tv shows or mobile apps, is clearly labelled with a minimum age recommendation based on the content they have. These age ratings provide guidance to consumers, parents in particular, to help them decide whether or not to buy a particular product for a child.

Video games are enjoyed by a very diverse group of players throughout Europe. Both children and adults, men and women, play games regularly, either on a dedicated game console, a personal computer, or a mobile device like a smartphone or a tablet.

While most games are suitable for players of all ages, others are only suitable for older children and young teenagers. A specific portion of games on the market contains content that is only appropriate for an adult audience.

The PEGI rating considers the age suitability of a game, not the level of difficulty. A PEGI 3 game will not contain any inappropriate content, but can sometimes be too difficult to master for younger children. Reversely, there are PEGI 18 games that are very easy to play, yet they contain elements that make them inappropriate for a younger audience.

PEGI is used and recognised throughout Europe and has the enthusiastic support of the European Commission. It is considered as a model of European harmonisation in the field of the protection of children.

USE

1) In the index.php example file, replace the $cms_site variable with the actual address where you will run this package.

$cms_site = '[YOUR REAL SITE PATH -- https://www.example.com/phpPEGI]';

2) In the Data folder, I've created a data.php file that has a table of examples inside. In real life, this could be done by creating a database and code that would pull this data.