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

  • CustomerInfoSynchronizer

Class CustomerInfoSynchronizer

Namespace: hji\membership\includes
Located at classes/includes/CustomerInfoSynchronizer.php

Methods summary

public
# setNotices( hji\common\models\Notices $notices )
public
# setActionHooks( )
public
# autosyncCustomerInfo( )

Checks if customer info needs to be synced both ways

Checks if customer info needs to be synced both ways

Syncs customer data form API meta with Membership Settings Syncs customer images form theme options to Slipstream

public
# syncCustomerInfo( )

Pushes customer data saved in Settings to Slipstream

Pushes customer data saved in Settings to Slipstream

protected boolean
# synchronize( array $customer )

API call to sync customer data

API call to sync customer data

Parameters

$customer

Returns

boolean
protected
# prePopulateCustomerInfo( $settings )

Pre-populates settings model with customer info from API metadata

Pre-populates settings model with customer info from API metadata

Parameters

$settings
Settings Model
protected array
# prepareCustomerParams( $customer )

Prepares customer parameters for synchronization

Prepares customer parameters for synchronization

Flattens array into single level and assigns false to null values to unset them in Slipstream

Parameters

$customer

Returns

array
public boolean
# updateCustomerImages( )

Updates customer images settings with corresponding items in Theme Options.

Updates customer images settings with corresponding items in Theme Options.

Returns

boolean
true if images were set in settings, false otherwise.
protected string|null
# getThemeLogo( )

Returns customer logo URL form Theme Options

Returns customer logo URL form Theme Options

Returns

string|null
protected string|null
# getThemeHeadshot( )

Returns customer headshot URL form Theme Options

Returns customer headshot URL form Theme Options

Returns

string|null
protected array|null
# getThemeOptions( )

Returns Blvd Theme Options

Returns Blvd Theme Options

Returns

array|null

Properties summary

protected $notices
#
protected $themeOptions
# null
HJI WP Membership Code Reference API documentation generated by ApiGen