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

  • Shortcodes

Class Shortcodes

Namespace: hji\schools\controllers
Located at classes/controllers/Shortcodes.php

Methods summary

public
# __construct( $licenseKey )
public
# addShortcode( $id, $atts, $callback )
public
# renderShortcodeScripts( )
public
# loadScripts( )
public string
# getSchoolsShortcode( $atts )

Schools List Shortcode

Schools List Shortcode

Allows the plugin to embed an interactive Home Junction Schools List Widget.

The supported attributes are: city, county, state, zip, circle, box, street, pagesize (number of records per page).

circle - A bounding circle encompassing the maximum extents of the search. Requires Latitude:Longitude:Radius(miles): "39.241112:-84.412079:2";

box - bounding box with north, east, south, west coordinates;

Example 1: [schools circle="39.241112:-84.412079:2"]

Example 2: [schools city="La Jolla" state="CA"]

Parameters

$atts
of keys to values

Returns

string
public string
# getSchoolDetailsShortcode( $atts )

School Details Shortcode

School Details Shortcode

Displays school details in a view of a profile.

id - school ID;

Example: [school_details id="370472001826"]

Parameters

$atts
of keys to values

Returns

string
public string
# getSchoolDemographicsShortcode( $atts )

School Demographics Shortcode

School Demographics Shortcode

Displays school demographics chart.

id - school ID;

Example: [school_demographics id="370472001826"]

Parameters

$atts
of keys to values

Returns

string
public string
# getSchoolEnrollmentShortcode( $atts )

School Enrollment Shortcode

School Enrollment Shortcode

Displays student enrollment chart.

id - school ID;

Example: [school_enrollment id="370472001826"]

Parameters

$atts
of keys to values

Returns

string
public string
# getSchoolGenderShortcode( $atts )

School Gender Shortcode

School Gender Shortcode

Displays student gender chart.

Important: gender data is available for private schools only.

id - school ID;

Example: [school_gender id="370472001826"]

Parameters

$atts
of keys to values

Returns

string
public string
# getSchoolDistrictShortcode( $atts )

School District Shortcode

School District Shortcode

Displays school district information in a view of a profile.

circle - pair of latitude and longitude and radisu in miles

Example: [school_district circle="35.7913889:-78.7813889:2"]

Parameters

$atts
of keys to values

Returns

string
HJI WP Membership Code Reference API documentation generated by ApiGen