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

  • APIClient
  • CommonScripts
  • Dependency
  • DependencyResolver
  • Dispatcher
  • Downloads
  • GForms
  • ProductManager
  • ProductRegistrar
  • RegistryEntry
  • RequireJs
  • Settings
  • UpdateManager

Functions

  • __inject_plugin_table
  • __inject_theme_table

Class ProductRegistrar

Class ProductRegistrar

Namespace: hji\membership\controllers
Package: hji\membership\controllers
Since: 2.0
Located at classes/controllers/ProductRegistrar.php

Methods summary

public static
# getInstance( )
public
# register( $file, $type, null $callback = null )

Adds product object to the collection array

Adds product object to the collection array

Parameters

$file
absolute path to the product's main file
$type
product type (plugin, theme)
$callback
  • callback function for membership to initialize the product
public mixed
# getEntry( $file )

Retrieves registry entry by file

Retrieves registry entry by file

Parameters

$file

Returns

mixed
public
# getEntries( )
public
# deregister( $file )

Removes product object from the collection array

Removes product object from the collection array

Parameters

$file
public boolean
# isRegistered( $file )

Determines if product exists in the collection

Determines if product exists in the collection

Parameters

$file

Returns

boolean

Properties summary

protected static array $collection

Registered products collection

Registered products collection

# array()
HJI WP Membership Code Reference API documentation generated by ApiGen