CMS
Version 3.9
social_media_manager.inc
Go to the documentation of this file.
1
<?php
7
Fakoli::using
(
"settings"
);
8
9
class
SocialMediaManager
10
{
11
static
function
setDefaults
()
12
{
13
Settings::setDefaultValue
(
"social_media"
,
"Facebook"
,
true
, Boolean,
""
,
"Chicklets"
);
14
Settings::setDefaultValue
(
"social_media"
,
"Twitter"
,
true
, Boolean,
""
,
"Chicklets"
);
15
Settings::setDefaultValue
(
"social_media"
,
"Digg"
,
true
, Boolean,
""
,
"Chicklets"
);
16
Settings::setDefaultValue
(
"social_media"
,
"StumbleUpon"
,
true
, Boolean,
""
,
"Chicklets"
);
17
Settings::setDefaultValue
(
"social_media"
,
"Del.icio.us"
,
true
, Boolean,
""
,
"Chicklets"
);
18
Settings::setDefaultValue
(
"social_media"
,
"Reddit"
,
true
, Boolean,
""
,
"Chicklets"
);
19
Settings::setDefaultValue
(
"social_media"
,
"Yahoo_MyWeb"
,
false
, Boolean,
""
,
"Chicklets"
);
20
Settings::setDefaultValue
(
"social_media"
,
"Newsvine"
,
false
, Boolean,
""
,
"Chicklets"
);
21
Settings::setDefaultValue
(
"social_media"
,
"Google_Bookmarks"
,
false
, Boolean,
""
,
"Chicklets"
);
22
Settings::setDefaultValue
(
"social_media"
,
"Mixx"
,
false
, Boolean,
""
,
"Chicklets"
);
23
Settings::setDefaultValue
(
"social_media"
,
"Technorati"
,
false
, Boolean,
""
,
"Chicklets"
);
24
}
25
}
26
?>
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
Settings\setDefaultValue
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.
Definition:
settings.inc:174
SocialMediaManager
Definition:
social_media_manager.inc:10
SocialMediaManager\setDefaults
static setDefaults()
Definition:
social_media_manager.inc:11
code
cms.sonjara.com
cms
components
social_media
social_media_manager.inc
Generated on Tue Mar 23 2021 15:36:14 for CMS by
1.9.1