[ Index ]

PHP Cross Reference of MyBB 1.8.30

title

Body

[close]

/inc/ -> adminfunctions_templates.php (summary)

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 94 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function

  find_replace_templatesets()

Functions
Functions that are not part of a class:

find_replace_templatesets($title, $find, $replace, $autocreate=1, $sid=false, $limit=-1)   X-Ref
Find and replace a string in a particular template through every template set.
return: boolean true if updated one or more templates, false if not.
param: string $title The name of the template
param: string $find The regular expression to match in the template
param: string $replace The replacement string
param: int $autocreate Set to 1 to automatically create templates which do not exist for sets with SID > 0 (based off master) - defaults to 1
param: mixed $sid Template SID to modify, false for every SID > 0 and SID = -1
param: int $limit The maximum possible replacements for the regular expression



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref