[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/public_html/admin/plugins/polls/ -> index.php (sommaire)

(pas de description)

Poids: 476 lignes (21 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 public_html/admin/auth.inc.php
 public_html/lib-common.php

Définit 4 fonctions

  listpolls()
  savepoll()
  editpoll()
  deletePoll()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

listpolls()   X-Ref
Pas de description

savepoll($qid, $mainpage, $question, $voters, $statuscode, $commentcode, $A, $V, $R, $owner_id, $group_id, $perm_owner, $perm_group, $perm_members, $perm_anon)   X-Ref
Saves a poll

Saves a poll question and potential answers to the database

param: string  $qid            Question ID
param: int     $display        Flag to indicate if poll appears on homepage
param: string  $question       The text for the question
param: int     $voters         Number of votes
param: int     $statuscode     (unused)
param: int     $commentcode    Indicates if users can comment on poll
param: array   $A              Array of possible answers
param: array   $V              Array of vote per each answer
param: int     $owner_id       ID of poll owner
param: int     $group_id       ID of group poll belongs to
param: int     $perm_owner     Permissions the owner has on poll
param: int     $perm_grup      Permissions the group has on poll
param: int     $perm_members   Permissions logged in members have on poll
param: int     $perm_anon      Permissions anonymous users have on poll
return: string                  HTML redirect or error message

editpoll($qid = '')   X-Ref
Shows poll editor

Diplays the poll editor form

param: string  $qid    ID of poll to edit
return: string          HTML for poll editor form

deletePoll($qid)   X-Ref
Delete a poll

param: string  $qid    ID of poll to delete
return: string          HTML redirect



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics