Changeset 25641
- Timestamp:
- 09/28/2013 06:01:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r25310 r25641 764 764 class Walker_Category extends Walker { 765 765 /** 766 * What the class handles. 767 * 766 768 * @see Walker::$tree_type 767 769 * @since 2.1.0 … … 771 773 772 774 /** 775 * Database fields to use. 776 * 773 777 * @see Walker::$db_fields 774 778 * @since 2.1.0 … … 779 783 780 784 /** 785 * Starts the list before the elements are added. 786 * 781 787 * @see Walker::start_lvl() 788 * 782 789 * @since 2.1.0 783 790 * 784 791 * @param string $output Passed by reference. Used to append additional content. 785 * @param int $depth Depth of category. Used for tab indentation. 786 * @param array $args Will only append content if style argument value is 'list'. 792 * @param int $depth Depth of category. Used for tab indentation. 793 * @param array $args An array of arguments. Will only append content if style argument value is 'list'. 794 * @see wp_list_categories() 787 795 */ 788 796 function start_lvl( &$output, $depth = 0, $args = array() ) { … … 795 803 796 804 /** 805 * Ends the list of after the elements are added. 806 * 797 807 * @see Walker::end_lvl() 808 * 798 809 * @since 2.1.0 799 810 * 800 811 * @param string $output Passed by reference. Used to append additional content. 801 * @param int $depth Depth of category. Used for tab indentation. 802 * @param array $args Will only append content if style argument value is 'list'. 812 * @param int $depth Depth of category. Used for tab indentation. 813 * @param array $args An array of arguments. Will only append content if style argument value is 'list'. 814 * @wsee wp_list_categories() 803 815 */ 804 816 function end_lvl( &$output, $depth = 0, $args = array() ) { … … 811 823 812 824 /** 825 * Start the element output. 826 * 813 827 * @see Walker::start_el() 828 * 814 829 * @since 2.1.0 815 830 * 816 * @param string $output Passed by reference. Used to append additional content.831 * @param string $output Passed by reference. Used to append additional content. 817 832 * @param object $category Category data object. 818 * @param int $depth Depth of category in reference to parents. 819 * @param array $args 833 * @param int $depth Depth of category in reference to parents. Default 0. 834 * @param array $args An array of arguments. @see wp_list_categories() 835 * @param int $id ID of the current category. 820 836 */ 821 837 function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { … … 883 899 884 900 /** 901 * Ends the element output, if needed. 902 * 885 903 * @see Walker::end_el() 904 * 886 905 * @since 2.1.0 887 906 * 888 907 * @param string $output Passed by reference. Used to append additional content. 889 * @param object $page Not used.890 * @param int $depthDepth of category. Not used.891 * @param array $args Only uses 'list' for whether should append to output.908 * @param object $page Not used. 909 * @param int $depth Depth of category. Not used. 910 * @param array $args An array of arguments. Only uses 'list' for whether should append to output. @see wp_list_categories() 892 911 */ 893 912 function end_el( &$output, $page, $depth = 0, $args = array() ) { … … 924 943 925 944 /** 945 * Start the element output. 946 * 926 947 * @see Walker::start_el() 927 948 * @since 2.1.0 928 949 * 929 * @param string $output Passed by reference. Used to append additional content.950 * @param string $output Passed by reference. Used to append additional content. 930 951 * @param object $category Category data object. 931 * @param int $depthDepth of category. Used for padding.932 * @param array $args Uses 'selected' and 'show_count' keys, if they exist.952 * @param int $depth Depth of category. Used for padding. 953 * @param array $args Uses 'selected' and 'show_count' keys, if they exist. @see wp_dropdown_categories() 933 954 */ 934 955 function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.