Make WordPress Core

Changeset 14634


Ignore:
Timestamp:
05/14/2010 03:47:14 PM (15 years ago)
Author:
westi
Message:

Add phpDoc for convert_to_screen() and get_column_headers().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r14614 r14634  
    665665
    666666/**
    667  * {@internal Missing Short Description}}
     667 * Get the column headers for a screen
    668668 *
    669669 * @since unknown
    670670 *
    671  * @param unknown_type $screen
    672  * @return unknown
     671 * @param string|object $screen The screen you want the headers for
     672 * @return array Containing the headers in the format id => UI String
    673673 */
    674674function get_column_headers($screen) {
     
    35463546}
    35473547
    3548 // Convert a screen string to a screen object
     3548/**
     3549 * Convert a screen string to a screen object
     3550 *
     3551 * @param string $screen The name of the screen
     3552 * @return object An object containing the safe screen name and id
     3553 */
    35493554function convert_to_screen( $screen ) {
    35503555    $screen = str_replace('.php', '', $screen);
Note: See TracChangeset for help on using the changeset viewer.