Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 18030 программистов и 1643 робота. Сейчас ищут 1382 программиста ...
Config_Container::countChildren
Вернуться к: Config_Container class
Config_Container::countChildren
Config_Container::countChildren() – Count children of container
Synopsis
require_once 'Config/Container.php';
int Config_Container::countChildren ( string $type = null , string $name = null )
This method will return the number of children this container has. If either $name or $type, it will affine its search just to return the number of children corresponding to these parameters.
Parameter
- string $type
-
Type of children to count.
- string $name
-
Name of children to count.
Return value
int - number of children found
Throws
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
Note
This function can not be called statically.
Вернуться к: Config_Container class