PEPr
[ class tree: PEPr ] [ index: PEPr ] [ all elements ]

File: index.php

Source Location: /pearweb_pepr-1.0.5/public_html/pepr/index.php

Classes:

Page Details:

Displays a list of all proposals.

The $proposalStatiMap array is defined in pearweb/include/pepr/pepr.php.

This source file is subject to version 3.0 of the PHP license, that is bundled with this package in the file LICENSE, and is available through the world-wide-web at the following URI: http://www.php.net/license/3_0.txt. If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately.

  • Author: Daniel Convissor <danielc@php.net>
  • Author: Tobias Schlitt <toby@php.net>
  • Version: $Id: index.php 287602 2009-08-23 14:43:52Z cweiske $
  • Copyright: Copyright (c) 1997-2005 The PHP Group
  • License: PHP License

Includes:

include_once('pear-database-user.php') [line 148]
require_once('pepr/pepr.php') [line 28]
Obtain the common functions and classes.

has_user_voted [line 65]

void has_user_voted( $user, $proposal, $dbh)

Has a given user voted on a package?


Parameters

   $user  
   $proposal  
   $dbh  
[ Top ]



render_proposal [line 33]

void render_proposal( $dbh, $proposal, $user, $already_voted)

Helper to display the pepr proposal information better.


Parameters

   $dbh  
   $proposal  
   $user  
   $already_voted  
[ Top ]



render_status [line 76]

void render_status( $status, $status_description, $proposals, $dbh, $users)



Parameters

   $status  
   $status_description  
   $proposals  
   $dbh  
   $users  
[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:44:04 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.