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

Class: ppVote

Source Location: /pearweb_pepr-1.0.5/include/pepr/pepr-ppvote.php

Class Overview


Establishes the procedures, objects and variables used throughout PEPr.


Author(s):

Version:

  • $Id: pepr-ppvote.php 312511 2011-06-27 10:33:02Z clockwerx $

Copyright:

  • Copyright (c) 1997-2005 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 32]
Establishes the procedures, objects and variables used throughout PEPr.

The $proposalReviewsMap arrays is defined here.

NOTE: Proposal constants are defined in pearweb/include/pear-config.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: pepr-ppvote.php 312511 2011-06-27 10:33:02Z clockwerx $
  • Copyright: Copyright (c) 1997-2005 The PHP Group
  • License: PHP License


[ Top ]


Class Variables

$comment =

[line 39]


Type:   mixed


[ Top ]

$is_conditional =

[line 38]


Type:   mixed


[ Top ]

$pkg_prop_id =

[line 34]


Type:   mixed


[ Top ]

$reviews = array()

[line 37]


Type:   mixed


[ Top ]

$timestamp =

[line 40]


Type:   mixed


[ Top ]

$user_handle =

[line 35]


Type:   mixed


[ Top ]

$value =

[line 36]


Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 42]

ppVote __construct( $dbhResArr)


Parameters:

   $dbhResArr   — 

[ Top ]

get   [line 49]

void get( &$dbh, $proposalId, $handle)


Parameters:

   &$dbh   — 
   $proposalId   — 
   $handle   — 

[ Top ]

getAll   [line 65]

void &getAll( &$dbh, $proposalId)


Parameters:

   &$dbh   — 
   $proposalId   — 

[ Top ]

getCount   [line 116]

void getCount( $dbh, $proposalId)


Parameters:

   $dbh   — 
   $proposalId   — 

[ Top ]

getReviews   [line 91]

void getReviews( [ $humanReadable = false])


Parameters:

   $humanReadable   — 

[ Top ]

getSum   [line 105]

void getSum( $dbh, $proposalId)


Parameters:

   $dbh   — 
   $proposalId   — 

[ Top ]

hasVoted   [line 123]

void hasVoted( $dbh, $userHandle, $proposalId)


Parameters:

   $dbh   — 
   $userHandle   — 
   $proposalId   — 

[ Top ]

store   [line 80]

void store( $dbh, $proposalId)


Parameters:

   $dbh   — 
   $proposalId   — 

[ Top ]


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