Config_Container::createDirective (Previous) (Next) Config_Container::createSection

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

Config_Container::createItem()

Config_Container::createItem() -- セクション項目に新しい子を作成する

説明

このメソッドはセクションに対してコールしなければならず、 作成される項目の型は任意です。これは、新しい子を現在の項目に追加します。 位置を指定した場合は、その場所に子が作成されます。 このメソッドを直接コールするのではなく、ヘルパメソッドを使用することを推奨します。

パラメータ

string $type

項目の型。directivesectioncommentblank...

mixed $item

項目名。

string $content

項目の内容。

array $attributes

項目の属性。

string $where

場所を選択します。'bottom''top''after''before'

object $target

'before' あるいは 'after'$where で選んだ場合に必要です。

返り値

新しい項目への参照を返します。

注意

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

Config_Container::createDirective (Previous) (Next) Config_Container::createSection

Download Documentation Last updated: Sun, 05 Oct 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.