Class XFAction_topic

Description

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

XFAction
   |
   --XFAction_topic
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 40)
  • var: cached data of post prefixes
  • access: protected
static array $data_post = array() (line 36)
  • var: cached data of postings
  • access: protected
static array $data_tag = array() (line 44)
  • var: cached data of post tags
  • access: protected
static integer $data_tid = 0 (line 32)
  • var: current topic id
  • access: protected
mixed $error = '' (line 25)
  • access: protected

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

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

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

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

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

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 221)
  • 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 235)

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

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

Inherited Constants

Inherited from XFAction

XFAction::API_VERSION

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