aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/widgets.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-08 17:56:27 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-08 17:56:27 -0400
commitc80f32c614e48e237bcc3b72b780badf17d99dca (patch)
treeef37a16cc632d2143a42027ef83a4bfa511ddc9b /engine/lib/widgets.php
parent73eb2ffc45442195c6c8fe9dd13604781adfc74b (diff)
downloadelgg-c80f32c614e48e237bcc3b72b780badf17d99dca.tar.gz
elgg-c80f32c614e48e237bcc3b72b780badf17d99dca.tar.bz2
Fixes #3936 added @access private to internal functions
Diffstat (limited to 'engine/lib/widgets.php')
-rw-r--r--engine/lib/widgets.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/engine/lib/widgets.php b/engine/lib/widgets.php
index cc3cf20e4..63a9bb494 100644
--- a/engine/lib/widgets.php
+++ b/engine/lib/widgets.php
@@ -257,6 +257,7 @@ function elgg_get_widget_types($context = "", $exact = false) {
* Regsiter entity of object, widget as ElggWidget objects
*
* @return void
+ * @access private
*/
function elgg_widget_run_once() {
add_subtype("object", "widget", "ElggWidget");
@@ -266,6 +267,7 @@ function elgg_widget_run_once() {
* Function to initialize widgets functionality
*
* @return void
+ * @access private
*/
function elgg_widgets_init() {
elgg_register_action('widgets/save');
@@ -282,6 +284,7 @@ function elgg_widgets_init() {
* register menu items for default widgets with the admin section.
*
* @return void
+ * @access private
*/
function elgg_default_widgets_init() {
global $CONFIG;
@@ -309,6 +312,7 @@ function elgg_default_widgets_init() {
* @param string $type The type of object
* @param object $object The object
* @return null
+ * @access private
*/
function elgg_default_widgets_hook($event, $type, $object) {
$default_widget_info = elgg_get_config('default_widget_info');
@@ -376,6 +380,7 @@ function elgg_default_widgets_hook($event, $type, $object) {
* @param string $return Value
* @param mixed $params Params
* @return true|null
+ * @access private
*/
function elgg_default_widgets_permissions_override($hook, $type, $return, $params) {
if ($type == 'object' && $params['subtype'] == 'widget') {
@@ -387,4 +392,4 @@ function elgg_default_widgets_permissions_override($hook, $type, $return, $param
elgg_register_event_handler('init', 'system', 'elgg_widgets_init');
// register default widget hooks from plugins
-elgg_register_event_handler('ready', 'system', 'elgg_default_widgets_init'); \ No newline at end of file
+elgg_register_event_handler('ready', 'system', 'elgg_default_widgets_init');