diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-08 17:56:27 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-08 17:56:27 -0400 |
commit | c80f32c614e48e237bcc3b72b780badf17d99dca (patch) | |
tree | ef37a16cc632d2143a42027ef83a4bfa511ddc9b /engine/lib/tags.php | |
parent | 73eb2ffc45442195c6c8fe9dd13604781adfc74b (diff) | |
download | elgg-c80f32c614e48e237bcc3b72b780badf17d99dca.tar.gz elgg-c80f32c614e48e237bcc3b72b780badf17d99dca.tar.bz2 |
Fixes #3936 added @access private to internal functions
Diffstat (limited to 'engine/lib/tags.php')
-rw-r--r-- | engine/lib/tags.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php index 64feed5b2..6275d653c 100644 --- a/engine/lib/tags.php +++ b/engine/lib/tags.php @@ -17,6 +17,7 @@ * @param int $buckets The number of buckets * * @return int + * @access private */ function calculate_tag_size($min, $max, $number_of_tags, $buckets = 6) { $delta = (($max - $min) / $buckets); @@ -48,6 +49,7 @@ function calculate_tag_size($min, $max, $number_of_tags, $buckets = 6) { * @param int $buckets The number of buckets * * @return An associated array of tags with a weighting, this can then be mapped to a display class. + * @access private */ function generate_tag_cloud(array $tags, $buckets = 6) { $cloud = array(); @@ -320,6 +322,7 @@ function elgg_get_registered_tag_metadata_names() { * @param array $page Page array * * @return void + * @access private */ function elgg_tagcloud_page_handler($page) { switch ($page[0]) { @@ -339,6 +342,9 @@ function elgg_tagcloud_page_handler($page) { } } +/** + * @access private + */ function elgg_tags_init() { // register the standard tags metadata name elgg_register_tag_metadata_name('tags'); |