[ 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.

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

_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.

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

activityTypes()   X-Ref
No description

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

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

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

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

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

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

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

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

_getRequireWildcardCache(nodeInterop)   X-Ref
No description

_interopRequireWildcard(obj, nodeInterop)   X-Ref
No description

_interopRequireDefault(obj)   X-Ref
No description



Generated: Tue May 9 01:01:24 2023 Cross-referenced by PHPXref 0.7.1