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

  • Alerts
  • GForms
  • JsVars
  • mcePluginModel
  • Notices
  • PluginJsVars

Class mcePluginModel

Namespace: hji\common\models
Located at common/models/mcePluginModel.php

Methods summary

public
# __construct( $handle, $name )
public
# setAction( $action )
public
# getAction( )
public
# setLongName( $longName )
public
# getHandle( )
public
# getName( )
public
# getLongName( )
public
# setIconUrl( $iconUrl )
public
# getIconUrl( )
public mixed
# getHeight( )

Returns

mixed
public
# setHeight( mixed $height )

Parameters

$height
public mixed
# getWidth( )

Returns

mixed
public
# setWidth( mixed $width )

Parameters

$width
public
# setShortcodeName( $shortcodeName )
public
# getShortcodeName( )
public
# exportObject( )
public
# setContent( $content )
public
# getContent( )
public
# setCallback( $callback )

Callback that will be called to return mcePlugin content. Since the model is created earlier in the process, we don't want it to do any heavy processing until the plugin's window is actually opened. This is when we'll trigger this callback.

Callback that will be called to return mcePlugin content. Since the model is created earlier in the process, we don't want it to do any heavy processing until the plugin's window is actually opened. This is when we'll trigger this callback.

Parameters

$callback

Properties summary

protected $handle

Plugin handle - name with no spaces or hyphens

Plugin handle - name with no spaces or hyphens

#
protected $name

Plugin name - user readable name

Plugin name - user readable name

#
protected $longName
#
protected string $action

Action string passed via ajax

Action string passed via ajax

#
protected null $iconUrl

Icon used for editor panel button

Icon used for editor panel button

#
protected integer $width
# 500
protected integer $height
# 300
protected $content

HTML content ready to be rendered

HTML content ready to be rendered

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