[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
BuddyPress Core Theme Compatibility Base Class.
File Size: | 132 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_Theme_Compat:: (7 methods):
__construct()
start()
setup_globals()
setup_actions()
__set()
__get()
__isset()
Class: BP_Theme_Compat - X-Ref
Theme Compatibility base class.__construct( Array $properties = array() X-Ref |
Pass the $properties to the object on creation. param: array $properties Array of properties for BP_Theme_Compat. since: 1.7.0 |
start() X-Ref |
Set up the BuddyPress-specific theme compat methods. Themes should use this method in their constructor. since: 1.7.0 |
setup_globals() X-Ref |
Set up global data for your template package. Meant to be overridden in your class. See {@link BP_Legacy::setup_globals()} for an example. since: 1.7.0 |
setup_actions() X-Ref |
Set up theme hooks for your template package. Meant to be overridden in your class. See {@link BP_Legacy::setup_actions()} for an example. since: 1.7.0 |
__set( $property, $value ) X-Ref |
Set a theme's property. return: bool True on success, false on failure. param: string $property Property name. param: mixed $value Property value. since: 1.7.0 |
__get( $property ) X-Ref |
Get a theme's property. return: mixed The value of the property if it exists, otherwise an param: string $property Property name. since: 1.7.0 |
__isset( $property ) X-Ref |
Check a theme's property exists. return: bool True if the property exists. False otherwise. param: string $property Property name. since: 9.0.0 |
Generated: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |