[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/search/sphinx/ -> config.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: 284 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

config:: (5 methods):
  __construct()
  get_section_by_name()
  add_section()
  read()
  get_data()


Class: config  - X-Ref

An object representing the sphinx configuration
Can read it from file and write it back out after modification

__construct($config_data)   X-Ref
Constructor which optionally loads data from a variable

param: string    $config_data    Variable containing the sphinx configuration data

get_section_by_name($name)   X-Ref
Get a section object by its name

param: string                                 $name    The name of the section that shall be returned
return: \phpbb\search\sphinx\config_section            The section object or null if none was found

add_section($name)   X-Ref
Appends a new empty section to the end of the config

param: string                                $name    The name for the new section
return: \phpbb\search\sphinx\config_section            The newly created section object

read($config_data)   X-Ref
Reads the config file data

param: string    $config_data    The config file data

get_data()   X-Ref
Returns the config data

return: string    $data    The config data that is generated



Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1