array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'recursivetreeiterator.setprefixpart.php', 1 => 'RecursiveTreeIterator::setPrefixPart', 2 => 'Set a part of the prefix', ), 'up' => array ( 0 => 'class.recursivetreeiterator.php', 1 => 'RecursiveTreeIterator', ), 'prev' => array ( 0 => 'recursivetreeiterator.setpostfix.php', 1 => 'RecursiveTreeIterator::setPostfix', ), 'next' => array ( 0 => 'recursivetreeiterator.valid.php', 1 => 'RecursiveTreeIterator::valid', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/recursivetreeiterator/setprefixpart.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

RecursiveTreeIterator::setPrefixPart

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

RecursiveTreeIterator::setPrefixPartSet a part of the prefix

说明

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

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

警告

本函数还未编写文档,仅有参数列表。

参数

part

One of the RecursiveTreeIterator::PREFIX_* constants.

value

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

返回值

没有返回值。