Changeset 28514 for trunk/src/wp-includes/post-template.php
- Timestamp:
- 05/19/2014 05:59:07 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r28498 r28514 1227 1227 * @var string 1228 1228 */ 1229 var$tree_type = 'page';1229 public $tree_type = 'page'; 1230 1230 1231 1231 /** … … 1235 1235 * @var array 1236 1236 */ 1237 var$db_fields = array ('parent' => 'post_parent', 'id' => 'ID');1237 public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 1238 1238 1239 1239 /** … … 1245 1245 * @param array $args 1246 1246 */ 1247 function start_lvl( &$output, $depth = 0, $args = array() ) {1247 public function start_lvl( &$output, $depth = 0, $args = array() ) { 1248 1248 $indent = str_repeat("\t", $depth); 1249 1249 $output .= "\n$indent<ul class='children'>\n"; … … 1258 1258 * @param array $args 1259 1259 */ 1260 function end_lvl( &$output, $depth = 0, $args = array() ) {1260 public function end_lvl( &$output, $depth = 0, $args = array() ) { 1261 1261 $indent = str_repeat("\t", $depth); 1262 1262 $output .= "$indent</ul>\n"; … … 1273 1273 * @param array $args 1274 1274 */ 1275 function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = 0 ) {1275 public function start_el( &$output, $page, $depth = 0, $args = array(), $current_page = 0 ) { 1276 1276 if ( $depth ) { 1277 1277 $indent = str_repeat( "\t", $depth ); … … 1354 1354 * @param array $args 1355 1355 */ 1356 function end_el( &$output, $page, $depth = 0, $args = array() ) {1356 public function end_el( &$output, $page, $depth = 0, $args = array() ) { 1357 1357 $output .= "</li>\n"; 1358 1358 } … … 1372 1372 * @var string 1373 1373 */ 1374 var$tree_type = 'page';1374 public $tree_type = 'page'; 1375 1375 1376 1376 /** … … 1380 1380 * @var array 1381 1381 */ 1382 var$db_fields = array ('parent' => 'post_parent', 'id' => 'ID');1382 public $db_fields = array ('parent' => 'post_parent', 'id' => 'ID'); 1383 1383 1384 1384 /** … … 1392 1392 * @param int $id 1393 1393 */ 1394 function start_el( &$output, $page, $depth = 0, $args = array(), $id = 0 ) {1394 public function start_el( &$output, $page, $depth = 0, $args = array(), $id = 0 ) { 1395 1395 $pad = str_repeat(' ', $depth * 3); 1396 1396
Note: See TracChangeset
for help on using the changeset viewer.