[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/classes/ -> class-bp-core-bp-options-nav-backcompat.php (summary)

Backward compatibility for the $bp->bp_options_nav global.

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

Defines 1 class

BP_Core_BP_Options_Nav_BackCompat:: (5 methods):
  offsetGet()
  offsetUnset()
  get_parent_slug()
  set_parent_slug()
  get_nav()


Class: BP_Core_BP_Options_Nav_BackCompat  - X-Ref

bp_options_nav backward compatibility class.

This class is used to provide backward compatibility for extensions that access and modify
the $bp->bp_options_nav global.

offsetGet( $offset )   X-Ref
Get a value of the nav array at the specified offset.

return: BP_Core_BP_Nav_BackCompat
param: mixed $offset Array offset.
since: 2.6.0

offsetUnset( $offset )   X-Ref
Unset a nav array value at the specified offset.

param: mixed $offset Array offset.
since: 2.6.0

get_parent_slug()   X-Ref
Get the parent slug of the current nav item.

return: string
since: 2.6.0

set_parent_slug( $slug )   X-Ref
Set the parent slug of the current nav item.

since: 2.6.0

get_nav( $offset )   X-Ref
Get the nav object corresponding to the specified offset.

return: bool|array
param: mixed $offset Array offset.
since: 2.6.0



Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1