Config_Container::countChildren() – Count children of container


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.


string $type

Type of children to count.

string $name

Name of children to count.

Return value

int - number of children found


Possible PEAR_Error values
Error code Error value Meaning Solution


This function can not be called statically.

Add item to this item. (Previous) Add blank line to item (Next)
Last updated: Fri, 22 Jun 2018 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.