[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/js/ -> block-data.js (summary)

(no description)

File Size: 592 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 19 functions

  newRequire()
  localRequire()
  resolve()
  Module()
  getActiveComponents()
  fetchFromAPI()
  _interopRequireDefault()
  _getRequireWildcardCache()
  _interopRequireWildcard()
  _interopRequireDefault()
  isActive()
  activityTypes()
  loggedInUser()
  postAuhor()
  currentPostId()
  getCurrentWidgetsSidebar()
  _getRequireWildcardCache()
  _interopRequireWildcard()
  _interopRequireDefault()

Functions
Functions that are not part of a class:

newRequire(name, jumped)   X-Ref
No description

localRequire(x)   X-Ref
No description

resolve(x)   X-Ref
No description

Module(moduleName)   X-Ref
No description

getActiveComponents(list)   X-Ref
Returns the list of active components.

return: {Object} Object for action.

fetchFromAPI(path, parse)   X-Ref
Returns an action object used to fetch something from the API.

return: {Object} Object for action.
param: {string} path Endpoint path.
param: {boolean} parse Should we parse the request.

_interopRequireDefault(obj)   X-Ref
No description

_getRequireWildcardCache(nodeInterop)   X-Ref
No description

_interopRequireWildcard(obj, nodeInterop)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description

isActive(component, feature = '')   X-Ref
Checks whether a component or the feature of an active component is enabled.

return: {boolean} Whether a component or the feature of an active component is enabled.
param: {string} component (required) The component to check.
param: {string} feature (optional) The feature to check.
since: 9.0.0

activityTypes()   X-Ref
No description

loggedInUser()   X-Ref
Returns the logged in user object.

return: {Object} The logged in user object.
since: 9.0.0

postAuhor()   X-Ref
Returns the post author user object.

return: {Object} The post author user object.
since: 9.0.0

currentPostId()   X-Ref
Returns the current post ID.

return: {integer} The current post ID.
since: 9.0.0

getCurrentWidgetsSidebar(widgetClientId = '')   X-Ref
Get the current sidebar of a Widget Block.

return: {object} An object containing the sidebar Id.
param: {string} widgetClientId clientId of the sidebar widget.
since: 9.0.0

_getRequireWildcardCache(nodeInterop)   X-Ref
No description

_interopRequireWildcard(obj, nodeInterop)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description



Generated: Mon Jun 27 01:00:52 2022 Cross-referenced by PHPXref 0.7.1