author alexhermann

 Methods

Constructor

__construct(array $options) 

Parameters

$options

array

activityHtml5()

activityHtml5() 

activityIframe()

activityIframe() 

activityXfbml()

activityXfbml() 

Getter: activity

get() : \activity

Returns

\activityhtml/xfbml/iframe

Getter: border_color

getBorderColor() : String

Returns

String

Getter: colorscheme

getColorscheme() : String

Returns

String

Getter: domain

getDomain() : String

Returns

String

Getter: filter

getFilter() : String

Returns

String

Getter: font

getFont() : String

Returns

String

Getter: header

getHeader() : String

Returns

String

Getter: height

getHeight() : String

Returns

String

Getter: linktarget

getLinktarget() : String

Returns

String

Getter: max_age

getMaxAge() : String

Returns

String

Getter: recommendations

getRecommendations() : String

Returns

String

Getter: ref

getRef() : String

Returns

String

Getter: type

getType() : String

Returns

String

Getter: width

getWidth() : String

Returns

String

Setter: border_color

setBorderColor(String $border_color) : void

Parameters

$border_color

String

Setter: colorscheme

setColorscheme(String $colorscheme) : void

Parameters

$colorscheme

String

Setter: domain

setDomain(String $domain) : void

Parameters

$domain

String

Setter: filter

setFilter(String $filter) : void

Parameters

$filter

String

Setter: font

setFont(String $font) : void

Parameters

$font

String

Setter: header

setHeader(String $header) : void

Parameters

$header

String

Setter: height

setHeight(String $height) : void

Parameters

$height

String

Setter: linktarget

setLinktarget(String $linktarget) : void

Parameters

$linktarget

String

Setter: max_age

setMaxAge(String $max_age) : void

Parameters

$max_age

String

Setter: recommendations

setRecommendations(String $recommendations) : void

Parameters

$recommendations

String

Setter: ref

setRef(String $ref) : void

Parameters

$ref

String

Setter: type

setType(String $type) : void

Parameters

$type

String

Setter: width

setWidth(String $width) : void

Parameters

$width

String

 Properties

 

$border_color 
 

$colorscheme 

Options: 'light', 'dark'

 

$domain 

The XFBML version defaults to the current domain

 

$filter 

The plugin will only include URLs which contain the filter string in the first two path parameters of the URL. If nothing in the first two path parameters of the URL matches the filter, the URL will not be included. For example, if the 'domain' parameter is set to 'www.example.com' and the 'filter' parameter was set to '/section1/section2' then only pages which matched 'http://www.example.com/section1/section2/*' would be included in the activity feed section of this plugin. The filter parameter does not apply to any recommendations which may appear in this plugin (see above); Recommendations are based only on 'domain' parameter

 

$font 

Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'

 

$header 
 

$height 

Default height: 300px

 

$linktarget 

By default all links within the plugin will open a new window. If you want the content links to open in the same window, you can set this parameter to _top or _parent. Links to Facebook URLs will always open in a new window.

 

$max_age 

The default is 0 (we don’t take age into account). Otherwise the valid values are 1-180, which specifies the number of days. For example, if you specify '7' the plugin will only show URLs which were created in the past week.

 

$recommendations 

If recommendations is set to true, the plugin will display recommendations in the bottom half

 

$ref 

Specifying a value for the ref attribute adds the 'fb_ref' parameter to the any links back to your domain which are clicked from within the plugin. Using different values for the ref parameter for different positions and configurations of this plugin within your pages allows you to track which instances are performing the best.

 

$type 
 

$width 

Default width: 300px