b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: async.php

Source Location: /blogs/htsrv/async.php

Page Details

This is the handler for asynchronous 'AJAX' calls.

This file is part of the evoCore framework - http://evocore.net/ See also http://sourceforge.net/projects/evocms/.

fp> TODO: it would be better to have the code for the actions below part of the controllers they belong to. This would require some refectoring but would be better for maintenance and code clarity.

Version:  $Id: async.php,v 1.50 2010/03/02 12:37:08 efy-asimo Exp $
Copyright:  

(c)2003-2010 by Francois PLANQUE - http://fplanque.net/

Filesource:  Source Code for this file
Includes
require (_access_denied.main.php) [line 51]
[ Top ]

require_once (dirname(__FILE__).'/../conf/_config.php') [line 34]

Do the MAIN initializations:

[ Top ]

require_once (_main.inc.php) [line 44]

HEAVY :(

Information Tags:
Todo:  dh> refactor _main.inc.php to be able to include small parts (e.g. $current_User, charset init, ...) only.. It worked already for $DB (_connect_db.inc.php). fp> I think I'll try _core_main.inc , _evo_main.inc , _blog_main.inc ; this file would only need _core_main.inc
[ Top ]

require_once (_async.inc.php) [line 247]

Call the handler/dispatcher (it is a common handler for asynchronous calls -- both AJax calls and HTTP GET fallbacks)

[ Top ]


Functions
get_comments_awaiting_moderation  [line 227]

void get_comments_awaiting_moderation( integer $blog_ID  )

Get comments awaiting moderation

Parameters:
integer   $blog_ID:  blog_ID


[ Top ]


Documentation generated on Sat, 06 Mar 2010 03:49:42 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).