[ Index ]

PHP Cross Reference of phpBB-3.1.10-deutsch

title

Body

[close]

/includes/ -> bbcode.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 650 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

bbcode:: (9 methods):
  bbcode()
  bbcode_second_pass()
  bbcode_cache_init()
  bbcode_tpl()
  bbcode_tpl_replace()
  bbcode_list()
  bbcode_second_pass_quote()
  bbcode_second_pass_code()
  bbcode_second_pass_by_extension()


Class: bbcode  - X-Ref

BBCode class

bbcode($bitfield = '')   X-Ref
Constructor
Init bbcode cache entries if bitfield is specified


bbcode_second_pass(&$message, $bbcode_uid = '', $bbcode_bitfield = false)   X-Ref
Second pass bbcodes


bbcode_cache_init()   X-Ref
Init bbcode cache

requires: $this->bbcode_bitfield
sets: $this->bbcode_cache with bbcode templates needed for bbcode_bitfield

bbcode_tpl($tpl_name, $bbcode_id = -1, $skip_bitfield_check = false)   X-Ref
Return bbcode template


bbcode_tpl_replace($tpl_name, $tpl)   X-Ref
Return bbcode template replacement


bbcode_list($type)   X-Ref
Second parse list bbcode


bbcode_second_pass_quote($username, $quote)   X-Ref
Second parse quote tag


bbcode_second_pass_code($type, $code)   X-Ref
Second parse code tag


bbcode_second_pass_by_extension()   X-Ref
Function to perform custom bbcode second pass by extensions
can be used to assign bbcode pattern replacement
Example: '#\[list=([^\[]+):$uid\]#e'    => "\$this->bbcode_second_pass_by_extension('\$1')"

Accepts variable number of parameters

return: mixed Second pass result



Generated: Sun Feb 19 19:52:41 2017 Cross-referenced by PHPXref 0.7.1