Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/25/2011 06:40:41 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Rename remaining functions prefixed with an underscore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-forums.php

    r3343 r3376  
    3131
    3232    /**
    33      * The main bbPress forums admin loader (PHP4 compat)
     33     * The main bbPress forums admin loader
    3434     *
    3535     * @since bbPress (r2515)
    3636     *
    37      * @uses BBP_Forums_Admin::_setup_globals() Setup the globals needed
    38      * @uses BBP_Forums_Admin::_setup_actions() Setup the hooks and actions
    39      */
    40     function BBP_Forums_Admin() {
    41         $this->__construct();
    42     }
    43 
    44     /**
    45      * The main bbPress forums admin loader
    46      *
    47      * @since bbPress (r2515)
    48      *
    49      * @uses BBP_Forums_Admin::_setup_globals() Setup the globals needed
    50      * @uses BBP_Forums_Admin::_setup_actions() Setup the hooks and actions
     37     * @uses BBP_Forums_Admin::setup_globals() Setup the globals needed
     38     * @uses BBP_Forums_Admin::setup_actions() Setup the hooks and actions
     39     * @uses BBP_Forums_Admin::setup_help() Setup the help text
    5140     */
    5241    function __construct() {
    53         $this->_setup_globals();
    54         $this->_setup_actions();
    55         $this->_setup_help();
     42        $this->setup_globals();
     43        $this->setup_actions();
     44        $this->setup_help();
    5645    }
    5746
     
    6857     * @uses bbp_get_reply_post_type() To get the reply post type
    6958     */
    70     function _setup_actions() {
     59    function setup_actions() {
    7160
    7261        // Add some general styling to the admin area
     
    9483     * @access private
    9584     */
    96     function _setup_globals() {
     85    function setup_globals() {
    9786
    9887        // Setup the post type for this admin component
     
    10695     * @access private
    10796     */
    108     function _setup_help() {
     97    function setup_help() {
    10998
    11099        // Define local variable(s)
Note: See TracChangeset for help on using the changeset viewer.