Config_Container::countChildren

Config_Container::countChildren() – コンテナの子供をカウントする

Synopsis

require_once 'Config/Container.php';

int Config_Container::countChildren ( string $type = = null , string $name = = null )

Description

このメソッドは、このコンテナが持っている子供の数を返します。 If either $name or $type, it will affine its search just to return the number of children corresponding to these parameters.

Parameter

string $type

カウントする子供の種類です。

string $name

カウントする子供の名前です。

Return value

int - 見つかった子供の個数です。

Throws

Possible PEAR_Error values
エラーコード エラー値 意味 解決
  "    

Note

This function can not be called statically.