Class XFAction_post_rate

Description

Located in /lb_private/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 42)
  • access: protected

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

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

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

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

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

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 85)

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 53)
  • 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 62)
  • 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 40)
  • var: how many posts does an user need to have before allowed to rate? (default is 10)
REQ_REGTIME_DAYS = 7 (line 36)
  • var: how many days does an user need to be registered before allowed to rate? (default is 7)
USE_TAN = true (line 24)
VOTE_BASE = 2 (line 28)
  • var: base value of a rate (default is 2)
VOTE_MAX = 10 (line 32)
  • 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 Sat, 20 Jun 2009 12:42:28 +0200 by phpDocumentor 1.4.1