2017 © Pedro Peláez
 

thelia-module contest-module

image

thelia/contest-module

  • Tuesday, November 10, 2015
  • by thelia
  • Repository
  • 4 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Contest

This module allow you to create basic QCM contest., (*1)

Scrutinizer Code Quality, (*2)

Usage

Go to the tool menu and click on "Contest"., (*3)

Create a Game

You have to the possibility to add a game wihout indexing it, just uncheck visible option, (*4)

Check Users

On list game view you can click on user icon of a game to check users participant. You can generate a random winner too., (*5)

Configuration

WIN OPTION

Allow you to have page win/fail or joint participation page. ( default : true ), (*6)

CONNECT OPTION

Allow you to restric contest to connected user. ( default : false ), (*7)

MAX PARTICIPATION OPTION

Allow you to restrict participation for an email. ( default : 1 ), (*8)

FRIEND OPTION

Allow you to activate friend invitation. ( default : false ), (*9)

FRIEND MAX OPTION

Limit number of input email are provide for sending email. ( default : 5 ), (*10)

Loop

Game

Input arguments

Argument Description
id filter by id
visible filter by visible
title filter by title
order order result by "id","id-reverse","visible","visible-reverse","title","title-reverse", "description","description-reverse"

Output Arguments

Variable Description
ID id
VISIBLE (boolean) visible
TITLE Game's title
DESCRIPTION Game's description

Question

Input arguments

Argument Description
id filter by id
visible filter by visible
title filter by title
game_id filter by game id
order order result by "id","id-reverse","visible","visible-reverse","title","title-reverse", "description","description-reverse", "game_id","game_id-reverse"

Output Arguments

Variable Description
ID id
VISIBLE (boolean) visible
TITLE Question's title
DESCRIPTION Question's description
GAME_ID Game's id

Answer

Input arguments

Argument Description
id filter by id
visible filter by visible
correct filter by correct
title filter by title
question_id filter by question id
order order result by "id","id-reverse","visible","visible-reverse","title","title-reverse", "description","description-reverse", "question_id","question_id-reverse","correct","correct-reverse"

Output Arguments

Variable Description
ID id
VISIBLE (boolean) visible
CORRECT (boolean) correct
TITLE Answer's title
DESCRIPTION Answer's description
QUESTION_ID Question's id

Participate

Input arguments

Argument Description
id filter by id
email filter by email
win filter by victory
game_id filter by game_id
customer_id filter by customer_id
order order result by "id","id-reverse","email","email-reverse","victory","victory-reverse", "game_id","game_id-reverse", "customer_id","customer_id-reverse"

Output Arguments

Variable Description
ID id
EMAIL email
WIN (boolean) victory
GAME_ID Game's id
CUSTOMER_ID Customer's id

The Versions

10/11 2015

dev-master

9999999-dev

  Sources   Download

LGPL-3.0+

The Requires

 

10/11 2015

1.1.0

1.1.0.0

  Sources   Download

LGPL-3.0+

The Requires

 

19/10 2015

1.0.0

1.0.0.0

  Sources   Download

LGPL-3.0+

The Requires