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

  • Component
  • Controller
  • DataModel
  • DataObjectPostView
  • Model
  • Paths
  • PostModel
  • WebService
  • Widget

Class Paths

Class Paths - SINGLETON

USAGE:

Invoke the class as a singleton via dependency injector: $paths = $this->di()->get('hji\common\utils\Paths'); $paths->setPath('folder', 'path/to/handle/folder); $folderPath = $paths->getPath('folder); $folderUrl = $paths->getUrl('folder);

To use in other plugins, simply extend the class and pass $pathDirPath to the current plugin. Invoke as indicated above.

EXTENSION EXAMPLE: class Paths extends \hji\common\utils\Paths { function __construct($pluginFile) { parent::__construct($pluginFile); } }

hji\membership\services\DependencyInjector
Extended by hji\membership\abstracts\Component
Extended by hji\membership\extension\abstracts\Component implements hji\membership\extension\interfaces\ExtensionInterface
Extended by hji\common\utils\Paths
Extended by hji\construction\core\Paths
Namespace: hji\construction\core
Package: hji\common\utils
Since: 2.2.2
Located at Core/Paths.php

Methods summary

public
# __construct( $pluginFile )

Absolute path to the plugin's file.

Absolute path to the plugin's file.

Parameters

$pluginFile

Overrides

hji\common\utils\Paths::__construct

Methods inherited from hji\common\utils\Paths

getPath(), getSlug(), getUrl(), setPath()

Methods inherited from hji\membership\extension\abstracts\Component

getMembershipServices(), getProjectRoute(), getServices(), membershipServices(), services()

Methods inherited from hji\membership\abstracts\Component

getServiceContainer()

Methods inherited from hji\membership\services\DependencyInjector

di()

HJI WP Membership Code Reference API documentation generated by ApiGen