You are here

class fb_social_like in Facebook social plugins integration 7.2

Same name and namespace in other branches
  1. 6.2 plugins/boxes/fb_social_like.inc \fb_social_like

@file fb_social_like.inc

Box class for "like" plugin type

Hierarchy

Expanded class hierarchy of fb_social_like

1 string reference to 'fb_social_like'
fb_social_boxes_plugins in ./fb_social.module
Implementation of hook_boxes_plugins().

File

plugins/boxes/fb_social_like.inc, line 8
fb_social_like.inc

View source
class fb_social_like extends fb_social_default {
  public $fb_plugin_name;
  protected function __construct() {
    parent::__construct();
    $this->fb_plugin_name = 'like';
  }

  /**
   * Implementation of boxes_content::options_defaults().
   */
  public function options_defaults() {
    return parent::options_defaults();
  }

  /**
   * Implementation of boxes_content::options_form().
   */
  public function options_form(&$form_state) {
    return parent::options_form($form_state);
  }

  /**
   * Implementation of boxes_content::render().
   */
  public function render() {
    $block = parent::render();
    return $block;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
boxes_box::$boxes static property
boxes_box::$delta public property
boxes_box::$description public property
boxes_box::$export_type public property
boxes_box::$new public property
boxes_box::$options public property
boxes_box::$plugin_key public property
boxes_box::$title public property
boxes_box::cache_setting public function Returns the block cache settings for this box. Subclasses can override this to perform more intricate operations around deciding the cache settings of the specific box instance.
boxes_box::delete public function Delete a box.
boxes_box::factory public static function Instantiate, populate and return a box object.
boxes_box::load public static function Load existing box by its unique identifier $delta.
boxes_box::reset public static function Reset the boxes cache.
boxes_box::save public function Save a box.
boxes_box::use_multistep_create public function Declare if the box should use a multistep form for the create form.
fb_social_like::$fb_plugin_name public property
fb_social_like::options_defaults public function Implementation of boxes_content::options_defaults(). Overrides fb_social_default::options_defaults
fb_social_like::options_form public function Implementation of boxes_content::options_form(). Overrides fb_social_default::options_form
fb_social_like::render public function Implementation of boxes_content::render(). Overrides fb_social_default::render
fb_social_like::__construct protected function Create a new box. Overrides boxes_box::__construct