Class ShareButton

Description

Class ShareButton

WebSite-PHP : PHP Framework 100% object (http://www.website-php.com) Copyright (c) 2009-2020 WebSite-PHP.com PHP versions >= 5.2

Licensed under The MIT License Redistributions of files must retain the above copyright notice.

Located in /modules/ShareButton/ShareButton.class.php (line 27)

WebSitePhpObject
   |
   --ShareButton
Class Constant Summary
 BUTTON_BIG = "big"
 BUTTON_ICON = "icon"
 BUTTON_ICONS_TEXT = "icons_text"
 BUTTON_MEDIUM = "medium"
 BUTTON_SMALL = "small"
 BUTTON_TEXT = "text"
 SHARE_BY_AIM = "aim"
 SHARE_BY_ALLVOICES = "allvoices"
 SHARE_BY_AMAZON_WISH_LIST = "amazon_wish_list"
 SHARE_BY_AOL_MAIL = "aol_mail"
 SHARE_BY_ARTO = "arto"
 SHARE_BY_ASK_COM_MYSTUFF = "ask_com_mystuff"
 SHARE_BY_BACKFLIP = "backflip"
 SHARE_BY_BEBO = "bebo"
 SHARE_BY_BIBSONOMY = "bibsonomy"
 SHARE_BY_BITTY_BROWSER = "bitty_browser"
 SHARE_BY_BLINKLIST = "blinklist"
 SHARE_BY_BLOGGER_POST = "blogger_post"
 SHARE_BY_BLOGMARKS = "blogmarks"
 SHARE_BY_BOOKMARKS_FR = "bookmarks_fr"
 SHARE_BY_BOX_NET = "box_net"
 SHARE_BY_BUDDYMARKS = "buddymarks"
 SHARE_BY_BUSINESS_EXCHANGE = "business_exchange"
 SHARE_BY_CARE2_NEWS = "care2_news"
 SHARE_BY_CITEULIKE = "citeulike"
 SHARE_BY_CONNOTEA = "connotea"
 SHARE_BY_CURRENT = "current"
 SHARE_BY_DAILYME = "dailyme"
 SHARE_BY_DELICIOUS = "delicious"
 SHARE_BY_DIGG = "digg"
 SHARE_BY_DIGLOG = "diglog"
 SHARE_BY_DIIGO = "diigo"
 SHARE_BY_DZONE = "dzone"
 SHARE_BY_EMAIL = "email"
 SHARE_BY_EVERNOTE = "evernote"
 SHARE_BY_EXPRESSION = "expression"
 SHARE_BY_FACEBOOK = "facebook"
 SHARE_BY_FARK = "fark"
 SHARE_BY_FAVES = "faves"
 SHARE_BY_FOLKD = "folkd"
 SHARE_BY_FRIENDFEED = "friendfeed"
 SHARE_BY_FUNP = "funp"
 SHARE_BY_GABBR = "gabbr"
 SHARE_BY_GOOGLE_BOOKMARKS = "google_bookmarks"
 SHARE_BY_GOOGLE_BUZZ = "google_buzz"
 SHARE_BY_GOOGLE_GMAIL = "google_gmail"
 SHARE_BY_GOOGLE_READER = "google_reader"
 SHARE_BY_HELLOTXT = "hellotxt"
 SHARE_BY_HEMIDEMI = "hemidemi"
 SHARE_BY_HOTMAIL = "hotmail"
 SHARE_BY_HUGG = "hugg"
 SHARE_BY_HYVES = "hyves"
 SHARE_BY_IDENTI_CA = "identi_ca"
 SHARE_BY_IMERA_BRAZIL = "imera_brazil"
 SHARE_BY_INSTAPAPER = "instapaper"
 SHARE_BY_JAMESPOT = "jamespot"
 SHARE_BY_JUMPTAGS = "jumptags"
 SHARE_BY_KHABBR = "khabbr"
 SHARE_BY_KLEDY = "kledy"
 SHARE_BY_LINKAGOGO = "linkagogo"
 SHARE_BY_LINKATOPIA = "linkatopia"
 SHARE_BY_LINKEDIN = "linkedin"
 SHARE_BY_LIVE = "live"
 SHARE_BY_LIVEJOURNAL = "livejournal"
 SHARE_BY_MAPLE = "maple"
 SHARE_BY_MENEAME = "meneame"
 SHARE_BY_MINDBODYGREEN = "mindbodygreen"
 SHARE_BY_MISTER_WONG = "mister_wong"
 SHARE_BY_MIXX = "mixx"
 SHARE_BY_MOZILLACA = "mozillaca"
 SHARE_BY_MSDN = "msdn"
 SHARE_BY_MULTIPLY = "multiply"
 SHARE_BY_MYLINKVAULT = "mylinkvault"
 SHARE_BY_MYSPACE = "myspace"
 SHARE_BY_NETLOG = "netlog"
 SHARE_BY_NETVIBES_SHARE = "netvibes_share"
 SHARE_BY_NETVOUZ = "netvouz"
 SHARE_BY_NEWSTRUST = "newstrust"
 SHARE_BY_NEWSVINE = "newsvine"
 SHARE_BY_NOWPUBLIC = "nowpublic"
 SHARE_BY_ONEVIEW = "oneview"
 SHARE_BY_ORKUT = "orkut"
 SHARE_BY_PHONEFAVS = "phonefavs"
 SHARE_BY_PING = "ping"
 SHARE_BY_PLAXO_PULSE = "plaxo_pulse"
 SHARE_BY_PLURK = "plurk"
 SHARE_BY_POSTEROUS = "posterous"
 SHARE_BY_PRINTFRIENDLY = "printfriendly"
 SHARE_BY_PROTOPAGE_BOOKMARKS = "protopage_bookmarks"
 SHARE_BY_PUSHA = "pusha"
 SHARE_BY_READ_IT_LATER = "read_it_later"
 SHARE_BY_REDDIT = "reddit"
 SHARE_BY_REDIFF = "rediff"
 SHARE_BY_SEGNALO = "segnalo"
 SHARE_BY_SHOUTWIRE = "shoutwire"
 SHARE_BY_SIMPY = "simpy"
 SHARE_BY_SITEJOT = "sitejot"
 SHARE_BY_SLASHDOT = "slashdot"
 SHARE_BY_SMAKNEWS = "smaknews"
 SHARE_BY_SPHERE = "sphere"
 SHARE_BY_SPHINN = "sphinn"
 SHARE_BY_SPURL = "spurl"
 SHARE_BY_SQUIDOO = "squidoo"
 SHARE_BY_STARTAID = "startaid"
 SHARE_BY_STRANDS = "strands"
 SHARE_BY_STUMBLEUPON = "stumbleupon"
 SHARE_BY_SYMBALOO_FEEDS = "symbaloo_feeds"
 SHARE_BY_TAGZA = "tagza"
 SHARE_BY_TAILRANK = "tailrank"
 SHARE_BY_TECHNET = "technet"
 SHARE_BY_TECHNORATI_FAVORITES = "technorati_favorites"
 SHARE_BY_TECHNOTIZIE = "technotizie"
 SHARE_BY_TIPD = "tipd"
 SHARE_BY_TUENTI = "tuenti"
 SHARE_BY_TUMBLR = "tumblr"
 SHARE_BY_TWIDDLA = "twiddla"
 SHARE_BY_TWITTER = "twitter"
 SHARE_BY_TYPEPAD_POST = "typepad_post"
 SHARE_BY_UNALOG = "unalog"
 SHARE_BY_VIADEO = "viadeo"
 SHARE_BY_VODPOD = "vodpod"
 SHARE_BY_WEBNEWS = "webnews"
 SHARE_BY_WINK = "wink"
 SHARE_BY_WISTS = "wists"
 SHARE_BY_WORDPRESS = "wordpress"
 SHARE_BY_XERPI = "xerpi"
 SHARE_BY_XING = "xing"
 SHARE_BY_YAHOO_BOOKMARKS = "yahoo_bookmarks"
 SHARE_BY_YAHOO_MAIL = "yahoo_mail"
 SHARE_BY_YAHOO_MESSENGER = "yahoo_messenger"
 SHARE_BY_YAMPLE = "yample"
 SHARE_BY_YIGG = "yigg"
 SHARE_BY_YOOLINK = "yoolink"
 SHARE_BY_YOUMOB = "youmob"
Method Summary
 addShareServices (mixed $share_service) ShareButton
 render ([boolean $ajax_render = false]) string
 setColor (mixed $main_color, mixed $border, mixed $link_text, mixed $link_text_hover, mixed $background) ShareButton
 __construct ([string $type_button = 'medium'], [string $page_name = ''], [string $page_url = '']) ShareButton
Variables
Methods
addShareServices (line 247)

Method addShareServices

  • since: 1.0.79
  • access: public
ShareButton addShareServices (mixed $share_service)
  • mixed $share_service
render (line 260)

Method render

  • return: html code of object ShareButton
  • since: 1.0.79
  • access: public
string render ([boolean $ajax_render = false])
  • boolean $ajax_render: [default value: false]

Redefinition of:
WebSitePhpObject::render()
Method render
setColor (line 218)

Method setColor

  • since: 1.0.79
  • access: public
ShareButton setColor (mixed $main_color, mixed $border, mixed $link_text, mixed $link_text_hover, mixed $background)
  • mixed $main_color
  • mixed $border
  • mixed $link_text
  • mixed $link_text_hover
  • mixed $background
Constructor __construct (line 199)

Constructor ShareButton

ShareButton __construct ([string $type_button = 'medium'], [string $page_name = ''], [string $page_url = ''])
  • string $type_button: [default value: medium]
  • string $page_name
  • string $page_url

Redefinition of:
WebSitePhpObject::__construct()
Constructor WebSitePhpObject
showMenuOnlyWhenButtonClicked (line 234)

Method showMenuOnlyWhenButtonClicked

  • since: 1.0.79
  • access: public
ShareButton showMenuOnlyWhenButtonClicked ()

Inherited Methods

Inherited From WebSitePhpObject

 WebSitePhpObject::__construct()
 WebSitePhpObject::addCss()
 WebSitePhpObject::addJavaScript()
 WebSitePhpObject::displayJavascriptTag()
 WebSitePhpObject::forceAjaxRender()
 WebSitePhpObject::getAjaxRender()
 WebSitePhpObject::getClass()
 WebSitePhpObject::getCssArray()
 WebSitePhpObject::getJavaScriptArray()
 WebSitePhpObject::getJavascriptTagClose()
 WebSitePhpObject::getJavascriptTagOpen()
 WebSitePhpObject::getName()
 WebSitePhpObject::getPage()
 WebSitePhpObject::getRegisterObjects()
 WebSitePhpObject::getTag()
 WebSitePhpObject::getType()
 WebSitePhpObject::isEventObject()
 WebSitePhpObject::isJavascriptObject()
 WebSitePhpObject::isObjectChange()
 WebSitePhpObject::render()
 WebSitePhpObject::setTag()
Class Constants
BUTTON_BIG = "big" (line 35)

Button style

  • access: public
BUTTON_ICON = "icon" (line 37)

Button style

  • access: public
BUTTON_ICONS_TEXT = "icons_text" (line 36)

Button style

  • access: public
BUTTON_MEDIUM = "medium" (line 34)

Button style

  • access: public
BUTTON_SMALL = "small" (line 33)

Button style

  • access: public
BUTTON_TEXT = "text" (line 38)

Button style

  • access: public
SHARE_BY_AIM = "aim" (line 46)

Share services

  • access: public
SHARE_BY_ALLVOICES = "allvoices" (line 48)

Share services

  • access: public
SHARE_BY_AMAZON_WISH_LIST = "amazon_wish_list" (line 49)

Share services

  • access: public
SHARE_BY_AOL_MAIL = "aol_mail" (line 47)

Share services

  • access: public
SHARE_BY_ARTO = "arto" (line 50)

Share services

  • access: public
SHARE_BY_ASK_COM_MYSTUFF = "ask_com_mystuff" (line 51)

Share services

  • access: public
SHARE_BY_BACKFLIP = "backflip" (line 52)

Share services

  • access: public
SHARE_BY_BEBO = "bebo" (line 53)

Share services

  • access: public
SHARE_BY_BIBSONOMY = "bibsonomy" (line 54)

Share services

  • access: public
SHARE_BY_BITTY_BROWSER = "bitty_browser" (line 55)

Share services

  • access: public
SHARE_BY_BLINKLIST = "blinklist" (line 56)

Share services

  • access: public
SHARE_BY_BLOGGER_POST = "blogger_post" (line 58)

Share services

  • access: public
SHARE_BY_BLOGMARKS = "blogmarks" (line 57)

Share services

  • access: public
SHARE_BY_BOOKMARKS_FR = "bookmarks_fr" (line 59)

Share services

  • access: public
SHARE_BY_BOX_NET = "box_net" (line 60)

Share services

  • access: public
SHARE_BY_BUDDYMARKS = "buddymarks" (line 61)

Share services

  • access: public
SHARE_BY_BUSINESS_EXCHANGE = "business_exchange" (line 62)

Share services

  • access: public
SHARE_BY_CARE2_NEWS = "care2_news" (line 63)

Share services

  • access: public
SHARE_BY_CITEULIKE = "citeulike" (line 64)

Share services

  • access: public
SHARE_BY_CONNOTEA = "connotea" (line 65)

Share services

  • access: public
SHARE_BY_CURRENT = "current" (line 66)

Share services

  • access: public
SHARE_BY_DAILYME = "dailyme" (line 68)

Share services

  • access: public
SHARE_BY_DELICIOUS = "delicious" (line 69)

Share services

  • access: public
SHARE_BY_DIGG = "digg" (line 70)

Share services

  • access: public
SHARE_BY_DIGLOG = "diglog" (line 71)

Share services

  • access: public
SHARE_BY_DIIGO = "diigo" (line 72)

Share services

  • access: public
SHARE_BY_DZONE = "dzone" (line 67)

Share services

  • access: public
SHARE_BY_EMAIL = "email" (line 73)

Share services

  • access: public
SHARE_BY_EVERNOTE = "evernote" (line 74)

Share services

  • access: public
SHARE_BY_EXPRESSION = "expression" (line 75)

Share services

  • access: public
SHARE_BY_FACEBOOK = "facebook" (line 76)

Share services

  • access: public
SHARE_BY_FARK = "fark" (line 77)

Share services

  • access: public
SHARE_BY_FAVES = "faves" (line 78)

Share services

  • access: public
SHARE_BY_FOLKD = "folkd" (line 79)

Share services

  • access: public
SHARE_BY_FRIENDFEED = "friendfeed" (line 80)

Share services

  • access: public
SHARE_BY_FUNP = "funp" (line 81)

Share services

  • access: public
SHARE_BY_GABBR = "gabbr" (line 82)

Share services

  • access: public
SHARE_BY_GOOGLE_BOOKMARKS = "google_bookmarks" (line 83)

Share services

  • access: public
SHARE_BY_GOOGLE_BUZZ = "google_buzz" (line 84)

Share services

  • access: public
SHARE_BY_GOOGLE_GMAIL = "google_gmail" (line 85)

Share services

  • access: public
SHARE_BY_GOOGLE_READER = "google_reader" (line 86)

Share services

  • access: public
SHARE_BY_HELLOTXT = "hellotxt" (line 87)

Share services

  • access: public
SHARE_BY_HEMIDEMI = "hemidemi" (line 88)

Share services

  • access: public
SHARE_BY_HOTMAIL = "hotmail" (line 89)

Share services

  • access: public
SHARE_BY_HUGG = "hugg" (line 90)

Share services

  • access: public
SHARE_BY_HYVES = "hyves" (line 91)

Share services

  • access: public
SHARE_BY_IDENTI_CA = "identi_ca" (line 92)

Share services

  • access: public
SHARE_BY_IMERA_BRAZIL = "imera_brazil" (line 93)

Share services

  • access: public
SHARE_BY_INSTAPAPER = "instapaper" (line 94)

Share services

  • access: public
SHARE_BY_JAMESPOT = "jamespot" (line 95)

Share services

  • access: public
SHARE_BY_JUMPTAGS = "jumptags" (line 96)

Share services

  • access: public
SHARE_BY_KHABBR = "khabbr" (line 97)

Share services

  • access: public
SHARE_BY_KLEDY = "kledy" (line 98)

Share services

  • access: public
SHARE_BY_LINKAGOGO = "linkagogo" (line 99)

Share services

  • access: public
SHARE_BY_LINKATOPIA = "linkatopia" (line 100)

Share services

  • access: public
SHARE_BY_LINKEDIN = "linkedin" (line 101)

Share services

  • access: public
SHARE_BY_LIVE = "live" (line 106)

Share services

  • access: public
SHARE_BY_LIVEJOURNAL = "livejournal" (line 102)

Share services

  • access: public
SHARE_BY_MAPLE = "maple" (line 104)

Share services

  • access: public
SHARE_BY_MENEAME = "meneame" (line 105)

Share services

  • access: public
SHARE_BY_MINDBODYGREEN = "mindbodygreen" (line 107)

Share services

  • access: public
SHARE_BY_MISTER_WONG = "mister_wong" (line 108)

Share services

  • access: public
SHARE_BY_MIXX = "mixx" (line 109)

Share services

  • access: public
SHARE_BY_MOZILLACA = "mozillaca" (line 110)

Share services

  • access: public
SHARE_BY_MSDN = "msdn" (line 103)

Share services

  • access: public
SHARE_BY_MULTIPLY = "multiply" (line 111)

Share services

  • access: public
SHARE_BY_MYLINKVAULT = "mylinkvault" (line 112)

Share services

  • access: public
SHARE_BY_MYSPACE = "myspace" (line 113)

Share services

  • access: public
SHARE_BY_NETLOG = "netlog" (line 114)

Share services

  • access: public
SHARE_BY_NETVIBES_SHARE = "netvibes_share" (line 115)

Share services

  • access: public
SHARE_BY_NETVOUZ = "netvouz" (line 116)

Share services

  • access: public
SHARE_BY_NEWSTRUST = "newstrust" (line 117)

Share services

  • access: public
SHARE_BY_NEWSVINE = "newsvine" (line 118)

Share services

  • access: public
SHARE_BY_NOWPUBLIC = "nowpublic" (line 119)

Share services

  • access: public
SHARE_BY_ONEVIEW = "oneview" (line 120)

Share services

  • access: public
SHARE_BY_ORKUT = "orkut" (line 121)

Share services

  • access: public
SHARE_BY_PHONEFAVS = "phonefavs" (line 122)

Share services

  • access: public
SHARE_BY_PING = "ping" (line 123)

Share services

  • access: public
SHARE_BY_PLAXO_PULSE = "plaxo_pulse" (line 124)

Share services

  • access: public
SHARE_BY_PLURK = "plurk" (line 125)

Share services

  • access: public
SHARE_BY_POSTEROUS = "posterous" (line 126)

Share services

  • access: public
SHARE_BY_PRINTFRIENDLY = "printfriendly" (line 127)

Share services

  • access: public
SHARE_BY_PROTOPAGE_BOOKMARKS = "protopage_bookmarks" (line 128)

Share services

  • access: public
SHARE_BY_PUSHA = "pusha" (line 129)

Share services

  • access: public
SHARE_BY_READ_IT_LATER = "read_it_later" (line 130)

Share services

  • access: public
SHARE_BY_REDDIT = "reddit" (line 131)

Share services

  • access: public
SHARE_BY_REDIFF = "rediff" (line 132)

Share services

  • access: public
SHARE_BY_SEGNALO = "segnalo" (line 133)

Share services

  • access: public
SHARE_BY_SHOUTWIRE = "shoutwire" (line 134)

Share services

  • access: public
SHARE_BY_SIMPY = "simpy" (line 135)

Share services

  • access: public
SHARE_BY_SITEJOT = "sitejot" (line 136)

Share services

  • access: public
SHARE_BY_SLASHDOT = "slashdot" (line 137)

Share services

  • access: public
SHARE_BY_SMAKNEWS = "smaknews" (line 138)

Share services

  • access: public
SHARE_BY_SPHERE = "sphere" (line 139)

Share services

  • access: public
SHARE_BY_SPHINN = "sphinn" (line 140)

Share services

  • access: public
SHARE_BY_SPURL = "spurl" (line 141)

Share services

  • access: public
SHARE_BY_SQUIDOO = "squidoo" (line 142)

Share services

  • access: public
SHARE_BY_STARTAID = "startaid" (line 143)

Share services

  • access: public
SHARE_BY_STRANDS = "strands" (line 144)

Share services

  • access: public
SHARE_BY_STUMBLEUPON = "stumbleupon" (line 145)

Share services

  • access: public
SHARE_BY_SYMBALOO_FEEDS = "symbaloo_feeds" (line 146)

Share services

  • access: public
SHARE_BY_TAGZA = "tagza" (line 147)

Share services

  • access: public
SHARE_BY_TAILRANK = "tailrank" (line 148)

Share services

  • access: public
SHARE_BY_TECHNET = "technet" (line 149)

Share services

  • access: public
SHARE_BY_TECHNORATI_FAVORITES = "technorati_favorites" (line 150)

Share services

  • access: public
SHARE_BY_TECHNOTIZIE = "technotizie" (line 151)

Share services

  • access: public
SHARE_BY_TIPD = "tipd" (line 152)

Share services

  • access: public
SHARE_BY_TUENTI = "tuenti" (line 153)

Share services

  • access: public
SHARE_BY_TUMBLR = "tumblr" (line 154)

Share services

  • access: public
SHARE_BY_TWIDDLA = "twiddla" (line 155)

Share services

  • access: public
SHARE_BY_TWITTER = "twitter" (line 156)

Share services

  • access: public
SHARE_BY_TYPEPAD_POST = "typepad_post" (line 157)

Share services

  • access: public
SHARE_BY_UNALOG = "unalog" (line 173)

Share services

  • access: public
SHARE_BY_VIADEO = "viadeo" (line 158)

Share services

  • access: public
SHARE_BY_VODPOD = "vodpod" (line 159)

Share services

  • access: public
SHARE_BY_WEBNEWS = "webnews" (line 160)

Share services

  • access: public
SHARE_BY_WINK = "wink" (line 161)

Share services

  • access: public
SHARE_BY_WISTS = "wists" (line 162)

Share services

  • access: public
SHARE_BY_WORDPRESS = "wordpress" (line 163)

Share services

  • access: public
SHARE_BY_XERPI = "xerpi" (line 165)

Share services

  • access: public
SHARE_BY_XING = "xing" (line 164)

Share services

  • access: public
SHARE_BY_YAHOO_BOOKMARKS = "yahoo_bookmarks" (line 166)

Share services

  • access: public
SHARE_BY_YAHOO_MAIL = "yahoo_mail" (line 167)

Share services

  • access: public
SHARE_BY_YAHOO_MESSENGER = "yahoo_messenger" (line 168)

Share services

  • access: public
SHARE_BY_YAMPLE = "yample" (line 169)

Share services

  • access: public
SHARE_BY_YIGG = "yigg" (line 170)

Share services

  • access: public
SHARE_BY_YOOLINK = "yoolink" (line 171)

Share services

  • access: public
SHARE_BY_YOUMOB = "youmob" (line 172)

Share services

  • access: public

Documentation generated on Wed, 22 Apr 2020 13:20:48 +0200 by phpDocumentor 1.4.3