[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/phpbb/textreparser/ -> base.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: 269 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  add_missing_fields()
  get_name()
  set_name()
  disable_save()
  enable_save()
  guess_bbcode()
  guess_bbcodes()
  guess_magic_url()
  guess_smilies()
  reparse_range()
  reparse_record()

Functions
Functions that are not part of a class:

add_missing_fields(array $record)   X-Ref
Add fields to given record, if applicable

The enable_* fields are not always saved to the database. Sometimes we need to guess their
original value based on the text content or possibly other fields

param: array $record Original record
return: array         Complete record

get_name()   X-Ref
Returns the name of the reparser

return: string Name of reparser

set_name($name)   X-Ref
Sets the name of the reparser

param: string $name The reparser name

disable_save()   X-Ref
Disable saving changes to the database


enable_save()   X-Ref
Enable saving changes to the database


guess_bbcode(array $record, $bbcode)   X-Ref
Guess whether given BBCode is in use in given record

param: array  $record
param: string $bbcode
return: bool

guess_bbcodes(array $record)   X-Ref
Guess whether any BBCode is in use in given record

param: array $record
return: bool

guess_magic_url(array $record)   X-Ref
Guess whether magic URLs are in use in given record

param: array $record
return: bool

guess_smilies(array $record)   X-Ref
Guess whether smilies are in use in given record

param: array $record
return: bool

reparse_range($min_id, $max_id)   X-Ref
{@inheritdoc}


reparse_record(array $record)   X-Ref
Reparse given record

param: array $record Associative array containing the record's data



Generated: Sat Oct 26 11:28:42 2019 Cross-referenced by PHPXref 0.7.1