diff options
| author | Dhruv <dhruv.goel92@gmail.com> | 2012-07-11 17:32:31 +0530 |
|---|---|---|
| committer | Dhruv <dhruv.goel92@gmail.com> | 2012-07-19 23:01:44 +0530 |
| commit | 78e7f2a5290dc152cf2e386553e6308c74e2d005 (patch) | |
| tree | e177817a4a7843a21e018b6e5893ea1e7ed8ec8d /phpBB/includes/search/sphinx/config_variable.php | |
| parent | b8103c5c31cbb42a46a40ac10c34ff09dc5efc60 (diff) | |
| download | forums-78e7f2a5290dc152cf2e386553e6308c74e2d005.tar forums-78e7f2a5290dc152cf2e386553e6308c74e2d005.tar.gz forums-78e7f2a5290dc152cf2e386553e6308c74e2d005.tar.bz2 forums-78e7f2a5290dc152cf2e386553e6308c74e2d005.tar.xz forums-78e7f2a5290dc152cf2e386553e6308c74e2d005.zip | |
[feature/sphinx-fulltext-search] improve sphinx helper classes
add access modifiers and docblocks to properties and methods of
sphinx helper classes.
PHPBB3-10946
Diffstat (limited to 'phpBB/includes/search/sphinx/config_variable.php')
| -rw-r--r-- | phpBB/includes/search/sphinx/config_variable.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/phpBB/includes/search/sphinx/config_variable.php b/phpBB/includes/search/sphinx/config_variable.php index dd7836f7c8..35abe281cb 100644 --- a/phpBB/includes/search/sphinx/config_variable.php +++ b/phpBB/includes/search/sphinx/config_variable.php @@ -21,9 +21,9 @@ if (!defined('IN_PHPBB')) */ class phpbb_search_sphinx_config_variable { - var $name; - var $value; - var $comment; + private $name; + private $value; + private $comment; /** * Constructs a new variable object @@ -32,6 +32,8 @@ class phpbb_search_sphinx_config_variable * @param string $value Value of the variable * @param string $comment Optional comment after the variable in the * config file + * + * @access public */ function __construct($name, $value, $comment) { @@ -44,6 +46,8 @@ class phpbb_search_sphinx_config_variable * Getter for the variable's name * * @return string The variable object's name + * + * @access public */ function get_name() { @@ -54,6 +58,8 @@ class phpbb_search_sphinx_config_variable * Allows changing the variable's value * * @param string $value New value for this variable + * + * @access public */ function set_value($value) { @@ -64,6 +70,8 @@ class phpbb_search_sphinx_config_variable * Turns this object into a string readable by sphinx * * @return string Config data in textual form + * + * @access public */ function to_string() { |
