Make WordPress Core


Ignore:
Timestamp:
11/28/2014 12:33:16 PM (10 years ago)
Author:
DrewAPicture
Message:

4.1 Docs Audit: Improve inline documentation for various wpdb methods.

#30469.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r30587 r30624  
    19651965
    19661966    /**
    1967      * Adds field charsets to field/value/format arrays
    1968      * generated by the process_field_formats() method.
     1967     * Adds field charsets to field/value/format arrays generated by
     1968     * the {@see wpdb::process_field_formats()} method.
    19691969     *
    19701970     * @since 4.1.0
    19711971     * @access protected
    19721972     *
    1973      * @param array  $data  As it comes from the process_field_formats() method.
     1973     * @param array  $data  As it comes from the {@see wpdb::process_field_formats()} method.
    19741974     * @param string $table Table name.
    19751975     * @return The same array as $data with additional 'charset' keys.
     
    21622162     *
    21632163     * @param string $table Table name.
    2164      * @return string|WP_Error Table character set, `WP_Error` object if it couldn't be found.
     2164     * @return string|WP_Error Table character set, {@see WP_Error} object if it couldn't be found.
    21652165     */
    21662166    protected function get_table_charset( $table ) {
     
    22552255     * @param string $table  Table name.
    22562256     * @param string $column Column name.
    2257      * @return mixed Column character set as a string.
    2258      *               False if the column has no character set.
    2259      *               `WP_Error` object if there was an error.
     2257     * @return mixed Column character set as a string. False if the column has no
     2258     *               character set. {@see WP_Error} object if there was an error.
    22602259     */
    22612260    protected function get_col_charset( $table, $column ) {
     
    23482347     *                        each value. This works as a passthrough: any additional keys
    23492348     *                        such as 'field' are retained in each value array. If we cannot
    2350      *                        remove invalid characters, a `WP_Error` object is returned.
     2349     *                        remove invalid characters, a {@see WP_Error} object is returned.
    23512350     */
    23522351    protected function strip_invalid_text( $data ) {
     
    24702469     *
    24712470     * @param string $query Query to convert.
    2472      * @return string|WP_Error The converted query, or a `WP_Error` object if the conversion fails.
     2471     * @return string|WP_Error The converted query, or a {@see WP_Error} object if the conversion fails.
    24732472     */
    24742473    protected function strip_invalid_text_from_query( $query ) {
Note: See TracChangeset for help on using the changeset viewer.