国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] Drupal7、Drupal6投票接口模块votingapi

[复制链接]
发表于 1-27-2012 04:04 | 显示全部楼层 |阅读模式
该模块主要为Drupal的一些投票模块提供函数接口,比如Vote_up_down和Rate等投票模块
- d: _* T' F2 Q* e; C9 T$ k; S6 z2 M( t. @* x; _3 o9 q

2 ]& `$ p& g( o6 ~$ {3 @* b下载地址:http://drupal.org/project/votingapi
# u5 o6 R. a4 |" E! A2 ^6 d6 j, ]( e; y

3 E: r' w5 a/ J  p$ x. g% e6 e) N[size=0.923em]Posted by eaton on November 2, 2005 at 2:59am3 y& @$ z9 w0 p5 g7 l8 x  M
VotingAPI helps developers who want to use a standardized API and schema for storing, retrieving, and tabulating votes for Drupal content.
Among other things, it supports:
Rating of any content (comments, nodes, users, fish, whatever)' o- g1 ~2 N1 N" Q7 q0 r% P
Multi-criteria voting (rate a game based on video, audio, and replayability)
7 M! F2 H. E1 s; q& j" k" hAutomatic tabulation of results (with support for different voting styles, like 'percentage' and '+1/-1'), A+ K+ O1 o1 Z' T. p- n  _" |
Efficient caching of results (sorting and filtering doesn't require any recalculation)! K3 f+ c# ~# s2 n8 _
Hooks for additional vote calculations
Note that this module does NOT directly expose any voting mechanisms to end users. It's a framework designed to make life easier for other developers, and to standardize voting data for consumption by other modules (like Views).
For some examples of simple voting systems based on VotingAPI, check Is Useful, Fivestar, and Plus1.
0 l) v6 Q- z. \0 H5 }, E! x

/ A+ D$ @5 R% Q

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-13-2025 01:07 , Processed in 1.795111 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表