getNumberOfChildNodes() публичный Метод

Returns the number of child nodes a similar getChildNodes() call would return.
public getNumberOfChildNodes ( string $nodeTypeFilter = null, Workspace $workspace, array $dimensions ) : integer
$nodeTypeFilter string If specified, only nodes with that node type are considered
$workspace Workspace
$dimensions array
Результат integer The number of child nodes
Пример #1
0
 /**
  * Returns the number of child nodes a similar getChildNodes() call would return.
  *
  * @param string $nodeTypeFilter If specified, only nodes with that node type are considered
  * @return integer The number of child nodes
  * @api
  */
 public function getNumberOfChildNodes($nodeTypeFilter = null)
 {
     return $this->nodeData->getNumberOfChildNodes($nodeTypeFilter, $this->context->getWorkspace(), $this->context->getDimensions());
 }