WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKWordPressTheme Class Reference
Inheritance diagram for WPDKWordPressTheme:
WPDKObject

Public Member Functions

 __construct (WPDKWordPressPlugin $plugin=null)
 Construct. More...
 
 _body_class ($classes)
 Adding class in body tag. More...
 
 after_setup_theme ()
 WordPress action to setup theme. More...
 
 template_redirect ()
 WordPress action before theme is displayed. More...
 
 template_include ($template)
 WordPress filter before a template is loaded. More...
 
 wp ()
 WordPress action for start. More...
 
 wp_head ()
 WordPress action in head theme. More...
 
 wp_footer ()
 WordPress action for theme footer. More...
 
 wp_enqueue_scripts ()
 WordPress action for scripts and styles. More...
 
- Public Member Functions inherited from WPDKObject
 __className ()
 Returns the class object. More...
 
 __parentClass ()
 Returns the class object for the receiver’s superclass. More...
 
 __isClass ($class)
 Brief. More...
 
 __isSubclassOfClass ($class)
 Return TRUE if the receiving class is a subclass of —or identical to— $class, otherwise FALSE. More...
 

Data Fields

 $__version = '0.9.1'
 Version. More...
 
 $plugin
 Plugin pointer. More...
 
- Data Fields inherited from WPDKObject
 $__version = '1.0.0'
 The version number assigned to the class. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from WPDKObject
static __delta ($last_version, $old_version)
 Object delta compare for combine. More...
 
static delta ($last_version, $old_version)
 
static __dump ($var, $monitor=false)
 Dump a variable. More...
 

Detailed Description

Manage the frontend theme area

Overview

This class is used when the frontend is loaded. You can subclassing this class for get a lot of facilities when you have to manage the theme interactions.

Benefits

This class prepare for us some useful and common action/filter hook.

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2014-01-08
Version
0.9.1

Definition at line 20 of file wpdk-wordpress-theme.php.

Constructor & Destructor Documentation

__construct ( WPDKWordPressPlugin  $plugin = null)

Construct.

Create a WPDKWordPressTheme object instance

Parameters
WPDKWordPressPlugin$pluginOptional. Your main plugin instance
Returns
WPDKWordPressTheme

Definition at line 49 of file wpdk-wordpress-theme.php.

Member Function Documentation

_body_class (   $classes)

Adding class in body tag.

Called when WordPress makes the class attribute of body tag

Parameters
array$classesList of classes
Returns
array New list class

Definition at line 84 of file wpdk-wordpress-theme.php.

after_setup_theme ( )

WordPress action to setup theme.

Called by after_setup_theme action

Definition at line 102 of file wpdk-wordpress-theme.php.

template_include (   $template)

WordPress filter before a template is loaded.

Called by template_include filter. This filter is useful to change the defaul theme filename.

Parameters
string$templateThe URL of template
Returns
string A new URl template

Definition at line 126 of file wpdk-wordpress-theme.php.

template_redirect ( )

WordPress action before theme is displayed.

Called by template_redirect action. This action is called before the frontend theme is displayed.

Definition at line 112 of file wpdk-wordpress-theme.php.

wp ( )

WordPress action for start.

Called by wp action

Definition at line 137 of file wpdk-wordpress-theme.php.

wp_enqueue_scripts ( )

WordPress action for scripts and styles.

Called by wp_enqueue_scripts action. You will use this action to register (do a queue) scripts and styles.

Definition at line 169 of file wpdk-wordpress-theme.php.

wp_footer ( )

WordPress action for theme footer.

Called by wp_footer action. This action is called in the footer theme.

Definition at line 159 of file wpdk-wordpress-theme.php.

wp_head ( )

WordPress action in head theme.

Called by wp_head action. This action is called after the head section and before the body tag.

Definition at line 148 of file wpdk-wordpress-theme.php.

Field Documentation

string $__version = '0.9.1'

Version.

Override version

Definition at line 29 of file wpdk-wordpress-theme.php.

Plugin pointer.

Your main plugin instance

Definition at line 38 of file wpdk-wordpress-theme.php.


The documentation for this class was generated from the following file: