includes/cbt/CBTProcessor.php File Reference

Go to the source code of this file.

Classes

class  CBTValue
 A dependency-tracking value class Callback functions should return one of these, unless they have no dependencies in which case they can return a string. More...
class  CBTProcessor
 Template processor, for compilation and execution. More...

Enumerations

enum  CBT_WHITE
 PHP version of the callback template processor This is currently used as a test rig and is likely to be used for compatibility purposes later, where the C++ extension is not available. More...
enum  CBT_BRACE
enum  CBT_DELIM
enum  CBT_DEBUG

Functions

if(!function_exists(
'wfProfileIn')) if(!function_exists(
'wfProfileOut')) 
cbt_escape ($text)
 Attempting to be a MediaWiki-independent module.
 cbt_value ($text= '', $deps=array(), $isTemplate=false)
 Create a CBTValue.

Variables

 $GLOBALS ['cbtExecutingGenerated'] = 0


Enumeration Type Documentation

enum CBT_BRACE

Definition at line 10 of file CBTProcessor.php.

enum CBT_DEBUG

Definition at line 12 of file CBTProcessor.php.

enum CBT_DELIM

Definition at line 11 of file CBTProcessor.php.

enum CBT_WHITE

PHP version of the callback template processor This is currently used as a test rig and is likely to be used for compatibility purposes later, where the C++ extension is not available.

Definition at line 9 of file CBTProcessor.php.


Function Documentation

if (!function_exists( 'wfProfileIn')) if (!function_exists( 'wfProfileOut')) cbt_escape ( text  ) 

Attempting to be a MediaWiki-independent module.

Escape text for inclusion in template

Definition at line 29 of file CBTProcessor.php.

References $text.

Referenced by SkinMonoBookCBT::extratabs(), SkinMonoBookCBT::makeSpecialParamUrl(), SkinMonoBookCBT::personal_urls(), CBTProcessor::templateEscape(), and CBTValue::templateEscape().

cbt_value ( text = '',
deps = array(),
isTemplate = false 
)

Create a CBTValue.

Definition at line 36 of file CBTProcessor.php.

References $text.

Referenced by SkinMonoBookCBT::about(), SkinMonoBookCBT::anonlogin(), SkinMonoBookCBT::anontalk(), SkinMonoBookCBT::anonuserpage(), SkinMonoBookCBT::article_exists(), SkinMonoBookCBT::body_ondblclick(), SkinMonoBookCBT::body_onload(), SkinMonoBookCBT::bodytext(), SkinMonoBookCBT::ca_variant(), SkinMonoBookCBT::can_edit(), SkinMonoBookCBT::can_move(), SkinMonoBookCBT::catlinks(), SkinMonoBookCBT::credits(), SkinMonoBookCBT::disclaimer(), SkinMonoBookCBT::edit_url(), SkinMonoBookCBT::extratabs(), SkinMonoBookCBT::fallbackmsg(), SkinMonoBookCBT::feeds(), SkinMonoBookCBT::gencss(), SkinMonoBookCBT::headlinks(), SkinMonoBookCBT::headscripts(), SkinMonoBookCBT::is_allowed(), SkinMonoBookCBT::is_currentview(), SkinMonoBookCBT::is_loggedin(), SkinMonoBookCBT::is_ns_mediawiki(), SkinMonoBookCBT::is_permalink(), SkinMonoBookCBT::is_protected(), SkinMonoBookCBT::is_special(), SkinMonoBookCBT::is_talk(), SkinMonoBookCBT::is_userpage(), SkinMonoBookCBT::is_watching(), SkinMonoBookCBT::jsvarurl(), SkinMonoBookCBT::language_urls(), SkinMonoBookCBT::lastmod(), SkinMonoBookCBT::localurl(), SkinMonoBookCBT::login(), SkinMonoBookCBT::logout(), SkinMonoBookCBT::move_url(), SkinMonoBookCBT::msg(), SkinMonoBookCBT::mycontris(), SkinMonoBookCBT::mytalk(), SkinMonoBookCBT::nav_blockip(), SkinMonoBookCBT::nav_contributions(), SkinMonoBookCBT::nav_emailuser(), SkinMonoBookCBT::nav_permalink(), SkinMonoBookCBT::nav_print(), SkinMonoBookCBT::nav_recentchangeslinked(), SkinMonoBookCBT::nav_trackbacklink(), SkinMonoBookCBT::nav_whatlinkshere(), SkinMonoBookCBT::newtalk(), SkinMonoBookCBT::notprintable(), SkinMonoBookCBT::notspecialpage(), SkinMonoBookCBT::nsclass(), SkinMonoBookCBT::nskey(), SkinMonoBookCBT::numberofwatchingusers(), SkinMonoBookCBT::pagecss(), SkinMonoBookCBT::pagetitle(), SkinMonoBookCBT::personal_urls(), SkinMonoBookCBT::preferences(), SkinMonoBookCBT::privacy(), SkinMonoBookCBT::reporttime(), SkinMonoBookCBT::request_url(), SkinMonoBookCBT::search(), SkinMonoBookCBT::selecttab(), SkinMonoBookCBT::showjumplinks(), SkinMonoBookCBT::sidebar(), SkinMonoBookCBT::sitenotice(), SkinMonoBookCBT::subject_newclass(), SkinMonoBookCBT::subject_url(), SkinMonoBookCBT::subtitle(), SkinMonoBookCBT::talk_newclass(), SkinMonoBookCBT::talk_url(), SkinMonoBookCBT::title(), SkinMonoBookCBT::title_urlform(), SkinMonoBookCBT::title_userurl(), SkinMonoBookCBT::trackbackhtml(), SkinMonoBookCBT::undelete(), SkinMonoBookCBT::usehistorycopyright(), SkinMonoBookCBT::user_touched(), SkinMonoBookCBT::usercss(), SkinMonoBookCBT::userjs(), SkinMonoBookCBT::userjsprev(), SkinMonoBookCBT::userpage(), SkinMonoBookCBT::viewcount(), and SkinMonoBookCBT::watchlist().


Variable Documentation

$GLOBALS['cbtExecutingGenerated'] = 0


Generated on Sat Sep 5 02:08:05 2009 for MediaWiki by  doxygen 1.5.9