publishAnchorNodes(int $asParent, int $namingConvention, string $customName, string $nodes[], int $publish)
なし
変数名 | 変数型 | 説明 |
---|---|---|
$asParent | int | 1 の場合、親アンカーとして、それ以外の場合は子アンカーとしてパブリッシュされます。 |
$namingConvention | int | パブリッシュ名の選択方法です。説明を参照してください。 |
$customName | string | $namingConvention 1 と 2 のカスタム名です |
$nodes | string[] | パブリッシュするノードです。 |
$publish | int | パブリッシュする場合は true、パブリッシュしない場合 false です。 |
// publish the selected nodes as parent anchors, with the naming convention // of "parent_<nodeName>" publishAnchorNodes 1 1 "parent" `ls -sl` 1;