[ Index ]

PHP Cross Reference of phpBB-3.1.12-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: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1