Class XFAction_post_rate

Description

Located in /action.post_rate.php (line 23)

XFAction
   |
   --XFAction_post_rate
Class Constant Summary
Variable Summary
mixed $error
mixed $gpc
mixed $markgpc
mixed $success
mixed $version
Method Summary
true ajax (array $input)
boolean execute ()
mixed init (string $a, array $b)
true regular ()
Variables
mixed $error = '' (line 41)
  • access: protected

Redefinition of:
XFAction::$error
mixed $gpc = array() (line 42)
  • access: protected

Redefinition of:
XFAction::$gpc
mixed $markgpc = array() (line 43)
  • access: protected

Redefinition of:
XFAction::$markgpc
mixed $success = false (line 40)
  • access: protected

Redefinition of:
XFAction::$success
mixed $version = 0x01 (line 44)
  • access: public

Redefinition of:
XFAction::$version
Methods
ajax (line 72)

fetch vars from asynchronous request

  • since: 1.0.0
  • access: protected
true ajax (array $input)
  • array $input: input stream

Redefinition of:
XFAction::ajax()
entry point for ajax requests - called by init()
execute (line 84)

rate a posting

  • since: 1.0.0
  • access: public
boolean execute ()

Redefinition of:
XFAction::execute()
execute the main 'action' the name of a file says
init (line 52)
  • since: 1.0.0
  • access: public
mixed init (string $a, array $b)
  • string $a: select handler
  • array $b: input data for asynchronous request

Redefinition of:
XFAction::init()
main entry point
regular (line 61)
  • since: 1.0.0
  • access: protected
true regular ()

Redefinition of:
XFAction::regular()
run an action on regular basis - called by init()

Inherited Methods

Inherited From XFAction

XFAction::__construct()
XFAction::ajax()
XFAction::execute()
XFAction::get_error()
XFAction::get_GPC()
XFAction::get_mark_GPC()
XFAction::get_success()
XFAction::init()
XFAction::regular()
Class Constants
REQ_POST_COUNT = 10 (line 39)
  • var: how many posts does an user need to have before allowed to rate? (default is 10)
REQ_REGTIME_DAYS = 7 (line 35)
  • var: how many days does an user need to be registered before allowed to rate? (default is 7)
VOTE_BASE = 2 (line 27)
  • var: base value of a rate (default is 2)
VOTE_MAX = 10 (line 31)
  • var: maximum value of a rate including all bonuses (default is 10) - bonus currently unused!

Inherited Constants

Inherited from XFAction

XFAction::API_VERSION

Documentation generated on Tue, 21 Oct 2008 20:57:14 +0200 by phpDocumentor 1.4.1