Class XFAction_search

Description

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

XFAction
   |
   --XFAction_search
Class Constant Summary
 LIMIT_SEARCH = 1000
 USE_TAN = false
Variable Summary
mixed $error
mixed $gpc
string $hash
mixed $markgpc
mixed $success
mixed $version
Method Summary
static mixed fdate (string $a, integer $b)
true ajax ( $input)
boolean execute ()
true get_results ()
mixed init (string $a, array $b)
true regular ()
true search_by_tag ()
true search_by_time ()
true search_by_today ()
true search_by_user ()
Variables
mixed $error = '' (line 30)
  • access: protected

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

Redefinition of:
XFAction::$gpc
string $hash = '' (line 37)
  • var: hash of current search query
  • access: public
mixed $markgpc = array() (line 32)
  • access: protected

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

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

Redefinition of:
XFAction::$version
Methods
static method fdate (line 544)

format a timespan

  • since: 1.0.0
  • access: protected
static mixed fdate (string $a, integer $b)
  • string $a: timestamp in format yyyy-mm-dd or dd.mm.yyyy
  • integer $b: if '0', time is midnight otherwise one second before
ajax (line 193)
  • since: 1.0.0
  • access: protected
true ajax ( $input)
  • $input

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

perform a search in database

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

Redefinition of:
XFAction::execute()
execute the main 'action' the name of a file says
get_results (line 436)

fetch results from database

  • since: 1.0.0
  • access: public
true get_results ()
init (line 45)
  • 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 54)
  • since: 1.0.0
  • access: protected
true regular ()

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

run a preset search query: posts by last read timestamp

  • since: 1.0.0
  • access: public
true search_by_last_read ()
search_by_tag (line 104)

run a preset search query: posts by tag

  • since: 1.0.0
  • access: public
true search_by_tag ()
search_by_time (line 144)

run a preset search query: posts by time

  • since: 1.0.0
  • access: public
true search_by_time ()
search_by_today (line 164)

run a preset search query: posts by today

  • since: 1.0.0
  • access: public
true search_by_today ()
search_by_user (line 124)

run a preset search query: posts by user

  • since: 1.0.0
  • access: public
true search_by_user ()

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
LIMIT_SEARCH = 1000 (line 28)
  • var: limit search results to x items (default is 1000)
USE_TAN = false (line 24)

Inherited Constants

Inherited from XFAction

XFAction::API_VERSION

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