dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "registration: Only allow one extension to set a specific config setting""
[lhc/web/wiklou.git]
/
includes
/
search
/
SearchIndexFieldDefinition.php
diff --git
a/includes/search/SearchIndexFieldDefinition.php
b/includes/search/SearchIndexFieldDefinition.php
index
3e008ae
..
a11dff9
100644
(file)
--- a/
includes/search/SearchIndexFieldDefinition.php
+++ b/
includes/search/SearchIndexFieldDefinition.php
@@
-9,24
+9,28
@@
* @since 1.28
*/
abstract class SearchIndexFieldDefinition implements SearchIndexField {
* @since 1.28
*/
abstract class SearchIndexFieldDefinition implements SearchIndexField {
+
/**
* Name of the field
*
* @var string
*/
protected $name;
/**
* Name of the field
*
* @var string
*/
protected $name;
+
/**
* Type of the field, one of the constants above
*
* @var int
*/
protected $type;
/**
* Type of the field, one of the constants above
*
* @var int
*/
protected $type;
+
/**
* Bit flags for the field.
*
* @var int
*/
protected $flags = 0;
/**
* Bit flags for the field.
*
* @var int
*/
protected $flags = 0;
+
/**
* Subfields
* @var SearchIndexFieldDefinition[]
/**
* Subfields
* @var SearchIndexFieldDefinition[]
@@
-40,7
+44,7
@@
abstract class SearchIndexFieldDefinition implements SearchIndexField {
/**
* @param string $name Field name
/**
* @param string $name Field name
- * @param int
$type Index type
+ * @param int $type Index type
*/
public function __construct( $name, $type ) {
$this->name = $name;
*/
public function __construct( $name, $type ) {
$this->name = $name;
@@
-66,7
+70,7
@@
abstract class SearchIndexFieldDefinition implements SearchIndexField {
/**
* Set global flag for this field.
*
/**
* Set global flag for this field.
*
- * @param int
$flag Bit flag to set/unset
+ * @param int $flag Bit flag to set/unset
* @param bool $unset True if flag should be unset, false by default
* @return $this
*/
* @param bool $unset True if flag should be unset, false by default
* @return $this
*/