aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metastrings.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2012-01-09 17:29:04 -0800
committerBrett Profitt <brett.profitt@gmail.com>2012-01-09 17:29:04 -0800
commit0fe0f9d6dc6577d39bf0615c0e714c7fa7d2ebf3 (patch)
tree10e872d03de4e51c3dd2ebe0f7c97ecc9eabb438 /engine/lib/metastrings.php
parent266d5f923d34005356a80c8dc87eefd4ebe3a826 (diff)
downloadelgg-0fe0f9d6dc6577d39bf0615c0e714c7fa7d2ebf3.tar.gz
elgg-0fe0f9d6dc6577d39bf0615c0e714c7fa7d2ebf3.tar.bz2
Fixes #4243. Added docs for metadata_calculation option to elgg_get_metadata().
Diffstat (limited to 'engine/lib/metastrings.php')
-rw-r--r--engine/lib/metastrings.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/engine/lib/metastrings.php b/engine/lib/metastrings.php
index 9fe9b4bff..d8fef6f1c 100644
--- a/engine/lib/metastrings.php
+++ b/engine/lib/metastrings.php
@@ -609,8 +609,7 @@ function elgg_get_metastring_sql($table, $names = null, $values = null,
}
/**
- * Normalizes metadata / annotation option names to their
- * corresponding metastrings name.
+ * Normalizes metadata / annotation option names to their corresponding metastrings name.
*
* @param array $options An options array
* @since 1.8.0
@@ -631,10 +630,10 @@ function elgg_normalize_metastrings_options(array $options = array()) {
// map the metadata_* options to metastring_* options
$map = array(
- 'names' => 'metastring_names',
- 'values' => 'metastring_values',
- 'case_sensitive' => 'metastring_case_sensitive',
- 'owner_guids' => 'metastring_owner_guids',
+ 'names' => 'metastring_names',
+ 'values' => 'metastring_values',
+ 'case_sensitive' => 'metastring_case_sensitive',
+ 'owner_guids' => 'metastring_owner_guids',
'created_time_lower' => 'metastring_created_time_lower',
'created_time_upper' => 'metastring_created_time_upper',
'calculation' => 'metastring_calculation',