Class XFAction_topic

Description

Located in /lb_private/action.topic.php (line 23)

XFAction
   |
   --XFAction_topic
Class Constant Summary
 USE_TAN = false
Variable Summary
static array $data_pfx
static array $data_post
static array $data_tag
static integer $data_tid
mixed $error
mixed $gpc
mixed $markgpc
mixed $success
mixed $version
Method Summary
static true cache_data (array $posts)
void ajax ( $input)
integer calculate_page (array $posts)
void execute ()
mixed init (string $a, array $b)
true regular ()
Variables
static array $data_pfx = array() (line 41)
  • var: cached data of post prefixes
  • access: protected
static array $data_post = array() (line 37)
  • var: cached data of postings
  • access: protected
static array $data_tag = array() (line 45)
  • var: cached data of post tags
  • access: protected
static integer $data_tid = 0 (line 33)
  • var: current topic id
  • access: protected
mixed $error = '' (line 26)
  • access: protected

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

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

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

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

Redefinition of:
XFAction::$version
Methods
static method cache_data (line 325)

cache the post data of current topic page

  • since: 1.0.0
  • access: protected
static true cache_data (array $posts)
  • array $posts: postings belong to page
ajax (line 297)
  • since: 1.0.0
  • access: protected
void ajax ( $input)
  • $input

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

calculate on which page of topic a requested posting can be found

  • since: 1.0.0
  • access: protected
integer calculate_page (array $posts)
  • array $posts: postings belong to topic
execute (line 303)

show topic (directly started in run())

  • since: 1.0.0
  • access: public
void 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
USE_TAN = false (line 24)

Inherited Constants

Inherited from XFAction

XFAction::API_VERSION

Documentation generated on Sat, 20 Jun 2009 12:42:42 +0200 by phpDocumentor 1.4.1