author | alexhermann |
---|
__construct(array $options)
array
get() : \likebutton
\likebutton
html/xfbml/iframegetAction() : String
String
getColorscheme() : String
String
getFont() : String
String
getHeight() : String
String
getHref() : String
String
getLayout() : String
String
getRef() : String
String
getSend() : String
String
getShowFaces() : String
String
getType() : String
String
getWidth() : String
String
setAction(String $action) : void
String
setColorscheme(String $colorscheme) : void
String
setFont(String $font) : void
String
setHeight(String $height) : void
String
setHref(String $href) : void
String
setLayout(String $layout) : void
String
setRef(String $ref) : void
String
setSend(String $send) : void
String
setShowFaces(String $show_faces) : void
String
setType($type) : void
setWidth(String $width) : void
String
likeButtonHtml5()
likeButtonIframe()
likeButtonXfbml()
$action
Default width: 300px
$colorscheme
Options: 'light', 'dark'
$font
Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'
$height
Options: 'like', 'recommend'
$href
The XFBML version defaults to the current page
$layout
Minimum width: 225 pixels. Minimum increases by 40px if action is 'recommend' by and increases by 60px if send is 'true'. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos). button_count - displays the total number of likes to the right of the button. Minimum width: 90 pixels. Default width: 90 pixels. Height: 20 pixels box_count - displays the total number of likes above the button. Minimum width: 55 pixels. Default width: 55 pixels. Height: 65 pixels
$ref
The ref attribute causes two parameters to be added to the referrer URL when a user clicks a link from a stream story about a Like action: fb_ref - the ref parameter fb_source - the stream type ('home', 'profile', 'search', 'other') in which the click occurred and the story type ('oneline' or 'multiline'), concatenated with an underscore.
$send
This only works with the XFBML version
$show_faces
$type
$width