在线文档教程
PHP
SPL/Iterators

RecursiveTreeIterator::setPrefixPart

RecursiveTreeIterator::setPrefixPart

(PHP 5 >= 5.3.0, PHP 7)

RecursiveTreeIterator::setPrefixPart — Set a part of the prefix

Description

public void RecursiveTreeIterator::setPrefixPart ( int $part , string $value )

Sets a part of the prefix used in the graphic tree.

Warning

This function is currently not documented; only its argument list is available.

Parameters

part

One of the RecursiveTreeIterator::PREFIX_* constants.

value

The value to assign to the part of the prefix specified in part.

Return Values

No value is returned.

← RecursiveTreeIterator::rewind

RecursiveTreeIterator::valid →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/recursivetreeiterator.setprefixpart.php