Plugin Directory

Changeset 194373


Ignore:
Timestamp:
01/16/2010 04:30:07 AM (16 years ago)
Author:
silasco
Message:

No more underscore for private methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-pear-debug/trunk/wp-pear-debug.php

    r194372 r194373  
    180180        //This method should gather most if not all the query info
    181181        //Use define('SAVEQUERIES',true); in wp-config.php for best results
    182         self::_processQueries();
     182        self::processQueries();
    183183        //Render debug information
    184184        self::get()->display();
     
    197197   
    198198    //add all available query data to debug
    199     private static function _processQueries()
     199    private static function processQueries()
    200200    {
    201201        foreach(self::getDB()->queries as $query)
     
    206206   
    207207    //May have to test for array result but doubtful
    208     public static function queryCaller($callers)
     208    private static function queryCaller($callers)
    209209    {
    210210        $aCallers = explode(',',$callers);
     
    213213   
    214214    //Database data in millionseconds. Change to seconds before output to user.
    215     public static function toSeconds($milli)
     215    private static function toSeconds($milli)
    216216    {
    217217        return $milli * 1000;
     
    221221    //This call provides a standard access method for the database
    222222    //May be a long way away but we might see the end of global wpdb
    223     public static function getDB()
     223    private static function getDB()
    224224    {
    225225        global $wpdb;
Note: See TracChangeset for help on using the changeset viewer.