Config_Container::removeItem (Previous) (Next) Config_Container::setAttributes

View this page in Last updated: Sun, 07 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Config_Container::searchPath()

Config_Container::searchPath() -- XPATH 風のフォーマットを使用してノードを探す

説明

このメソッドは、与えられたパスを使用して 現在のコンテナから項目を探します。

このメソッドは、型が 'section' であるオブジェクトに対してのみコール可能です。 ルートはセクション型であることに注意しましょう。 このメソッドは再帰的に働きます。

このメソッドは、必要な数のパラメータによって定義されるパスから項目を探します。 その書式は array (item1, item2, ..., itemN) となります。 配列の要素には文字列か配列が指定できます。文字列は項目の name として扱われ、 配列の場合は項目の 'name''attributes' の値として扱われます。

パラメータ

mixed $args

一致する項目を探す対象となる文字列あるいは配列。カンマ区切りで指定します。

返り値

見つかった項目への参照、あるいは見つからなかった場合に FALSE を返します。

注意

この関数は、スタティックにコールする ことはできません。

Config_Container::removeItem (Previous) (Next) Config_Container::setAttributes

Download Documentation Last updated: Sun, 07 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.