HJI WP Membership Code Reference
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Slipstream API Docs

Namespaces

  • hji
    • AgentRoster
      • controllers
      • models
      • utils
    • common
      • factories
      • interfaces
      • models
      • utils
    • construction
      • admin
        • controllers
        • models
      • core
      • front
        • controllers
      • interfaces
      • models
        • listings
        • subdivisions
      • views
    • geofarms
      • common
      • controllers
      • models
      • widgets
    • homevalue
      • controllers
      • core
        • abstracts
      • models
    • lifestylefinder
    • listingstoblog
      • controllers
    • membership
      • abstracts
      • controllers
      • entities
      • extension
        • abstracts
        • interfaces
      • factories
      • includes
      • interfaces
      • models
        • data
        • webservice
          • abstracts
          • actions
          • interfaces
      • observers
      • services
    • recentsales
      • controllers
      • tinymce
      • widgets
    • ResponsiveIDX
      • abstracts
      • adapters
      • controllers
      • core
        • abstracts
      • entities
      • models
      • services
      • tinymce
      • utils
      • widgets
    • schools
      • controllers
      • tinymce
      • widgets
    • users
      • abstracts
      • admin
        • controllers
        • models
      • controllers
      • core
        • abstracts
      • entities
      • models
      • utils
  • None
  • REL
    • controllers
    • Models
    • Taxonomies
    • Utils
      • Convert
    • widgets

Classes

  • mcePluginFactory
  • WidgetTrioFactory

Class WidgetTrioFactory

Namespace: hji\common\factories
Located at common/factories/WidgetTrioFactory.php

Methods summary

public
# __construct( $widgetClass )
public
# setShortcodeName( $name )
public
# setIconUrl( $iconUrl )
public
# setHeight( $height )
public
# setWidth( $width )
public
# create( )
public mixed
# getWidgetInstance( )

Returns widget object prior-registered with WP This allows us to avoid instantiation of the widget class multiple times, which can be pretty resource-heavy depending on implementation

Returns widget object prior-registered with WP This allows us to avoid instantiation of the widget class multiple times, which can be pretty resource-heavy depending on implementation

Returns

mixed
public
# registerOthers( )

Registers Shortcode and TinyMCE Plugin with WP

Registers Shortcode and TinyMCE Plugin with WP

public
# registerWidget( )

Registers widget with WordPress

Registers widget with WordPress

protected
# _registerShortcode( )

Registers shortcode with WordPress

Registers shortcode with WordPress

protected
# _registerMcePlugin( )
protected hji\common\models\mcePluginModel
# _createMcePluginModel( $widget, $shortcode )

Creates and modifies McePlugin Model for our Widget

Creates and modifies McePlugin Model for our Widget

Parameters

$widget
$shortcode

Returns

hji\common\models\mcePluginModel
public mixed
# getMceFormView( )

Returns widget view to be used in MCE Plugin

Returns widget view to be used in MCE Plugin

Returns

mixed

Properties summary

protected $widgetClass

Widget's Class name with fully qualified namespace

Widget's Class name with fully qualified namespace

#
public $widget

Widget Object

Widget Object

#
public $shortcode

Shortcode objcet

Shortcode objcet

#
public $mcePluginModel

TinyMCE Plugin Model

TinyMCE Plugin Model

#
protected null $shortcodeName

Shortcode name

Shortcode name

# null
protected null $iconUrl

TinyMCE Plugin Button Icon

TinyMCE Plugin Button Icon

# null
protected $height

Dimensions of the TinyMCE dialog window.

Dimensions of the TinyMCE dialog window.

#
protected $width
#
HJI WP Membership Code Reference API documentation generated by ApiGen