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

Procedural File: pnuser.php

Source Location: /modules/Ratings/pnuser.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnuser.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2002, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








ratings_user_display [line 32]

string ratings_user_display( $args['objectid'] $args, $args['extrainfo'] 1, $args['style'] 2)

display rating for a specific item, and request rating



Tags:

return:  output with rating information
author:  Jim McDonald


Parameters

$args['extrainfo']   1   URL to return to if user chooses to rate
$args['style']   2   style to display this rating in (optional)
$args['objectid']   $args   ID of the item this rating is for
[ Top ]



ratings_user_main [line 18]

HTML ratings_user_main( )

The main ratings user function



Tags:

return:  String
author:  Jim McDonald


[ Top ]



ratings_user_rate [line 180]

bool ratings_user_rate( $args['modname'] $args, $args['objectid'] 1, $args['ratingtype'] 2, $args['returnurl'] 3, $args['rating'] 4)

Process rating form

Takes input from the rating form and passes this to the API




Tags:

return:  true if rating sucess, false otherwise
author:  Jim McDonald


Parameters

$args['objectid']   1   ID of object in source module
$args['ratingtype']   2   specific type of rating for this item (optional)
$args['returnurl']   3   URL to return to if user chooses to rate
$args['rating']   4   rating user selected
$args['modname']   $args   Source module name for which we're rating an oject
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:55:04 +0200 by phpDocumentor 1.4.1