phpBB

Code Changes

File: includes/bbcode.php

  Unmodified   Added   Modified   Removed
Line 35Line 35

/**
* Constructor


/**
* Constructor

 
	*/
function __construct($bitfield = '')
{
$this->bbcode_set_bitfield($bitfield);
}

/**

	* Init bbcode cache entries if bitfield is specified

	* Init bbcode cache entries if bitfield is specified

 
	*
* @param string $bbcode_bitfield The bbcode bitfield

	*/

	*/

	function bbcode($bitfield = '')

	function bbcode_set_bitfield($bitfield = '')

	{
if ($bitfield)
{

	{
if ($bitfield)
{

Line 212Line 221
			$db->sql_freeresult($result);
}


			$db->sql_freeresult($result);
}


		// To perform custom second pass in extension, use $this->bbcode_second_pass_by_extension()
// method which accepts variable number of parameters

 
		foreach ($bbcode_ids as $bbcode_id)
{
switch ($bbcode_id)

		foreach ($bbcode_ids as $bbcode_id)
{
switch ($bbcode_id)

Line 672Line 679
	* Accepts variable number of parameters
*
* @return mixed Second pass result

	* Accepts variable number of parameters
*
* @return mixed Second pass result

 
	*
* @deprecated 3.2.10 (To be removed 4.0.0)

	*/
function bbcode_second_pass_by_extension()
{

	*/
function bbcode_second_pass_by_extension()
{